LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-09-2006, 02:03 AM   #1
flybynight446
LQ Newbie
 
Registered: Oct 2005
Posts: 17

Rep: Reputation: 0
passwd returning ldap error


Hi,

Using suse9.3

When I run passwd I get:

server:/usr/lib # passwd
passwd: error while loading shared libraries: libldap-2.2.so.7: cannot open shared object file: No such file or directory

/usr/lib contains:
-rw-r--r-- 1 root root 283106 Aug 25 11:27 libldap.a
lrwxrwxrwx 1 root root 21 Nov 3 14:34 libldap.so -> libldap-2.2.so.7.0.16
-rw-r--r-- 1 root root 309002 Aug 25 11:27 libldap_r.a
lrwxrwxrwx 1 root root 23 Nov 3 14:34 libldap_r.so -> libldap_r-2.2.so.7.0.16
lrwxrwxrwx 1 root root 19 Sep 27 18:07 libldapcpp.so.0 -> libldapcpp.so.0.0.3*
-rwxr-xr-x 1 root root 295648 Mar 19 2005 libldapcpp.so.0.0.3*

I had to re-install Berkeley DB to get cyrus imapd server working (incompatible client library version), and I am wondering if that broke passwd (and possibly other core linux apps !?).

Recompiling 3rd party apps etc. is fine, but the core bits of linux itself ? hmmm... I haven't a clue how to start fixing this.. any pointers would be appreciated.

Thanks.
Jon
 
Old 02-09-2006, 05:45 AM   #2
flybynight446
LQ Newbie
 
Registered: Oct 2005
Posts: 17

Original Poster
Rep: Reputation: 0
htpasswd (apache2 directory protection) was also broken, looking for berkeley 4.3.

Fixed this.

I should have just left the existing 4.3 berkely db install 'as is', as it is obviously required by other regular linux apps. Instead I removed it, and installed 4.4 to /usr/local. Which meant that apps using 4.4 worked fine (cyrus imapd etc.), but those using 4.3 failed to run any more.

I re-installed berkeley db 1.4.3 into the default location. in doing so, Yast threw up lots of dependencies re: ldap, which, after agreeing to 'solve' and install, all works perfectly now.

The moral to the tale: check your package dependencies in Yast before deleting stuff that you think is 'not needed'. But you knew that anyway, eh ? ;-)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Why is pam_authenticate() returning "Authentication Failure" for valid user/passwd? jrsugar Linux - Enterprise 3 08-03-2007 09:27 AM
Converting qmail from /etc/passwd to LDAP k41184 Linux - Security 1 11-12-2005 03:57 AM
Why is pam_authenticate() returning "Authentication Failure" for valid user/passwd? jrsugar Linux - Newbie 2 06-14-2005 02:49 PM
Why is pam_authenticate() returning "Authentication Failure" for valid user/passwd? jrsugar Programming 1 06-14-2005 08:18 AM
LDAP/passwd error labratmatt Linux - Software 0 01-24-2005 11:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration