cyrus-sasl installation help

cyrus-sasl installation help

Post by Tom » Sun, 11 Mar 2001 07:18:49



Hello all,

I have a problem when installing cyrus-sasl from OpenBSD ports
i did "./configure --enable-login", "make" and then "make package && make install".
I got that message saying to create a symbolic link to /usr/lib/sasl from
/usr/local/lib/sasl so i did: ln -s /usr/local/lib/sasl /usr/lib/sasl.

So the simbolic link exist.
Now i edit the /usr/lib/sasl/Sendmail.conf and put "pwcheck_method: sasldb" in it.
Then to see if that thing works i added the user: /usr/local/sbin/saslpasswd tom :
asked me for the password, verify and boom.. user has been added.  Now i need to see
all my users which were added and what encryption method has been use to store the
password for that user: /usr/local/sbin/sasldblistusers : Here is the result:

user: tom realm: wincrash mech: PLAIN

From what i understand it should of say something like:

user: tom realm: wincrash mech: PLAIN
user: tom realm: wincrash mech: CRAM-MD5
user: tom realm: wincrash mech: DIGEST-MD5

And i've read somewhere that if it doesn't show the other two that means other encryption
files are not being found in: /usr/lib/sasl why?

ls /usr/lib/sasl
Sendmail.conf           libcrammd5.la           libdigestmd5.so.0.17
libanonymous.la         libcrammd5.so.1.15      libplain.la
libanonymous.so.1.15    libdigestmd5.la         libplain.so.1.14

ls /usr/local/lib/sasl
Sendmail.conf           libcrammd5.la           libdigestmd5.so.0.17
libanonymous.la         libcrammd5.so.1.15      libplain.la
libanonymous.so.1.15    libdigestmd5.la         libplain.so.1.14

ls /usr/local/include
c-client    libintl.h   libnet.h    md5global.h sasl.h      saslutil.h
hmac-md5.h  libnet      md5.h       sasl        saslplug.h  tcl8.3

ls /usr/local/lib
crtln.sh           libc-client.so.2.1 libintl.so.1.0     libtcl83.a         sasl
joe                libintl.a          libnet.a           libtcl83.so        tcl8.3
libc-client.a      libintl.la         libsasl.la         libtcl83.so.1.3    trafshow
libc-client.so     libintl.so         libsasl.so.8.8     libtclstub83.a

Thats my current info.
On sendmail.org i found something and read that modules cannot end in *.so.<number>.<number>
and there was that tool for changing it called "crtln.sh" so i ran it and it created symbolic
links to *.so.<number>.<number> with the ending of (*.so).

All that seems to be a problem of my sendmail not working with SASL, because when i do grep in sendmail for
SASL its there but thats my sendmail error log:

Mar  8 11:28:51 wincrash sendmail[11710]: SASL error: listmech=0, num=0

I did recompile sendmail with new settings to use SASL which looks like that:

