[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Please help with autofs problem
Hi,
I am trying to get autofs work with OpenLDAP 2.1.8. Here is the environment:
Redhat 8.0
OpenLDAP 2.1.9
OpenSSL 0.9.6g
autofs 3.1.7
User authentication part is already working. But trying to use autofs
with OpenLDAP always
generated the following error like "unwilling to allow anonymous bind
with non-empty DN":
Dec 17 15:06:16 ds1 slapd[5033]: daemon: read activity on 20
Dec 17 15:06:16 ds1 slapd[5066]: conn=45 op=0 BIND
dn="ou=auto.home,dc=school,dc=edu" method=128
Dec 17 15:06:16 ds1 slapd[5033]: daemon: select: listen=6
active_threads=1 tvp=NULL
Dec 17 15:06:16 ds1 slapd[5066]: conn=45 op=0 RESULT tag=97 err=53
text=unwilling to allow anonymous bind with non-empty DN
Dec 17 15:06:16 ds1 slapd[5033]: daemon: select: listen=7
active_threads=1 tvp=NULL
Dec 17 15:06:16 ds1 slapd[5033]: daemon: activity on 2 descriptors
Following are more info about my setup:
# /etc/init.d/autofs status
Configured Mount Points:
------------------------
/usr/sbin/automount /home ldap ds1.school.edu:ou=auto.home,dc=school,dc=edu
Active Mount Points:
--------------------
Here is autofs.ldif:
dn: ou=auto.master,dc=school,dc=edu
objectClass: top
objectClass: automountMap
ou: auto.master
# Define auto.home entry
dn: cn=/home,ou=auto.master,dc=school,dc=edu
objectClass: top
objectClass: automount
automountInformation: ldap:ds1.school.edu:ou=auto.home,dc=school,dc=edu
cn: /home
# Define auto.home
dn: ou=auto.home,dc=school,dc=edu
objectClass: top
objectClass: automountMap
ou: auto.home
# Define entries for auto.home
dn: cn=sgao,ou=auto.home,dc=school,dc=edu
objectClass: top
objectClass: automount
automountInformation: fileserver.school.edu:/home/sgao
cn: sgao
Thanks for your help.
Simon Gao