[Postfixbuch-users] SASL authentication failure: Can only find author (no password)

Patrick Ben Koetter p at state-of-mind.de
Di Okt 11 16:09:52 CEST 2005


* Kai Kuehne <kai.kuehne at gmail.com>:
> Hi Patrick,
> erstmal danke fuer deine Geduld. :>

Ich habe mir schon mal einen neuen Kaffee geholt... ;)

> On 10/11/05, Patrick Ben Koetter <p at state-of-mind.de> wrote:
> 
> > > > Hast Du zuvor mit "sample-client" und "sample-server" aus den SASL-Sourcen
> > > > getestet?
> 
> Also ich habe das jetzt mal gemacht..aber da passiert rein gar nichts.

Also: Erstelle einen sysmbolischen Link von smtpd.conf auf eine sample.conf im
selben Verzeichnis in dem die smtpd.conf ist.

# ln -s /usr/lib/sasl2/smtpd.conf /usr/lib/sasl2/sample.conf

> ############################
> server sample # ./sample-server

# ./sample-server -s rcmd -p 8000
trying 10, 1, 6
socket: Address family not supported by protocol
trying 2, 1, 6

> Generating client mechanism list...
> Sending list of 6 mechanism(s)
> S: TlRMTSBMT0dJTiBBTk9OWU1PVVMgUExBSU4gRElHRVNULU1ENSBDUkFNLU1ENQ==
> Waiting for client mechanism...
> ############################
> 
> Und zur gleichen Zeit...
> 
> ############################
> server sample # ./sample-client

# ./sample-client -s rcmd -p 8000 -m PLAIN 127.0.0.1
receiving capability list... recv: {11}
PLAIN LOGIN
PLAIN LOGIN
please enter an authentication id: test at mail.example.com
please enter an authorization id: test at mail.example.com
Password:
send: {5}
PLAIN
send: {1}
Y
send: {18}
test at mail.example.com[0]test at mail.example.com[0]testpass
successful authentication
closing connection

Steht übrigens auch alles im Postfix-Buch, das Ende Oktober auf Deutsch
erscheint... ;)

p at rick


-- 
Das »Postfix«-Buch
<http://www.postfix-buch.com>
saslfinger (debugging SMTP AUTH):
<http://postfix.state-of-mind.de/patrick.koetter/saslfinger/>



Mehr Informationen über die Mailingliste Postfixbuch-users