On Thu, 2006-07-13 at 12:32 +0800, Ian Kent wrote:
> On Wed, 2006-07-12 at 22:11 -0400, Daniel Richard G. wrote:
> > On Wed, 2006 Jul 12 20:03:33 +0800, Ian Kent wrote:
> > > > 
> > > > So there's nothing going on here w.r.t. checking whether an NFS/AFS 
> > > > server 
> > > > is up. It's about overriding what autofs would usually do---to have a 
> > > > program map return the (special-case) local path, preempting the usual 
> > > > LDAP/Hesiod request. (And if and only if the program map gives no 
> > > > answer, 
> > > > go ahead and do the LDAP/Hesiod lookup.)
> > > 
> > > OK. Maybe a multi-map entry in the master map will work for this.
> > > 
> > > /mit      program,hesiod:/sbin/myprogmap -- 
> > > ldap,hesiod://foo/ou=auto.indirect,dc=mit,dc=edu

However I think my syntax is wrong.
It should be
/mit    multi:program,hesiod:/sbin/myprogmap -- 
ldap,hesiod://foo/ou=auto.indirect,dc=mit,dc=edu


> > > 
> > > It should behave the way you need.
> > 
> > [I wasn't able to get autofs beta6 up and going to answer this, though a 
> > glance at the code implies that the answer is "no"...]
> > 
> > Is this implemented already? Or are you saying that you'd prefer this minor 
> > extension to the master map syntax instead of allowing redundant entries?
> 
> This is part of the original autofs implementation so it's definitely
> available in v4 and so must be carried through to v5 for backward
> compatibility.
> 
> And having a quick look at the code suggests that it could be made to
> function the way you require with some minor changes.
> 
> Ian
> 
> _______________________________________________
> autofs mailing list
> [email protected]
> http://linux.kernel.org/mailman/listinfo/autofs

_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to