-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAWcvYMDqogpR5tkMRArIuAKCDCsCk/iYysbHdnkKyYv72+HgXzACaAp4Z
BzDuH2wgqXHKnyFiGAFiEgA=
=yazv
-----END PGP SIGNATURE-----

_______________________________________________
autofs mailing list
[EMAIL PROTECTED]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to