LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-12-2007, 11:48 AM   #1
christopher_c
Member
 
Registered: Sep 2007
Posts: 61

Rep: Reputation: 15
contents of usr/lib/sasl2


hey everyone

im trying to get smtp auth working with my email[centos,postfix,dovecot], and ive looked through a couple of tutorials for doing this, and all seem to use a smtpd.conf in usr/lib/sasl2.

although i do NOT have any smtpd.conf file in that directory. i went ahead and created it myself, but when i do, it causes postfix to crash ><

currently, this is what resides in usr/lib/sasl2 :

Code:
libntlm.la  libntlm.so  libntlm.so.2  libntlm.so.2.0.19
any ideas ? are there supposed to be more files here?
 
Old 11-13-2007, 04:52 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,130
Blog Entries: 1

Rep: Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004
There should be more files in there. You need to install cyrus-sasl to get them.

Regards
 
Old 11-14-2007, 12:16 AM   #3
christopher_c
Member
 
Registered: Sep 2007
Posts: 61

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by bathory View Post
There should be more files in there. You need to install cyrus-sasl to get them.

Regards
Hi bathory, i apologize for the delay in responding.

Im am 99.9% sure i had installed cyrus-sasl via 'yum install cyrus-sasl' or what it might be.

Whenever I try to do yum install etc, it says 'nothing to do'.

Is there a way to uninstall and then reinstall?

Thanks again
 
Old 11-14-2007, 03:03 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,130
Blog Entries: 1

Rep: Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004
All I know about rpm based distros is that you rnn "rpm -e" to uninstall, "rpm -i" to install and "rpm -u" to upgrade a package. Before uninstalling search for "libsasl2.so" in your disk to see if it's installed in a different place.

Regards
 
Old 11-14-2007, 03:59 AM   #5
selestin Mathew
LQ Newbie
 
Registered: Nov 2007
Posts: 11

Rep: Reputation: 0
Hi

you have to install cyrus-sasl- packages. the daemon is saslauthd.

I think, in RHEL 4 the file is smtpd.conf, but in RHEL5 the file is Sendmail.conf(not sure about this)
 
Old 11-14-2007, 12:58 PM   #6
christopher_c
Member
 
Registered: Sep 2007
Posts: 61

Original Poster
Rep: Reputation: 15
It seems I might have the case of files scattered everwhere ><

So, I searched for "libsasl2.so", and got back:

Code:
 /usr/lib/libsasl2.so
I then searched for "Sendmail.conf" and got:

Code:
 /usr/lib/sasl2_orig/Sendmail.conf

The contents of /sasl2_orig/ are the following:

Code:
Sendmail.conf           libdigestmd5.so         libplain.la
Sendmail.conf~          libdigestmd5.so.2       libplain.so
libanonymous.la         libdigestmd5.so.2.0.19  libplain.so.2
libanonymous.so         libgssapiv2.la          libplain.so.2.0.19
libanonymous.so.2       libgssapiv2.so          libsasldb.la
libanonymous.so.2.0.19  libgssapiv2.so.2        libsasldb.so
libcrammd5.la           libgssapiv2.so.2.0.19   libsasldb.so.2
libcrammd5.so           liblogin.la             libsasldb.so.2.0.19
libcrammd5.so.2         liblogin.so             smtpd.conf
libcrammd5.so.2.0.19    liblogin.so.2           smtpd.conf~
libdigestmd5.la         liblogin.so.2.0.19

What I understand from this is, the sasl2 lib files that are supposed to be in /usr/lib/sasl2/ are actually in /usr/lib/ correct? Is this the problem?
 
Old 11-15-2007, 02:55 AM   #7
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,130
Blog Entries: 1

Rep: Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004
Quote:
What I understand from this is, the sasl2 lib files that are supposed to be in /usr/lib/sasl2/ are actually in /usr/lib/ correct? Is this the problem?
It's not a problem. All you have to do is to change the references from /usr/lib/sasl2 to /usr/lib in the tutorial you've followed. Or you can create a symlink from /usr/lib to /usr/lib/sasl2.
 
Old 11-15-2007, 10:56 AM   #8
christopher_c
Member
 
Registered: Sep 2007
Posts: 61

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by bathory View Post
It's not a problem. All you have to do is to change the references from /usr/lib/sasl2 to /usr/lib in the tutorial you've followed. Or you can create a symlink from /usr/lib to /usr/lib/sasl2.


going to reasearch on symlink and give it a shot. will let you know how it goes.
 
Old 11-15-2007, 12:36 PM   #9
christopher_c
Member
 
Registered: Sep 2007
Posts: 61

Original Poster
Rep: Reputation: 15
great it works, thank you very much
 
Old 11-16-2007, 12:00 AM   #10
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
Quote:
im trying to get smtp auth working with my email[centos,postfix,dovecot]
Just a comment: postfix >= 2.3 can authenticate against dovecot-auth, so you don't need to bring in cyrus.
 
  


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
[SOLVED] No _sqlite3.so in /usr/lib/python2.5/lib-dynload rshepard Slackware 3 11-12-2007 03:59 PM
oops, I stripped /usr/lib and /usr/X11R6/lib ! H_TeXMeX_H Slackware 2 02-08-2007 10:27 PM
audacity unable to locate required lib files present in /usr/lib/ adityavpratap Slackware 4 11-30-2006 07:06 AM
Compromised? Files "/usr/lib.hwm", "/usr/lib.pwd", "/usr/lib.pwi" Klaus Pforte Linux - Security 4 09-29-2004 12:33 AM
Installing software, /usr/lib directory and /usr/local millertime Linux - Software 2 07-10-2004 10:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:59 AM.

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