LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-18-2008, 12:57 AM   #1
ajeetraina
Member
 
Registered: Jun 2007
Location: India
Distribution: Ubuntu,Red Hat, Fedora
Posts: 292

Rep: Reputation: 30
Solaris 10 for Fedora DS Client Setup???


I am facing an issue during the Solaris 10 Client Setup for Fedora DS.I am gone through the link http://web.singnet.com.sg/~garyttt/Configuring%20Solaris%20Native%20LDAP%20Client%20for%20Fedora%20Directory%20Server.htm

When I ran the script same as solaris 9 (I coulnt get patches for solaris 10 Client setup) the output it shows :

-------------------------------------------------------------


# ./ldapclient_init_defaultprofile_sol10.sh
Parsing profileName=default
Parsing domainName=im.logica.com
Parsing proxyDn=cn=proxyagent,ou=profile,dc=im,dc=logica,dc=com
Parsing proxyPassword=password
Arguments parsed:
domainName: im.logica.com
proxyDN: cn=proxyagent,ou=profile,dc=im,dc=logica,dc=com
profileName: default
proxyPassword: password
defaultServerList: 10.14.236.169
Handling init option
About to configure machine by downloading a profile
findBaseDN: begins
findBaseDN: ldap not running
findBaseDN: calling __ns_ldap_default_config()
found 2 namingcontexts
findBaseDN: __ns_ldap_list(NULL, "(&(objectclass=nisDomainObject)(nisdomain=im.logica.com))"
rootDN[0] dc=im,dc=logica,dc=com
found baseDN dc=im,dc=logica,dc=com for domain im.logica.com
Proxy DN: cn=proxyagent,ou=profile,dc=im,dc=logica,dc=com
Proxy password: {NS1}ecfa88f3a945c411
Credential level: 1
Authentication method: 1
About to modify this machines configuration by writing the files
Stopping network services
sendmail not running
nscd not running
autofs not running
ldap not running
nisd not running
nis(yp) not running
file_backup: stat(/etc/nsswitch.conf)=0
file_backup: (/etc/nsswitch.conf -> /var/ldap/restore/nsswitch.conf)
file_backup: stat(/etc/defaultdomain)=0
file_backup: (/etc/defaultdomain -> /var/ldap/restore/defaultdomain)
file_backup: stat(/var/nis/NIS_COLD_START)=-1
file_backup: No /var/nis/NIS_COLD_START file.
file_backup: nis domain is "im.logica.com"
file_backup: stat(/var/yp/binding/im.logica.com)=-1
file_backup: No /var/yp/binding/im.logica.com directory.
file_backup: stat(/var/ldap/ldap_client_file)=-1
file_backup: No /var/ldap/ldap_client_file file.
Starting network services
start: /usr/bin/domainname im.logica.com... success
start: sleep 100000 microseconds
start: sleep 200000 microseconds
start: sleep 400000 microseconds
start: sleep 800000 microseconds
start: sleep 1600000 microseconds
start: sleep 3200000 microseconds
start: sleep 6400000 microseconds
start: sleep 12800000 microseconds
start: sleep 25600000 microseconds
start: sleep 51200000 microseconds
start: sleep 17700000 microseconds
start: network/ldap/client:default... timed out
start: network/ldap/client:default... offline to disablestop: sleep 100000 microseconds
stop: sleep 200000 microseconds
stop: sleep 400000 microseconds
stop: sleep 800000 microseconds
stop: network/ldap/client:default... success
restart: sleep 100000 microseconds
restart: sleep 200000 microseconds
restart: milestone/name-services:default... success
Error resetting system.
Recovering old system settings.
Stopping network services
sendmail not running
nscd not running
autofs not running
ldap not running
nisd not running
nis(yp) not running
recover: stat(/var/ldap/restore/defaultdomain)=0
recover: open(/var/ldap/restore/defaultdomain)
recover: read(/var/ldap/restore/defaultdomain)
recover: old domainname "im.logica.com"
recover: stat(/var/ldap/restore/ldap_client_file)=-1
recover: stat(/var/ldap/restore/ldap_client_cred)=-1
recover: stat(/var/ldap/restore/NIS_COLD_START)=-1
recover: stat(/var/ldap/restore/im.logica.com)=-1
recover: stat(/var/ldap/restore/nsswitch.conf)=0
recover: file_move(/var/ldap/restore/nsswitch.conf, /etc/nsswitch.conf)=0
recover: stat(/var/ldap/restore/defaultdomain)=0
recover: file_move(/var/ldap/restore/defaultdomain, /etc/defaultdomain)=0
Starting network services
start: /usr/bin/domainname im.logica.com... success
restart: sleep 100000 microseconds
restart: sleep 200000 microseconds
restart: milestone/name-services:default... success

------------------------------------------------

the red colored line shows that it is unable to create /var/ldap/ldap_client_file and ldap_client_cred file due to which I am not unable to make the command run :

# ldaplist -l passwd
ldaplist: LDAP configuration problem (Unable to load configuration '/var/ldap/ldap_client_file' ('').)

But to my surprise the output on the server is getting displayed as :
-----------------------

[18/Jan/2008:12:26:10 +051800] conn=386 fd=66 slot=66 connection from 10.14.0.46 to 10.14.236.169
[18/Jan/2008:12:26:10 +051800] conn=386 op=0 SRCH base="" scope=0 filter="(objectClass=*)" attrs="namingContexts"
[18/Jan/2008:12:26:10 +051800] conn=386 op=0 RESULT err=0 tag=101 nentries=1 etime=0
[18/Jan/2008:12:26:10 +051800] conn=386 op=1 UNBIND
[18/Jan/2008:12:26:10 +051800] conn=386 op=1 fd=66 closed - U1
[18/Jan/2008:12:26:10 +051800] conn=387 fd=67 slot=67 connection from 10.14.0.46 to 10.14.236.169
[18/Jan/2008:12:26:10 +051800] conn=387 op=0 SRCH base="dc=im,dc=logica,dc=com" scope=2 filter="(&(objectClass=nisDomainObject)(nisDomain=im.logica.com))" attrs=ALL
[18/Jan/2008:12:26:10 +051800] conn=387 op=0 RESULT err=0 tag=101 nentries=1 etime=0
[18/Jan/2008:12:26:10 +051800] conn=387 op=1 UNBIND
[18/Jan/2008:12:26:10 +051800] conn=387 op=1 fd=67 closed - U1
[18/Jan/2008:12:26:10 +051800] conn=388 fd=66 slot=66 connection from 10.14.0.46 to 10.14.236.169
[18/Jan/2008:12:26:10 +051800] conn=388 op=0 SRCH base="ou=profile,dc=im,dc=logica,dc=com" scope=2 filter="(&(|(objectClass=SolarisNamingProfile)(objectClass=DUAConfigProfile))(cn=default))" attrs=ALL
[18/Jan/2008:12:26:10 +051800] conn=388 op=0 RESULT err=0 tag=101 nentries=1 etime=0
[18/Jan/2008:12:26:10 +051800] conn=388 op=1 UNBIND
[18/Jan/2008:12:26:10 +051800] conn=388 op=1 fd=66 closed - U1
-----------------------------------------------------------

It says Ok as nentries=1.
Totally confused...I guess is this patch problem.....



Pls Help
Solaris System Is Really Sick!!!!!!!!!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Issue during the Fedora DS Client Setup ???? ajeetraina Linux - Server 0 09-26-2007 01:16 AM
How to setup a solaris NIS client while with a Linux NIS server? ntcm Linux - Security 2 03-31-2004 12:43 PM
How to setup a solaris NIS client while with a Linux NIS server? ntcm Linux - Networking 1 03-31-2004 07:51 AM
How to setup a Solaris NIS client while with a Linux NIS server? ntcm Solaris / OpenSolaris 1 03-31-2004 06:10 AM
How to setup a Solaris NIS client while with a Linux NIS server? ntcm Linux - General 1 03-31-2004 06:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration