ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Igor Solovyov <gosha@anti.su>
To: sysadmins@lists.altlinux.org
Subject: [Sysadmins] Help: SASL authentication failure: no secret in database
Date: Sat, 24 Nov 2007 21:36:48 +0500
Message-ID: <20071124213648.3e94cac4.gosha@anti.su> (raw)

Никак не могу справиться вот с такой проблемой:

# postconf -n | grep smtpd_sasl

smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous

в smtpd.conf прописано:

pwcheck_method: saslauthd
mech_list: LOGIN PLAIN

настройки saslauthd:

MECHANISMS="sasldb pam"
OPTIONS="-c -m /var/spool/postfix/var/run/saslauthd"

таблица sasldb2 лежит в /var/spool/postfix/etc

делаю локально:
testsaslauthd -u имя -p пароль \
-f /var/spool/postfix/var/run/saslauthd/mux
0: OK "Success."

Пытаюсь отправить письмо снаружи:

connect from unknown [217.19.xxx.xxx]
setting up TLS connection from unknown[217.19.xxx.xxx] 
SSL_accept:before/accept initialization
SSL_accept:error in SSLv2/v3 read client hello A
SSL_accept:error in SSLv2/v3 read client hello B
SSL_accept:SSLv3 read client hello
SSL_accept:SSLv3 write server
SSL_accept:SSLv3 write certificate
SSL_accept:SSLv3 write key exchange
SSL_accept:SSLv3 flush
SSL_accept:error in SSLv3 read client certificate
SSL_accept:SSLv3 read client key exchange
SSL_accept:error in SSLv3 read certificate
SSL_accept:SSLv3 read finished A
SSL_accept:SSLv3 write change cipher spec
SSL_accept:SSLv3 write finished
SL_accept:SSLv3 flush data
save session
CFD8360930A25BE45EDE6718E554F8639C3965315DBDA69D990D907B6F446694&s=smtps
to smtpd cache
put smtpd session
id=CFD8360930A25BE45EDE6718E554F8639C3965315DBDA69D990D907B6F446694&s=smtps
[data 127 bytes]
write smtpd TLS cache entry
CFD8360930A25BE45EDE6718E554F8639C3965315DBDA69D990D907B6F446694&s=smtps:
time=1195920768 [data 127 bytes]
TLS connection established from unknown[217.19.xxx.xxx]: TLSv1
with cipher DHE-RSA-AES256-SHA (256/256 bits)
warning: SASL authentication failure: no secret in database
warning: unknown [217.19.xxx.xxx]: SASL CRAM-MD5 authentication failed:
authentication failure
lost connection after AUTH from unknown [217.19.xxx.xxx]
disconnect from unknown [217.19.xxx.xxx]

Не пойму почему "no secret in database"? 
Вроде sasldblistusers2 кажет, что:

имя@мой.домен: userPassword

В общем прошу помощи. :-)


-- 
Best Regars!
Igor Solovyov


             reply	other threads:[~2007-11-24 16:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-24 16:36 Igor Solovyov [this message]
2007-11-24 18:04 ` Igor Solovyov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071124213648.3e94cac4.gosha@anti.su \
    --to=gosha@anti.su \
    --cc=sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git