ldap bug in hardy

Christian Stegmann adenozin at googlemail.com
Tue Apr 29 22:28:38 UTC 2008


Hello,

I am facing similar problems. Despite a lot of effort I could not get
my LDAP client setup to run on Hardy (it runs smoothly on Dapper on
another machine). First I followed strictly
https://help.ubuntu.com/community/LDAPClientAuthentication. However,
/etc/libnss-ldap.conf or /etc/libpam-ldap.conf are not generated after
the installation of the packages.
Then I tried to reproduce the setup in Dapper by manually editing
/etc/libnss-ldap.conf and /etc/libpam-ldap.conf. I also commented out
the aforementioned pam_smbpass.so related lines. This also failed,
getent passwd does not work.
I can access the server using ldapsearch -x though. Any help appreciated.

thanks,
christian

On Tue, Apr 29, 2008 at 8:33 PM, NoOp <glgxg at sbcglobal.net> wrote:
> On 04/29/2008 07:14 AM, Marco Schmidt wrote:
>
>  >
>  > Exactly the same config under gutsy (7.10) works great.
>  >
>  > The problem occurs on a hardy upgrade and on a hardy fresh installation.
>  >
>  > I compiled and installed openldap 2.4.8 and nss_ldap 260 on my own (with
>  > the default settings)
>  >
>  > Now it works perfectly!
>  >
>  > Could there be a bug in ldap version 2.4.7-6ubuntu3 of nss_ldap
>  > 258-1ubuntu3 (ubuntu hardy)?
>
>  You might check your old auth.log's and see if you find errors like this:
>
>  PAM unable to dlopen(/lib/security/pam_smbpass.so)
>
>  https://bugs.launchpad.net/ubuntu/+bug/222003
>  [Can't contact LDAP server]
>
>  There have been quite a few issues with some of the pam.d files
>  referencing pam_smbpass.so. Some have resolved with installing
>  libpam-smbpass, but it can be resolved by commenting out the
>  pam_smbpass.so related lines in /etc/pam.d/common-auth and
>  /etc/pam.d/common-password:
>
>  https://bugs.launchpad.net/ubuntu/+source/pam/+bug/216990
>  commenting out the pam_smbpass.so related lines in
>  /etc/pam.d/common-auth and /etc/pam.d/common-password
>
>
>  --
>  ubuntu-users mailing list
>  ubuntu-users at lists.ubuntu.com
>  Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>



-- 
Christian Stegmann
MPIBPC
Am Fassberg 11
37077 Goettingen, Germany




More information about the ubuntu-users mailing list