[Date Prev][Date Next] [Chronological] [Thread] [Top]

indirect autofs maps on LDAP

Hi List,

How many levels of indirection can I use in the autofs maps?

For example, can I have a setup like this?

  |-- /server1
         |-- /foo

with a map defined as below:

dn: ou=auto.master,ou=automount,dc=example,dc=org
objectClass: top
objectClass: automountMap
ou: auto.master

dn: cn=/net,ou=auto.master,ou=automount,dc=example,dc=org
objectClass: automount
objectClass: top
cn: /net
automountInformation: ldap:ou=auto.net,ou=automount,dc=example,dc=org --
timeout=7200 --ghost

dn: ou=auto.net,ou=automount,dc=example,dc=org
objectClass: automountMap
ou: auto.net

dn: cn=server1,ou=auto.net,ou=automount,dc=example,dc=org
objectClass: automount
cn: server1
automountInformation: ldap:ou=server1,ou=automount,dc=example,dc=org

dn: ou=server1,ou=automount,dc=example,dc=org
objectClass: automountMap
ou: server1

dn: cn=server1,ou=server1,ou=cmc,ou=automount,dc=example,dc=org
objectClass: automount
cn: server1
automountInformation: -

I went ahead and created this setup, but haven't been able to get it to work. 
Just wondering if this is allowed in autofs-ldap or if my ldap map syntax is 
somehow incorrect.

- Khosrow