[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Nice to have: specify ldap options in /etc/sysconfig/autofs
- From: Eric Berggren <ericb transmeta com>
- To: nahant-list redhat com
- Subject: Nice to have: specify ldap options in /etc/sysconfig/autofs
- Date: Wed, 20 Jul 2005 16:17:33 -0700
There isn't currently a clean way to specify the automap objectClass
(which currently defaults to nisMap) or the mapname or other options to
the "autofs-ldap-auto-master" program - used in the autofs init.d script
when using autofs with LDAP.
We happen to have both nisMapName=auto_master (objectClass: nisMap) and
ou=auto.master (objectClass: automountMap) in our directory for 2
different types of clients. A recent patch
(autofs-4.1.3-alt-master-ldap.patch in the autofs-4.1.3-131 build,
bz#130079) allows one to specify the mapname on the command-line to
"autofs-ldap-auto-master", but it also tries all forms of auto*master of
nisMap before ever trying any of the automountMap tables, resulting in
the wrong table being fetched for us on RedHat hosts. There's no way to
use this feature without hacking the autofs init script directly.
Sure, we can hack the init script ourselves, but it would be nice if a
future roll of autofs will have the ability to specify this information
in the /etc/sysconfig/autofs file .
Hopefully this makes sense to someone ... (Chris Feist ?)
thanks,
-ericb
PS: I was under the impression that nisMap was deprecated in favor of
automountMap ? nisMap is hardcoded as the preferred method.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]