2009-02-03 19:00:31 |
Asmo Koskinen |
description |
Ubuntu Notebook Remix 1.0.1 does not work with OpenLDAP.
Running 'getent passwd' with strace, hints that it is incorrectly linked (included as a attachment):
execve("/usr/bin/getent", ["getent", "passwd"], [/* 25 vars */]) = 0
....
open("/lib/tls/i686/sse2/cmov/libnss_ldap.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
....
open("/usr/lib/libnss_ldap.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
Comparing the same setup on standard Ubuntu 8.04.1, the problem can be traced to libnss-ldap.
UNR 1.0.1:
/lib/nss_ldap.so.1
/usr/lib/libnss_ldap.so
/lib/nss_ldap.so
Ubuntu 8.04.2:
/lib/libnss_ldap-2.7.so
/usr/lib/libnss_ldap.so
/lib/libnss_ldap.so.2
WORKAROUND:
-----------
Installing libnss-ldap from the Hardy repositories fixes the issue.
dpkg -i --force-architecture libnss-ldap_258-1ubuntu3_i386.deb
-----------
After that ugly fix (--force-architecture) Asus Eee 701 4G was able to login to the openLDAP server.
Best Regards Asmo Koskinen. |
Ubuntu Notebook Remix 1.0.1 does not work with OpenLDAP.
Running 'getent passwd' with strace, hints that it is incorrectly linked (included as a attachment):
execve("/usr/bin/getent", ["getent", "passwd"], [/* 25 vars */]) = 0
....
open("/lib/tls/i686/sse2/cmov/libnss_ldap.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
....
open("/usr/lib/libnss_ldap.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
Comparing the same setup on standard Ubuntu 8.04.1, the problem can be traced to libnss-ldap.
UNR 1.0.1:
/lib/nss_ldap.so.1
/usr/lib/libnss_ldap.so
/lib/nss_ldap.so
Ubuntu 8.04.2:
/lib/libnss_ldap-2.7.so
/usr/lib/libnss_ldap.so
/lib/libnss_ldap.so.2
WORKAROUND:
-----------
Installing libnss-ldap from the Hardy repositories fixes the issue.
dpkg -i --force-architecture libnss-ldap_258-1ubuntu3_i386.deb
-----------
After that ugly fix (--force-architecture) Asus Eee 701 4G was able to login to the openLDAP server.
Best Regards Asmo Koskinen.
-------------------------------------
Update. Because of ugly fix you can't update & upgrade UNR 1.0.1 anymore. Apt-get does not see this hardy's package, so ldap-auth-client of course try to install package that does not work with openLDAP.
apt-get update
apt-get upgrade
ldap-auth-client: Riippuvuudet: libnss-ldap
We really need fixed "libnss_ldap" for openLDAP ;-).
Best Regards Asmo Koskinen. |
|