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

[Fwd: Linux Autofs + LDAP]



"T. Kerkman" wrote:
> 
> I thought this to be correct also Brian, but I am not sure at what
> kernel release this happens.  I say this because I am on RH6.2 (Zoot)
> kernel 2.2.14-5.0 on an i686.  Autofs works fine without a ldap entry,
> but when I add the ldap: entry in the auto.master files.  Autofs does
> not start automount, but I do not get an error either??
> 
> I am going to load up a 7.0 version that I have, and try it there, but I
> need to go all the way to 7.1 to make this work, please someone let me
> know??
> 
> Brian Wert wrote:
> >
> > > i thought that the init script decides where to get the master map from and
> > > that the automount entry in /etc/nsswitch.conf has no relevance for any
> > > map.
> > >  can somebody please enlighten me ? ;-)
> > >
> > >       ~dirkw
> >
> > Let me clarify, and someone please correct me if I am wrong.
> >
> > You can have  an /etc/auto.master and an auto.master in LDAP and NIS if you
> > want to.  When the automounter starts it parses the nsswitch.conf file.  If
> > if finds the "file" attribute it searches for /etc/auto.master.  If it
> > encounters the ldap attribute also in the nsswitch.conf file it will go to
> > LDAP as i specified in my last post and try and find an auto.master entry.
> >
> > Brian Wert