On Sat, 26 Aug 2006, [EMAIL PROTECTED] wrote: > > I didn't mean to be nasty. > > Not taken as such. Sorry -- I should scatter a few more ":-)"'s around :-)) > > > It's just that it seems like every time I do something in response to > > requests someone else then wants the opposite. > > That's where judgement kicks in. > When you have equal numbers objecting to both options, you've got it right > :-)) > > > Actually, using the multiple schema we were seeing up to "nine" queries > > per lookup during a mount failure situation > > Ahh -- I was thinking of the multiple schema only during initial discovery. > I was assuming that like the mount_bind code, at the start of day it would > look at its environment and decide how to do things. > If not told what schema to use, it would try the pre defined (3 at the > moment) > schema until one of them worked, and then latch onto that one. > (e.g. default is the null string, and if it finds the string null, call a > discovery procedure). > > As such this would not effect a mount failure -- it would only be done once > at > startup (and when it gets a HUP etc)
Yep. I guessed that was what you were getting at after I posted. It's a good idea however I'd rather not change that part of the code for this release becuase there's already been major changes in that module so I'll let that settle. I'll reconsider it for the next release. > > > Would it be OTT to add an option to say whether the initial lookup of > "auto.master" was single level or recursive? > [ I really don't understand why recursive is needed if auto.master is at the > top level :-( ] Guillaume has his autofs stuff at a level below the top by the look of it. I'm reluctant to add an option as if there's choice then people will always be asking questions about it. I like to keep the configuration to a minimum. I'm not clear on the performance implications of this yet so I'll change it and wait till someone can give feedback on cost. LDAP servers seem to cope fairly well with this type of query anyway (default option for ldapsearch) and it's only done at startup, to get the base for future searches. Ian _______________________________________________ autofs mailing list [email protected] http://linux.kernel.org/mailman/listinfo/autofs
