Help with ldap + autofs please
Neal D. Becker
ndbecker2 at verizon.net
Thu Mar 18 14:20:58 UTC 2004
Can anyone help me with migrating autofs to ldap?
To test, I added this line to /etc/auto.master:
/test ldap:rpppc1.md.hns.com:ou=auto.test,dc=adg,dc=hns,dc=com
Here is the corresponding ldif:
dn: nisMapName=auto.test,dc=adg,dc=hns,dc=com
objectClass: top
objectClass: nisMap
nisMapName: auto.test
dn: cn=test,nisMapName=auto.test,dc=adg,dc=hns,dc=com
objectClass: nisObject
cn: test
nisMapEntry: rpppc1.md.hns.com:/disk1/test
nisMapName: auto.test
If I do /sbin/service autofs reload, I get:
Mar 18 09:19:40 rpppc1 automount[19312]: starting automounter version 4.1.0,
path = /test, maptype = ldap, mapname =
rpppc1.md.hns.com:ou=auto.test,dc=adg,dc=hns,dc=com
Mar 18 09:19:40 rpppc1 automount[19312]: using kernel protocol version 4.00
Mar 18 09:19:40 rpppc1 automount[19312]: using timeout 300 seconds; freq 75
secs
Mar 18 09:19:40 rpppc1 automount[19312]: lookup(ldap): query failed for
(&(objectclass=nisObject))
Mar 18 09:19:40 rpppc1 automount[19312]: lookup(ldap): query failed for
(&(objectclass=automount))
Mar 18 09:19:40 rpppc1 automount[19312]: failed to load map, exiting
Mar 18 09:19:40 rpppc1 automount[19312]: failed to remove dir @ $(J`S (BI -
§f: No such file or directory -A
(Yes, the garbage characters are there in the log)
More information about the fedora-list
mailing list