[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RH9.0 Autofs not working with openldap 2.1.16
Hi,
Does anybody have autofs working with openldap 2.1.16 on Red hat client
machines. The sympton is the same on both RH8 and RH9
If I run slapd on a RH9 machines using redhats rpm
openldap-servers-2.0.27-8 then autofs works fine and the status is
reported as:
----------------------------------------------------------------
[root@mathpc53 root]# /etc/init.d/autofs status
Configured Mount Points:
------------------------
/usr/sbin/automount /home ldap
mathpc53.math.gatech.edu:ou=auto.home,dc=math,dc=gatech,dc=edu
Active Mount Points:
--------------------
/usr/sbin/automount /home ldap
mathpc53.math.gatech.edu:ou=auto.home,dc=math,dc=gatech,dc=edu
[root@mathpc53 root]# su - dijuremo
mathpc53:/home/dijuremo %
---------------------------------------------------------------
If I try with the same client pointing to my solaris 9 server then:
---------------------------------------------------------------
Configured Mount Points:
------------------------
/usr/sbin/automount /home ldap
ldap.math.gatech.edu:ou=auto.home,dc=math,dc=gatech,dc=edu
Active Mount Points:
--------------------
--------------------------------------------------------------
Notice there are no Active mount points.
The debug information on the Solaris 9 server says:
conn=1 fd=12 ACCEPT from IP=199.77.200.53:33984 (IP=0.0.0.0:389)
conn=1 op=0 BIND dn="ou=auto.home,dc=math,dc=gatech,dc=edu" method=128
conn=1 op=0 RESULT tag=97 err=53 text=unauthenticated bind (DN with no
password) disallowed
So I add the line: allow bind_anon_cred to slapd.conf and then I tried
starting autofs again:
conn=2 fd=12 ACCEPT from IP=199.77.200.53:34002 (IP=0.0.0.0:389)
conn=2 op=0 BIND dn="ou=auto.home,dc=math,dc=gatech,dc=edu" method=128
conn=2 op=0 RESULT tag=97 err=2 text=requested protocol version not
allowed
conn=2 fd=12 closed
This time I get protocol version not allowed, but my slapd has a line to
allow it: allow bind_v2
Do I need to compile openldap using the "--enable-slp" option for autofs
to work?
Any other suggestions?
Below is the debugging info of the linux and solaris slapd daemons.
Thanks for any help you can give me.
Diego
This is the output of slapd -d 256 on RH9:
--------------------------------------------------------------
[root@mathpc53 root]# slapd -d 256
daemon: socket() failed errno=97 (Address family not supported by
protocol)
slapd starting
daemon: conn=0 fd=7 connection from IP=199.77.200.53:33802
(IP=0.0.0.0:389) accepted.
conn=0 op=0 BIND dn="" method=128
ber_flush: 14 bytes to sd 7
conn=0 op=0 RESULT tag=97 err=0 text=
conn=0 op=1 SRCH base="dc=math,dc=gatech,dc=edu" scope=2
filter="(&(objectClass=nisMap)(nisMapName=auto.master))"
ber_flush: 14 bytes to sd 7
conn=0 op=1 SEARCH RESULT tag=101 err=0 text=
conn=0 op=2 SRCH base="dc=math,dc=gatech,dc=edu" scope=2
filter="(&(objectClass=automountMap)(ou=auto.master))"
ber_flush: 71 bytes to sd 7
ber_flush: 14 bytes to sd 7
conn=0 op=2 SEARCH RESULT tag=101 err=0 text=
conn=0 op=3 SRCH base="ou=auto.master,dc=math,dc=gatech,dc=edu" scope=2
filter="(objectClass=automount)"
ber_flush: 171 bytes to sd 7
ber_flush: 14 bytes to sd 7
conn=0 op=3 SEARCH RESULT tag=101 err=0 text=
conn=0 op=4 UNBIND
conn=-1 fd=7 closed
daemon: conn=1 fd=7 connection from IP=199.77.200.53:33804
(IP=0.0.0.0:389) accepted.
conn=1 op=0 BIND dn="" method=128
ber_flush: 14 bytes to sd 7
conn=1 op=0 RESULT tag=97 err=0 text=
conn=1 op=1 SRCH base="dc=math,dc=gatech,dc=edu" scope=2
filter="(&(objectClass=nisMap)(nisMapName=auto.master))"
ber_flush: 14 bytes to sd 7
conn=1 op=1 SEARCH RESULT tag=101 err=0 text=
conn=1 op=2 SRCH base="dc=math,dc=gatech,dc=edu" scope=2
filter="(&(objectClass=automountMap)(ou=auto.master))"
ber_flush: 71 bytes to sd 7
ber_flush: 14 bytes to sd 7
conn=1 op=2 SEARCH RESULT tag=101 err=0 text=
conn=1 op=3 SRCH base="ou=auto.master,dc=math,dc=gatech,dc=edu" scope=2
filter="(objectClass=automount)"
ber_flush: 171 bytes to sd 7
ber_flush: 14 bytes to sd 7
conn=1 op=3 SEARCH RESULT tag=101 err=0 text=
conn=1 op=4 UNBIND
conn=-1 fd=7 closed
daemon: conn=2 fd=7 connection from IP=199.77.200.53:33805
(IP=0.0.0.0:389) accepted.
conn=2 op=0 BIND dn="OU=AUTO.HOME,DC=MATH,DC=GATECH,DC=EDU" method=128
ber_flush: 14 bytes to sd 7
conn=2 op=0 RESULT tag=97 err=0 text=
conn=2 op=1 UNBIND
conn=-1 fd=7 closed
--------------------------------------------------------------
This is slapd -d 256 on my Solaris 9 server:
--------------------------------------------------------------
hilbert:/etc/openldap # slapd -d 256
bdb_initialize: Sleepycat Software: Berkeley DB 4.1.25: (December 19,
2002)
bdb_db_init: Initializing BDB database
slapd starting
conn=0 fd=12 ACCEPT from IP=199.77.200.53:33783 (IP=0.0.0.0:389)
conn=0 op=0 BIND dn="" method=128
conn=0 op=0 RESULT tag=97 err=0 text=
conn=0 op=1 SRCH base="dc=math,dc=gatech,dc=edu" scope=2
filter="(&(objectClass=nisMap)(nisMapName=auto.master))"
conn=0 op=1 SRCH attr=nisMapName nisMapEntry
conn=0 op=1 SEARCH RESULT tag=101 err=0 nentries=0 text=
conn=0 op=2 SRCH base="dc=math,dc=gatech,dc=edu" scope=2
filter="(&(objectClass=automountMap)(ou=auto.master))"
conn=0 op=2 SRCH attr=ou automountInformation
conn=0 op=2 SEARCH RESULT tag=101 err=0 nentries=1 text=
conn=0 op=3 SRCH base="ou=auto.master,dc=math,dc=gatech,dc=edu" scope=2
filter="(objectClass=automount)"
conn=0 op=3 SRCH attr=cn automountInformation
conn=0 op=3 SEARCH RESULT tag=101 err=0 nentries=2 text=
conn=0 op=4 UNBIND
conn=0 fd=12 closed
conn=1 fd=12 ACCEPT from IP=199.77.200.53:33786 (IP=0.0.0.0:389)
conn=1 op=0 BIND dn="" method=128
conn=1 op=0 RESULT tag=97 err=0 text=
conn=1 op=1 SRCH base="dc=math,dc=gatech,dc=edu" scope=2
filter="(&(objectClass=nisMap)(nisMapName=auto.master))"
conn=1 op=1 SRCH attr=nisMapName nisMapEntry
conn=1 op=1 SEARCH RESULT tag=101 err=0 nentries=0 text=
conn=1 op=2 SRCH base="dc=math,dc=gatech,dc=edu" scope=2
filter="(&(objectClass=automountMap)(ou=auto.master))"
conn=1 op=2 SRCH attr=ou automountInformation
conn=1 op=2 SEARCH RESULT tag=101 err=0 nentries=1 text=
conn=1 op=3 SRCH base="ou=auto.master,dc=math,dc=gatech,dc=edu" scope=2
filter="(objectClass=automount)"
conn=1 op=3 SRCH attr=cn automountInformation
conn=1 op=3 SEARCH RESULT tag=101 err=0 nentries=2 text=
conn=1 op=4 UNBIND
conn=1 fd=12 closed
conn=2 fd=12 ACCEPT from IP=199.77.200.53:33787 (IP=0.0.0.0:389)
conn=2 op=0 BIND dn="ou=auto.home,dc=math,dc=gatech,dc=edu" method=128
conn=2 op=0 RESULT tag=97 err=2 text=requested protocol version not
allowed
conn=2 fd=12 closed
^Cslapd shutdown: waiting for 0 threads to terminate
slapd stopped.
-----------------------------------------------------------------------
###################################
# Diego Julian Remolina #
# System Administrator #
# School of Mathematics #
# Georgia Institute of Technology #
# (404) 894-7385 #
# (404) 894-1309 #
###################################