cat /site.config.m4
APPENDDEF(`conf_sendmail_LIBS', `-lsasl')
APPENDDEF(`confENVDEF', `-DSASL=10524')

APPENDDEF(`confLIBDIRS', `-L/usr/local/lib')
APPENDDEF(`confINCDIRS', `-I/usr/local/include')

./Build - Recompiled fine.

cd  obj.*/sendmail
./sendmail -bs -C/openbsd.cf
220 yada.yada.yada.com ESMTP Sendmail 8.11.3/8.11.3; Fri, 9 Mar 2001 14:01:47 -0800 (PST)
ehlo localhost

250-ENHANCEDSTATUSCODES
250-EXPN
250-VERB
250-8BITMIME
250-SIZE
250-DSN
250-ONEX
250-ETRN
250-XUSR
250 HELP
auth
503 5.3.3 AUTH not available

Now this is hell, i dont know what i'm doing wrong, if anyone of you ever tried to do it and actually
did it, could you please thell me what is wrong with my settings and install.

Thanks a lot.
Tom,

 
 
 

cyrus-sasl installation help

Post by Claus A?man » Sun, 11 Mar 2001 12:49:39


Please do NOT post HTML. Usually I would have skipped this posting...

: ls /usr/lib/sasl
: Sendmail.conf           libcrammd5.la           libdigestmd5.so.0.17
: libanonymous.la         libcrammd5.so.1.15      libplain.la
: libanonymous.so.1.15    libdigestmd5.la         libplain.so.1.14

: On sendmail.org i found something and read that modules cannot end in
: *.so.<number>.<number>
: and there was that tool for changing it called "crtln.sh" so i ran it
: and it created symbolic
: links to *.so.<number>.<number> with the ending of (*.so).

Where did you did do this?  In /usr/lib or in /usr/lib/sasl ?  You
have to do it in the latter directory, because Cyrus-SASL looks for
.so files.

--
If you feel the urgent wish to send me a courtesy copy of a Usenet
posting, then make sure it's recognizable as such!
The FAQ: http://www.sendmail.org/faq/              Before you ask.

 
 
 

cyrus-sasl installation help

Post by nofx » Mon, 12 Mar 2001 15:00:35


Well thanks, Sendmail is not starting with SASL errors anymore, but why are there only
ANONYMOUS and PLAIN authentication mechanisms available, and when i do "AUTH" when
teleneted to smtp it says that the Mechanism is not available.

Thank,
Tom

  Hello all,

  I have a problem when installing cyrus-sasl from OpenBSD ports
  i did "./configure --enable-login", "make" and then "make package && make install".
  I got that message saying to create a symbolic link to /usr/lib/sasl from
  /usr/local/lib/sasl so i did: ln -s /usr/local/lib/sasl /usr/lib/sasl.

  So the simbolic link exist.
  Now i edit the /usr/lib/sasl/Sendmail.conf and put "pwcheck_method: sasldb" in it.
  Then to see if that thing works i added the user: /usr/local/sbin/saslpasswd tom :
  asked me for the password, verify and boom.. user has been added.  Now i need to see
  all my users which were added and what encryption method has been use to store the
  password for that user: /usr/local/sbin/sasldblistusers : Here is the result:

  user: tom realm: wincrash mech: PLAIN

  From what i understand it should of say something like:

  user: tom realm: wincrash mech: PLAIN
  user: tom realm: wincrash mech: CRAM-MD5
  user: tom realm: wincrash mech: DIGEST-MD5

  And i've read somewhere that if it doesn't show the other two that means other encryption
  files are not being found in: /usr/lib/sasl why?

  ls /usr/lib/sasl
  Sendmail.conf           libcrammd5.la           libdigestmd5.so.0.17
  libanonymous.la         libcrammd5.so.1.15      libplain.la
  libanonymous.so.1.15    libdigestmd5.la         libplain.so.1.14

  ls /usr/local/lib/sasl
  Sendmail.conf           libcrammd5.la           libdigestmd5.so.0.17
  libanonymous.la         libcrammd5.so.1.15      libplain.la
  libanonymous.so.1.15    libdigestmd5.la         libplain.so.1.14

  ls /usr/local/include
  c-client    libintl.h   libnet.h    md5global.h sasl.h      saslutil.h
  hmac-md5.h  libnet      md5.h       sasl        saslplug.h  tcl8.3

  ls /usr/local/lib
  crtln.sh           libc-client.so.2.1 libintl.so.1.0     libtcl83.a         sasl
  joe                libintl.a          libnet.a           libtcl83.so        tcl8.3
  libc-client.a      libintl.la         libsasl.la         libtcl83.so.1.3    trafshow
  libc-client.so     libintl.so         libsasl.so.8.8     libtclstub83.a

  Thats my current info.
  On sendmail.org i found something and read that modules cannot end in *.so.<number>.<number>
  and there was that tool for changing it called "crtln.sh" so i ran it and it created symbolic
  links to *.so.<number>.<number> with the ending of (*.so).

  All that seems to be a problem of my sendmail not working with SASL, because when i do grep in sendmail for
  SASL its there but thats my sendmail error log:

  Mar  8 11:28:51 wincrash sendmail[11710]: SASL error: listmech=0, num=0

  I did recompile sendmail with new settings to use SASL which looks like that:

  cat /site.config.m4
  APPENDDEF(`conf_sendmail_LIBS', `-lsasl')
  APPENDDEF(`confENVDEF', `-DSASL=10524')

  APPENDDEF(`confLIBDIRS', `-L/usr/local/lib')
  APPENDDEF(`confINCDIRS', `-I/usr/local/include')

  ./Build - Recompiled fine.

  cd  obj.*/sendmail
  ./sendmail -bs -C/openbsd.cf
  220 yada.yada.yada.com ESMTP Sendmail 8.11.3/8.11.3; Fri, 9 Mar 2001 14:01:47 -0800 (PST)
  ehlo localhost

  250-ENHANCEDSTATUSCODES
  250-EXPN
  250-VERB
  250-8BITMIME
  250-SIZE
  250-DSN
  250-ONEX
  250-ETRN
  250-XUSR
  250 HELP
  auth
  503 5.3.3 AUTH not available

  Now this is hell, i dont know what i'm doing wrong, if anyone of you ever tried to do it and actually
  did it, could you please thell me what is wrong with my settings and install.

  Thanks a lot.
  Tom,

 
 
 

1. cyrus-sasl and ld

hi folks,

i try to compile sendmail with auth enabled, so i need cyrus-sasl.

system: openbsd 3.0

tried to install cyrus-sasl as port and package (both of the two
packages).

installs works fine, but ld doesn't like it. during compilation
of sendmail it breaks saying:

---

ld: -lsasl: no match
---

BUT: ldconfig knows it so far:

---

/var/run/ld.so.hints:
        search directories: /usr/lib:/usr/local/lib:/usr/local/lib/pth
. . .
        43:-lsasl.8.10 => /usr/local/lib/libsasl.so.8.10
---

tried ldconfig -R with several path entries for hours now, rebooting,
wishing the pc to hell and so on ;)

any ideas?

thanks in advance ...

p.s.: sybolic link /usr/lib/sasl set...

2. Redhat 5.2 and PPP

3. Compiling cyrus-sasl

4. Help: Win98 crash trashes MBR and partition table; Linux wont boot

5. Cyrus-SASL compile problem

6. RedHat 3.03 and Comtrol RocketPort Driver Install Problem

7. POP-before-SMTP/log2db/RH 6.2/Sendmail 8.11/Cyrus-SASL

8. Searching for symbolic/hard links

9. Anyone use cyrus-sasl ?

10. Cyrus SASL Installation

11. OpenLDAP and Cyrus SASL installation

12. Problems with Heimdal, OpenLDAP, Cyrus SASL, GSSAPI, and Active Directory

13. solaris 9 / cyrus imap sasl compile problems