>Ok, so you basically want included map support. You are right, I did post >a patch to implement this, but it is quite a beast, so I wouldn't expect it >to get released straight away (these things require gobs of testing).
>In the interim, you can use something like the following local master map >entry: >/etc/auto.master: >/home multi:file /etc/auto.home -- ldap auto.home >I think that will do what you need. If not, I'll give it another try. ;) >-Jeff Nov 21 16:31:04 rocksfe1 automount[10044]: nsswitch: couldn't find map auto.home Nov 21 16:31:04 rocksfe1 automount[10044]: lookup(ldap): query failed for (objectclass=nisObject) Nov 21 16:31:04 rocksfe1 automount[10044]: lookup(ldap): query failed for (objectclass=automount) It seems it can't find what the automount is, yet I'm not sure why its not able to find the automount maps (ignoring NIS objects which I don't have) My nsswitch.conf has files only since multi:file would also check a remote ldap for its auto.home LDAP entry. # ldapsearch -x "(&(objectclass=automount))" # extended LDIF # # LDAPv3 # base <> with scope sub # filter: (&(objectclass=automount)) # requesting: ALL # # /home, auto.master, autofs, platform.com dn: cn=/home,ou=auto.master,ou=autofs,dc=platform,dc=com objectClass: top objectClass: automount cn: /home automountInformation: ldap:ou=auto.home,ou=autofs,dc=platform,dc=com # sstarr, auto.home, autofs, platform.com dn: cn=sstarr,ou=auto.home,ou=autofs,dc=platform,dc=com objectClass: top objectClass: automount cn: sstarr automountInformation: -fstype=nfs,hard,intr,nodev,nosuid somehostname.lsf.platform .com:/home:& # search result search: 2 result: 0 Success # numResponses: 3 # numEntries: 2 Thanks, Shawn. _______________________________________________ autofs mailing list [email protected] http://linux.kernel.org/mailman/listinfo/autofs
