Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Solaris 10 ldapclient unable to communicate with Fedora Directory Server

807557May 24 2010
I am trying to get our first Solaris 10 x86 virtual machine setup on vmware and have spent two days trying to get it to talk to our existing Fedora Directory Server. I followed the howto on the site, followed a bunch of posts, but am not sure what is wrong and hope someone out there can help.

If I use ldapsearch from the solaris client it is able to connect to the ldap server and retrieve all objects in the directory without an issue.

I tried using ldapclient init, and that throws an error that it can't find the defaultSearchBase.
bash-3.00# ldapclient -v init dir
Arguments parsed:
        defaultServerList: dir
Handling init option
About to configure machine by downloading a profile
No profile specified. Using "default"
findBaseDN: begins
findBaseDN: ldap not running
findBaseDN: calling __ns_ldap_default_config()
__ns_ldap_list return NULL resultp
findBaseDN: Err exit
Failed to find defaultSearchBase for domain dc=example.com
I tried to manually configure it as well, and it times out trying to conenct to the server.
Parsing authenticationMethod=simple
Parsing defaultSearchBase=dc=example,dc=com
Parsing proxyDN=uid=sldap,ou=profile,dc=example,dc=com
Parsing proxyPassword=password
Arguments parsed:
        authenticationMethod: simple
        defaultSearchBase: dc=example,dc=com
        proxyDN: uid=sldap,ou=profile,dc=example,dc=com
        proxyPassword: password
        defaultServerList: 192.168.11.7
Handling manual option
Proxy DN: uid=sldap,ou=profile,dc=example,dc=com
Proxy password: {NS1}ecfa88f3a945c411
Authentication method: 1
No proxyDN/proxyPassword required
Shadow Update is not enabled, no adminDN/adminPassword is required.
About to modify this machines configuration by writing the files
Stopping network services
sendmail not running
Stopping nscd
stop: sleep 100000 microseconds
stop: sleep 200000 microseconds
stop: system/name-service-cache:default... success
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 "example.com"
file_backup: stat(/var/yp/binding/example.com)=-1
file_backup: No /var/yp/binding/example.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 example.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 disable
stop: sleep 100000 microseconds
stop: sleep 200000 microseconds
stop: sleep 400000 microseconds
stop: sleep 800000 microseconds
stop: network/ldap/client:default... success
start: sleep 100000 microseconds
start: system/name-service-cache:default... success
restart: sleep 100000 microseconds
restart: milestone/name-services:default... success
Error resetting system.
Recovering old system settings.
Stopping network services
sendmail not running
Stopping nscd
stop: sleep 100000 microseconds
stop: sleep 200000 microseconds
stop: system/name-service-cache:default... success
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 "example.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/example.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 example.com... success
start: sleep 100000 microseconds
start: system/name-service-cache:default... success
restart: sleep 100000 microseconds
restart: milestone/name-services:default... success
While it is attempting to run ldapclient, I am seeing the following in the FDS access log file:
[24/May/2010:15:54:41 -0500] conn=434 fd=67 slot=67 connection from 192.168.11.75 to 192.168.11.7
[24/May/2010:15:54:41 -0500] conn=434 op=0 SRCH base="" scope=0 filter="(objectClass=*)" attrs="supportedControl supportedSASLMechanisms"
[24/May/2010:15:54:41 -0500] conn=434 op=0 RESULT err=0 tag=101 nentries=0 etime=0
[24/May/2010:15:54:41 -0500] conn=434 op=1 UNBIND
[24/May/2010:15:54:41 -0500] conn=434 op=1 fd=67 closed - U1
I then tried to manually create the files in /var/ldap and restarting ldap.client and nscd, but that doesn't work either. The network/ldap/client:default.log contains:
[ May 24 15:20:09 Executing start method ("/lib/svc/method/ldap-client start") ]
[ May 24 15:22:09 Method or service exit timed out.  Killing contract 87 ]
[ May 24 15:22:09 Method "start" failed due to signal KILL ]
[ May 24 15:22:09 Leaving maintenance because disable requested. ]
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 21 2010
Added on May 24 2010
0 comments
682 views