|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: (solved) SASL problem (cannot connect to saslauthd server: no such file or directory)
From: Alaor B. de Carvalho Neto (alaor
fdc.br)
Date: Thu Aug 25 2005 - 13:46:25 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Patrick Ben Koetter wrote:
>* Alaor B. de Carvalho Neto <alaor
fdc.br>:
>
>
>>Ok, now the postfix only say that the authentication fail, in the
>>auth.log I've this:
>>
>>Aug 24 21:13:12 mx saslauthd[4132]: do_auth : auth failure:
>>[user=jVš] [service=smtp] [realm=] [mech=shadow] [reason=Unknown]
>>
>>I've typed:
>>
>>telnet localhost 25
>>ehlo mx.fdc.br
>>auth login
>>user
>>pass
>>
>>and i get: 535 Error: Authentication Failure.
>>
>>The user and pass are correct with sure, but I never athenticate properly...
>>
>>
>
>Download and run "saslfinger -s" (see my signature). Send the output to the
>list.
>
>Verify authentication works by using "testsaslauthd".
>
>p
rick
>
>
>
Hello brother, here it goes:
---------------------------------------------------------------------------------------------------------------------
saslfinger - postfix Cyrus sasl configuration Thu Aug 25 14:40:23 BRT 2005
version: 0.9.9.1
mode: server-side SMTP AUTH
-- basics --
Postfix: 2.2.5
System: Debian GNU/Linux 3.1 \n \l
-- smtpd is linked to --
libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x0ffc7000)
-- active SMTP AUTH and TLS parameters for smtpd --
broken_sasl_auth_clients = yes
smtpd_sasl_auth_enable = yes
-- listing of /usr/lib/sasl2 --
total 1062
drwxr-xr-x 2 root root 1456 2005-08-24 19:51 .
drwxr-xr-x 102 root root 45720 2005-08-22 20:48 ..
-rw-r--r-- 1 root root 15644 2004-10-16 18:35 libanonymous.a
-rw-r--r-- 1 root root 851 2004-10-16 18:35 libanonymous.la
-rw-r--r-- 1 root root 19692 2004-10-16 18:35 libanonymous.so
-rw-r--r-- 1 root root 19692 2004-10-16 18:35 libanonymous.so.2
-rw-r--r-- 1 root root 19692 2004-10-16 18:35 libanonymous.so.2.0.19
-rw-r--r-- 1 root root 19034 2004-10-16 18:35 libcrammd5.a
-rw-r--r-- 1 root root 837 2004-10-16 18:34 libcrammd5.la
-rw-r--r-- 1 root root 23080 2004-10-16 18:35 libcrammd5.so
-rw-r--r-- 1 root root 23080 2004-10-16 18:35 libcrammd5.so.2
-rw-r--r-- 1 root root 23080 2004-10-16 18:35 libcrammd5.so.2.0.19
-rw-r--r-- 1 root root 55692 2004-10-16 18:35 libdigestmd5.a
-rw-r--r-- 1 root root 860 2004-10-16 18:35 libdigestmd5.la
-rw-r--r-- 1 root root 53196 2004-10-16 18:35 libdigestmd5.so
-rw-r--r-- 1 root root 53196 2004-10-16 18:35 libdigestmd5.so.2
-rw-r--r-- 1 root root 53196 2004-10-16 18:35 libdigestmd5.so.2.0.19
-rw-r--r-- 1 root root 16054 2004-10-16 18:35 liblogin.a
-rw-r--r-- 1 root root 831 2004-10-16 18:35 liblogin.la
-rw-r--r-- 1 root root 20404 2004-10-16 18:35 liblogin.so
-rw-r--r-- 1 root root 20404 2004-10-16 18:35 liblogin.so.2
-rw-r--r-- 1 root root 20404 2004-10-16 18:35 liblogin.so.2.0.19
-rw-r--r-- 1 root root 36084 2004-10-16 18:35 libntlm.a
-rw-r--r-- 1 root root 825 2004-10-16 18:35 libntlm.la
-rw-r--r-- 1 root root 38884 2004-10-16 18:35 libntlm.so
-rw-r--r-- 1 root root 38884 2004-10-16 18:35 libntlm.so.2
-rw-r--r-- 1 root root 38884 2004-10-16 18:35 libntlm.so.2.0.19
-rw-r--r-- 1 root root 23134 2004-10-16 18:35 libotp.a
-rw-r--r-- 1 root root 825 2004-10-16 18:35 libotp.la
-rw-r--r-- 1 root root 51456 2004-10-16 18:35 libotp.so
-rw-r--r-- 1 root root 51456 2004-10-16 18:35 libotp.so.2
-rw-r--r-- 1 root root 51456 2004-10-16 18:35 libotp.so.2.0.19
-rw-r--r-- 1 root root 16106 2004-10-16 18:35 libplain.a
-rw-r--r-- 1 root root 831 2004-10-16 18:35 libplain.la
-rw-r--r-- 1 root root 20400 2004-10-16 18:35 libplain.so
-rw-r--r-- 1 root root 20400 2004-10-16 18:35 libplain.so.2
-rw-r--r-- 1 root root 20400 2004-10-16 18:35 libplain.so.2.0.19
-rw-r--r-- 1 root root 23492 2004-10-16 18:35 libsasldb.a
-rw-r--r-- 1 root root 852 2004-10-16 18:34 libsasldb.la
-rw-r--r-- 1 root root 26288 2004-10-16 18:35 libsasldb.so
-rw-r--r-- 1 root root 26288 2004-10-16 18:35 libsasldb.so.2
-rw-r--r-- 1 root root 26288 2004-10-16 18:35 libsasldb.so.2.0.19
-rw-r--r-- 1 root root 50 2005-08-24 21:10 smtpd.conf
-rw-r--r-- 1 root root 64 2005-08-24 19:48 smtpd.conf~
-- listing of /usr/local/lib/sasl2 --
total 5334
drwxr-sr-x 2 root staff 800 2005-08-24 15:13 .
drwxrwsr-x 5 root staff 264 2005-08-22 20:41 ..
-rwxr-xr-x 1 root staff 708 2005-08-22 20:41 libanonymous.la
-rwxr-xr-x 1 root staff 145179 2005-08-22 20:41 libanonymous.so
-rwxr-xr-x 1 root staff 145179 2005-08-22 20:41 libanonymous.so.2
-rwxr-xr-x 1 root staff 145179 2005-08-22 20:41 libanonymous.so.2.0.21
-rwxr-xr-x 1 root staff 696 2005-08-22 20:41 libcrammd5.la
-rwxr-xr-x 1 root staff 147479 2005-08-22 20:41 libcrammd5.so
-rwxr-xr-x 1 root staff 147479 2005-08-22 20:41 libcrammd5.so.2
-rwxr-xr-x 1 root staff 147479 2005-08-22 20:41 libcrammd5.so.2.0.21
-rwxr-xr-x 1 root staff 726 2005-08-22 20:41 libdigestmd5.la
-rwxr-xr-x 1 root staff 449208 2005-08-22 20:41 libdigestmd5.so
-rwxr-xr-x 1 root staff 449208 2005-08-22 20:41 libdigestmd5.so.2
-rwxr-xr-x 1 root staff 449208 2005-08-22 20:41 libdigestmd5.so.2.0.21
-rwxr-xr-x 1 root staff 681 2005-08-22 20:41 libotp.la
-rwxr-xr-x 1 root staff 913732 2005-08-22 20:41 libotp.so
-rwxr-xr-x 1 root staff 913732 2005-08-22 20:41 libotp.so.2
-rwxr-xr-x 1 root staff 913732 2005-08-22 20:41 libotp.so.2.0.21
-rwxr-xr-x 1 root staff 692 2005-08-22 20:41 libplain.la
-rwxr-xr-x 1 root staff 141241 2005-08-22 20:41 libplain.so
-rwxr-xr-x 1 root staff 141241 2005-08-22 20:41 libplain.so.2
-rwxr-xr-x 1 root staff 141241 2005-08-22 20:41 libplain.so.2.0.21
-rw-r--r-- 1 root staff 70 2005-08-24 15:13 smtpd.conf
-rw-r--r-- 1 root staff 69 2005-08-24 15:13 smtpd.conf~
-- content of /usr/lib/sasl2/smtpd.conf --
pwcheck_method: saslauthd
mech_list: PLAIN LOGIN
-- content of /usr/local/lib/sasl2/smtpd.conf --
pwcheck_method: saslauthd
mech_list: PLAIN LOGIN CRAM-MD5 DIGEST-MD5
-- active services in /etc/postfix/master.cf --
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
smtp inet n - n - - smtpd
pickup fifo n - n 60 1 pickup
cleanup unix n - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
tlsmgr unix - - n 1000? 1 tlsmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
trace unix - - n - 0 bounce
verify unix - - n - 1 verify
flush unix n - n 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - n - - smtp
relay unix - - n - - smtp
-o fallback_relay=
showq unix n - n - - showq
error unix - - n - - error
discard unix - - n - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
anvil unix - - n - 1 anvil
scache unix - - n - 1 scache
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
old-cyrus unix - n n - - pipe
flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
cyrus unix - n n - - pipe
user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe
flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
-- mechanisms on localhost --
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
-- end of saslfinger output --
---------------------------------------------------------------------------------------------------------------------
I don't have testsaslauthd in my system.
Thankz the help, []'s reggards!
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]