Change dn of auto.master for autofs+ldap
I'm setting up autofs in ldap, i.e. I'm not using the /etc/auto.* files at all. Now, I'm wondering how to change the distinguished name of auto.master in the database. It seems all examples use the following structure for the entry:
dn: ou=auto.master,dc=mydom,dc=com
ou: auto.master
objectClass: top
objectClass: automountMap
I grepped the archives to see if it is possible to specify some options for this in nsswitch.conf, but couldn't find anything. So how would I go about changing the dn of the auto.master (and the rest of the auto.* entries) so that they recide under ou=system? Maybe that is something I don't want to do?
regards,
sven
Quoted 3 lines · Sven Ulland
I'm setting up autofs in ldap, i.e. I'm not using the
/etc/auto.*files at all. Now, I'm wondering how to change the distinguished name of auto.master in the database.
Oh right. Just put it under any ou and it works without having to configure anything. Sweet.
sven