Recently an OpenSUSE server had its root password changed (some say this mightve been a hacker or anything), I have no idea how or why, but they asked me to fix this.

Now the problem what I'm having is that whenever using passwd (or yast or several other commands like useradd) give the error (this is in single user mode, using a console):

passwd: symbol lookup error: /usr/lib/libldap-2.4.so.2: undefined symbol: ber_sockbuf_io_udp

Would this be anything broken in ldap or is the system basically screwed? I'm not too familiar with OpenSUSE, but googling this errorcode only leads to some postgresql or ldap server on opensuse.


I assume your server is/was configured to authenticate against LDAP at some point.

My suspicion is you have a PAM module that relied on a specific version of the OpenLDAP libraries, and those libraries have been either removed or changed (upgraded/downgraded).

Find out what changed and reverse it. Alternatively as a quick fix you can scour your /etc/pam.d directory for stuff that authenticates against LDAP and temporarily comment them out (assuming that it won't destroy your universe to do so).

  • Regarding /etc/pam.d/ , I can't find anything in pam.d about ldap. There is stuff about plesk, but I sadly know nothing of that. Since you're saying this is probably ldap, I'll look into that some more. Thanks. – XSlicer Sep 7 '11 at 14:48
  • Not necessarily a specific OpenLDAP version, but a feature: connectionless (UDP) LDAP, cldap:// aka the obsolete CLDAP. To enable it OpenLDAP must be built with LDAP_CONNECTIONLESS manually defined (it's not a configure option). Often used for MS-AD interoperability. /etc/nsswitch.conf is another place to look for LDAP use. – mr.spuratic Dec 18 '13 at 11:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.