Hello,

Thanks for your valuable contribution:

On  1-Nov-03 at 11:02, Luca Berra ([EMAIL PROTECTED]) wrote:
> it _IS_ a bug in nss_ldap package
> in short
> dbopen is db1 syntax
> dbX (for X>1) provide a db_185.h wrapper for dbopen
> nss_ldap looked for dbX/db_185.h (for X <=3)
> db4 has db4/db_185.h
> 
> patch is at:
> http://www.comedia.it/~bluca/cooker/errata/nss_ldap-207-4.0.92mdk/nss_ldap-207-db4.patch.bz2
> fixed rpms at:
> http://www.comedia.it/~bluca/cooker/errata/nss_ldap-207-4.0.92mdk.i586.rpm
> http://www.comedia.it/~bluca/cooker/errata/pam_ldap-164-4.0.92mdk.i586.rpm
> http://www.comedia.it/~bluca/cooker/errata/nss_ldap-207-4.0.92mdk.src.rpm

It works! Here is the detail (on cooker as downloaded on october 1st):

# rpm -ivh -p 
http://www.comedia.it/~bluca/cooker/errata/nss_ldap-207-4.1.92mdk.i586.rpm
Retrieving http://www.comedia.it/~bluca/cooker/errata/nss_ldap-207-4.1.92mdk.i586.rpm
warning: /var/tmp/rpm-xfer.hu8kS8: V3 DSA signature: NOKEY, key ID 49aa3db1
Preparing...                ########################################### [100%]
   1:nss_ldap               ########################################### [100%]

No more undefined symbols reported by ldd:

# ldd -r /lib/libnss_ldap-2.3.2.so | grep undefined

db185_open is used instead of dbopen, and is
defined in /usr/lib/libdb-4.1.so:

# nm -D /lib/libnss_ldap-2.3.2.so | grep db
         U __db185_open
# nm -D /usr/lib/libdb-4.1.so|grep db185_open
000134b0 T __db185_open

And last but not least, it works with my ldap.conf file:

# getent passwd etutest1
etutest1:x:147989:40000:ETUTEST  Accesinfo:/home/etutest1:/bin/tcsh

Yeah! Thanks!


I also tested the same rpm on Mandrake 9.2 with sucess!

On  1-Nov-03 at 16:20, Florin ([EMAIL PROTECTED]) wrote:

> And, again, I would recommend this for an errata.

It would be nice if the corrected version made it into an update
for 9.2.


Thanks again for sorting this out!

Best regards,
Dominique
--
* Unsolicited commercial email is NOT welcome at this address. *
Mr Dominique Petitpierre       Email: [EMAIL PROTECTED]
Division Informatique                 User=Dominique.Petitpierre
University of Geneva                  Domain=adm.unige.ch
(Switzerland)                  WWW  : http://www.unige.ch/dinf/


Reply via email to