On Fri, Jul 07, 2000 at 11:28:07AM -0700, H. Peter Anvin wrote:
> Dan Mack wrote:
> > 
> > On Fri, Jul 07, 2000 at 10:54:20AM -0700, H. Peter Anvin wrote:
> > 
> > > > What are the problems with getting nsswitch.conf to be used by autofs?
> > > >
> > >
> > > There is no API to get to it, so it means writing your own parser for
> > > everything you want to use it.
> > 
> > So you are telling me that all the current use of nsswitch.conf by
> > getpw* and others is all being done ad-hoc?
> > 
> 
> No, they're done deep inside the C library.  There doesn't seem to be
> any way to use the C library approach to add new "databases", although
> you can add new "services" (such as NIS, NIS+, LDAP...)  (Am I the only
> one who think this terminology is completely backwards?)

Just a short quote from the glibc info files: Info:  (libc)NSS Basics
-------------------------
The databases available in the NSS are
....
There will be some more added later (`automount', `bootparams',
`netmasks', and `publickey').
-------------------------

So maybe you just have to wait .....
But - as you say -  general api functions to query more Databases are
even not mentioned.

Just 2 cents more.

Greetings 

    Hermann

-- 
Bildverarbeitungsgruppe des Interdiziplinaeren Zentrums fuer
wissenschaftliches Rechnen, Universitaet Heidelberg
INF 368; 69120 Heidelberg; Tel: (06221)54-8826, -6314  Fax: -8850
Email: [EMAIL PROTECTED]

Reply via email to