Migation autofs to ldap
Neal D. Becker
ndbecker2 at verizon.net
Thu Mar 18 18:54:54 UTC 2004
Can anyone help me with migrating autofs to ldap? I tried the migration
script /usr/share/openldap/migration/migrate_automount.pl. Am I doing
something wrong, or is there a problem with the script?
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-test-list
mailing list