Dominique Petitpierre wrote:
> Hi,
>
> Thanks for your quick answer:
>
> On 31-Oct-03 at 16:38, Buchan Milne ([EMAIL PROTECTED]) wrote:
>
>>...
>>I am running nss_ldap-207-2mdk on two cooker boxes without problems.
>>...
>
> I just tried again with the latest cooker version: nss_ldap-207-4mdk
> "ldd -r" still complains about "undefined symbol: dbopen".
Well, I seem to get the same error from ldd -r, but it seems to have no
impact on my system.
>
> Could you please let me know the result, on your system,
> of ldd and nm commands mentionned in my initial message, namely
>
> rpm -q -f /lib/libnss_ldap-2.3.2.so
Testing on two different systems now, one with -2mdk, one with -4mdk:
[EMAIL PROTECTED] bgmilne]$ rpm -qf /lib/libnss_ldap-2.3.2.so
nss_ldap-207-2mdk
[EMAIL PROTECTED] bgmilne]$ ldd -r /lib/libnss_ldap-2.3.2.so
libldap.so.2 => /usr/lib/libldap.so.2 (0x40025000)
liblber.so.2 => /usr/lib/liblber.so.2 (0x40058000)
libcom_err.so.2 => /lib/libcom_err.so.2 (0x40064000)
libssl.so.0.9.7 => /usr/lib/libssl.so.0.9.7 (0x40067000)
libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0x4009a000)
libdb-4.1.so => /usr/lib/libdb-4.1.so (0x4019c000)
libdl.so.2 => /lib/libdl.so.2 (0x4026b000)
libnsl.so.1 => /lib/libnsl.so.1 (0x4026e000)
libresolv.so.2 => /lib/libresolv.so.2 (0x40282000)
libc.so.6 => /lib/i686/libc.so.6 (0x40293000)
libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x403c4000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
undefined symbol: dbopen (/lib/libnss_ldap-2.3.2.so)
[EMAIL PROTECTED] bgmilne]$ nm --dynamic /lib/libnss_ldap-2.3.2.so |
grep dbopen
U dbopen
[EMAIL PROTECTED] bgmilne]$ ldd /lib/libnss_ldap-2.3.2.so | awk '{print
$3}' | xargs nm --print-file-name --dynamic | grep dbopen
/usr/lib/libdb-4.1.so:00054540 T __db_dbopen
[EMAIL PROTECTED] bgmilne]$ rpm -qf /lib/libnss_ldap-2.3.2.so
nss_ldap-207-4mdk
[EMAIL PROTECTED] bgmilne]$ ldd -r /lib/libnss_ldap-2.3.2.so
libldap.so.2 => /usr/lib/libldap.so.2 (0x40030000)
liblber.so.2 => /usr/lib/liblber.so.2 (0x40063000)
libkrb4.so.2 => /usr/lib/libkrb4.so.2 (0x4006f000)
libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x40090000)
libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x40105000)
libcom_err.so.2 => /lib/libcom_err.so.2 (0x4012d000)
libssl.so.0.9.7 => /usr/lib/libssl.so.0.9.7 (0x40130000)
libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0x40162000)
libdb-4.1.so => /usr/lib/libdb-4.1.so (0x40264000)
libdl.so.2 => /lib/libdl.so.2 (0x40333000)
libnsl.so.1 => /lib/libnsl.so.1 (0x40337000)
libresolv.so.2 => /lib/libresolv.so.2 (0x4034b000)
libc.so.6 => /lib/i686/libc.so.6 (0x4035c000)
libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x4048c000)
libdes425.so.3 => /usr/lib/libdes425.so.3 (0x404a0000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
undefined symbol: dbopen (/lib/libnss_ldap-2.3.2.so)
[EMAIL PROTECTED] bgmilne]$ nm --dynamic /lib/libnss_ldap-2.3.2.so |
grep dbopen
U dbopen
[EMAIL PROTECTED] bgmilne]$ ldd /lib/libnss_ldap-2.3.2.so | awk '{print
$3}' | xargs nm --print-file-name --dynamic | grep dbopen
/usr/lib/libdb-4.1.so:00054540 T __db_dbopen
(it seems one version was compiled against kerberos, one wasn't - and
this is something that really needs to be addressed better, at present
since we don't necessarily force configure options, or BuildConflict
some packages, which features you get are sometimes quite random ...
AFAIK it should not be necessary to compile against kerberos now, since
we actually want GSSAPI via SASL instead?).
But, I don't see the problem:
[EMAIL PROTECTED] bgmilne]$ grep ^passwd /etc/nsswitch.conf
passwd: files ldap
[EMAIL PROTECTED] bgmilne]$ wc -l /etc/passwd
38 /etc/passwd
[EMAIL PROTECTED] bgmilne]$ getent passwd|wc -l
187
[EMAIL PROTECTED] bgmilne]$ wc -l /etc/pass
passwd passwd-
[EMAIL PROTECTED] bgmilne]$ wc -l /etc/passwd
33 /etc/passwd
[EMAIL PROTECTED] bgmilne]$ getent passwd|wc -l
182
--
|--------------Another happy Mandrake Club member--------------|
Buchan Milne Mechanical Engineer, Network Manager
Cellphone * Work +27 82 472 2231 * +27 21 8828820x202
Stellenbosch Automotive Engineering http://www.cae.co.za
GPG Key http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7