Hello,

Hoping someone can help me figure out if its possible to do
multi-level deep automounts via ldap. I've seen a few examples of this
using files but can't get it to work using LDAP.

eg I want:
server1:/export/protemp  -  /nfs/tmp/production
server2:/export/tmp/weekly  -  /nfs/tmp/weekly
server2:/export/tmp/hourly  -  /nfs/tmp/hourly

pseudo ldap implementation
cn=nfs,ou=auto.master: ldap: ou=auto.nfs  objectClass = automountMap
cn=tmp,ou=auto.nfs: ldap ou=outo.tmp,ou=auto.nfs  objectClass = automount
ou=auto.tmp,ou=auto.nfs: objectClass automountMap
cn=production,ou=auto.tmp,ou=auto.nfs: -rw,hard,intr,tcp
server1:/export/protemp  objectClass = automount
...

It more or less makes sense to me why automount isn't picking this up
- I'm using RedHat derivatives to the automount init status command
gives me a list of configured automounts which is basically everything
in auto.master - so automount isn't loading the map for /nfs/tmp
(ou=auto.tmp,ou=auto.nfs) ... not sure how to make this happen ... I
tried having both /nfs and /nfs/tmp under auto.master but that didn't
work either.

So -
a) is this possible?
b) whats the "correct" way to implement on the LDAP server side?
c) possible alternate solution?

TIA,
Shane.

_______________________________________________
autofs mailing list
autofs@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to