This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: How to get LDAP support in NSS/compat?
- From: Thorsten Kukuk <kukuk at suse dot de>
- To: libc-alpha at sources dot redhat dot com
- Date: Wed, 30 Apr 2003 00:41:23 +0200
- Subject: Re: How to get LDAP support in NSS/compat?
- Organization: SuSE Linux AG, Nuernberg, Germany
- References: <E19Aa85-0003fN-00@saruman.uio.no> <3EAECAC3.8090101@redhat.com>
On Tue, Apr 29, Ulrich Drepper wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Petter Reinholdtsen wrote:
> > How hard would it be to modify the compat NSS/PAM module to support
> > LDAP? In solaris, this is done using these lines in nsswitch.conf:
>
> Not going to happen. Somebody can write an alternative NSS module to do
> this.
I think it is very easy to rewrite the current compat NSS module
to support every service, for which a NSS module exists. We don't
need LDAP support in glibc for this, instead the compat module would
load the corresponding NSS module. This would also avoid some
duplicate code.
I will look at this next week and write such a module. After this
we can discuss again, if we whish to replace the glibc version or
make an alternative NSS module from it.
Thorsten
--
Thorsten Kukuk http://www.suse.de/~kukuk/ kukuk@suse.de
SuSE Linux AG Deutschherrnstr. 15-19 D-90429 Nuernberg
--------------------------------------------------------------------
Key fingerprint = A368 676B 5E1B 3E46 CFCE 2D97 F8FD 4E23 56C6 FB4B