This is the mail archive of the mailing list for the glibc project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to get LDAP support in NSS/compat?

On Wed, Apr 30, Petter Reinholdtsen wrote:

> [Thorsten Kukuk]
> > 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.
> This sound very good.  Let me know if you want a tester for the new
> module. :)
> > 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.
> I look forward to this. :)

It took a little bit longer. Here is a patch for the compat passwd
function. A patch for initgroups, group and shadow will follow, after
I cleaned up this version. Some sanity and error checks are missing
in this patch, but I think this is the way to go and it works already
for passwd for me.

Feedback is welcome.

Uli, does this have a chance to be accepted for glibc as replacement
for the current compat module? I think this is the way to go.


Thorsten Kukuk
SuSE Linux AG        Deutschherrnstr. 15-19        D-90429 Nuernberg
Key fingerprint = A368 676B 5E1B 3E46 CFCE  2D97 F8FD 4E23 56C6 FB4B

Attachment: pgp00000.pgp
Description: PGP signature

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]