[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Nice to have: specify ldap options in /etc/sysconfig/autofs



> Stephen Walton wrote:

>>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.

> Wouldn't a "program" automount map be the preferred solution to your 
> problem?  The script presumably then have conditionals in it to pick the 
> appropriate map.  I don't know that I, personally, would rely on nisMap 
> vs. automountMap.

It's really just which auto.master to fetch at startup time - somewhat
of a special case for us having both nisMap=auto_master as well as
automountMap=auto.master (we're working to remove the last vestiges of
NIS anyway). But mainly seeking a future addition to the autofs init
script to include more configurable options to autofs-ldap-auto-master
(and other parts) stored in /etc/sysconfig/autofs (even if most of them
are empty). For now, just hack the init script directly to add "-m
automountMap" in function getldapmounts() .

Haven't played much with executable maps under linux - under Solaris, it
was a disaster as it got executed each and every time a reference was
made to the mountpoint (needless to say things got very slow).

>>PS: I was under the impression that nisMap was deprecated in favor of
>>automountMap ?

> I was under exactly the opposite impression :-) ? I assumed that since 
> migrate_automount.pl uses nisMap that was the preferred setup.

Figured NIS == old, and nisMap being a transitional method. Gotta line
into the developer for his opinion on taste vs filling.


-ericb


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]