[Postfixbuch-users] Cyrus Authentifizierung

Christian Leicht developer at smm-online.de
Do Nov 13 17:25:46 CET 2003



> Am 13 Nov 2003 um 16:50 hat Christian Leicht geschrieben:
> 
> Laüft cyrus-imapd ?
> Läuft saslauthd ?
> #ps -ax|grep sasl
> #ps -ax|grep imapd

Ja beide laufen


> Füge bitte
> sasl_pwcheck_list: PLAIN
> ans Ende der /etc/imapd.conf
> # service cyrus-imapd restart

Ja

> und füge in der /etc/sysconfig/saslauthd
> "MECH=pam"
> ein

DA steht auch schon
SASLAUTHD_AUTHMECH=pam

drin


> 
> Es Läuft wie folgt:
> imapd --> saslauthd --> pam
> 
> OK jetzt noch die /etc/pam.d/imap überprüfen.
> 
> Was sagt
> #tail -f /var/log/messages
> ?


Nov 13 17:17:12 p15138207 imap(pam_unix)[15570]: unrecognized option
[user=mail]
Nov 13 17:17:12 p15138207 imap(pam_unix)[15570]: unrecognized option
[passwd=xxxxxx]
Nov 13 17:17:12 p15138207 imap(pam_unix)[15570]: unrecognized option
[host=localhost]
Nov 13 17:17:12 p15138207 PAM-warn[15570]: function=[pam_sm_acct_mgmt]
service=[imap] terminal=[<unknown>] user=[web1p2] ruser=[<unknown>]
rhost=[<unknown>]
Nov 13 17:17:12 p15138207 imapd[15658]: login:
pD9005112.dip.t-dialin.net[217.0.81.18] web1p2 plaintext
Nov 13 17:17:38 p15138207 imapd[15658]: accepted connection
Nov 13 17:17:38 p15138207 imapd[15658]: OTP unavailable because can't
read/write key database /etc/opiekeys: No such file or directory
Nov 13 17:17:38 p15138207 imap(pam_unix)[15571]: unrecognized option
[user=mail]
Nov 13 17:17:38 p15138207 imap(pam_unix)[15571]: unrecognized option
[passwd=xxxxxx]
Nov 13 17:17:38 p15138207 imap(pam_unix)[15571]: unrecognized option
[host=localhost]
Nov 13 17:17:38 p15138207 PAM-warn[15571]: function=[pam_sm_acct_mgmt]
service=[imap] terminal=[<unknown>] user=[web1p2] ruser=[<unknown>]
rhost=[<unknown>]
Nov 13 17:17:38 p15138207 imapd[15658]: login:
pD9005112.dip.t-dialin.net[217.0.81.18] web1p2 plaintext
Nov 13 17:18:00 p15138207 /USR/SBIN/CRON[15665]: (root) CMD
(/root/confixx/confixx_counterscript.pl)
Nov 13 17:18:02 p15138207 master[15677]: about to exec
/usr/lib/cyrus/bin/pop3d
Nov 13 17:18:02 p15138207 pop3[15677]: executed
Nov 13 17:18:02 p15138207 pop3d[15677]: accepted connection
Nov 13 17:18:02 p15138207 PAM-warn[15572]: function=[pam_sm_authenticate]
service=[pop] terminal=[<unknown>] user=[web1p2] ruser=[<unknown>]
rhost=[<unknown>]
Nov 13 17:18:02 p15138207 PAM-warn[15572]: function=[pam_sm_acct_mgmt]
service=[pop] terminal=[<unknown>] user=[web1p2] ruser=[<unknown>]
rhost=[<unknown>]
Nov 13 17:18:02 p15138207 pop3d[15677]: login:
pD9005112.dip.t-dialin.net[217.0.81.18] web1p2 plaintext
Nov 13 17:18:05 p15138207 master[15616]: process 15677 exited, status 0
Nov 13 17:18:16 p15138207 PAM-warn[15678]: function=[pam_sm_authenticate]
service=[smtp] terminal=[<unknown>] user=[web1p2] ruser=[<unknown>]
rhost=[<unknown>]
Nov 13 17:18:37 p15138207 master[15684]: about to exec
/usr/lib/cyrus/bin/imapd
Nov 13 17:18:37 p15138207 imap[15684]: executed
Nov 13 17:18:37 p15138207 imapd[15684]: accepted connection
Nov 13 17:18:37 p15138207 imapd[15684]: OTP unavailable because can't
read/write key database /etc/opiekeys: No such file or directory
Nov 13 17:18:37 p15138207 imapd[15684]: DIGEST-MD5 server step 1
Nov 13 17:18:37 p15138207 perl: DIGEST-MD5 client step 2
Nov 13 17:18:40 p15138207 imapd[15684]: DIGEST-MD5 server step 2
Nov 13 17:18:40 p15138207 imapd[15684]: unable to open Berkeley db
/etc/sasldb2: Permission denied
Nov 13 17:18:40 p15138207 imapd[15684]: unable to open Berkeley db
/etc/sasldb2: Permission denied
Nov 13 17:18:40 p15138207 imapd[15684]: no secret in database
Nov 13 17:18:40 p15138207 imapd[15684]: badlogin:
localhost.localdomain[127.0.0.1] DIGEST-MD5 [SASL(-13): user not found: no
secret in database]
Nov 13 17:18:43 p15138207 perl: No worthy mechs found



Danke für Hilfe

Christian

===================================
Christian Leicht
SMM GmbH
Bleicherfleck 3
D-85737 Ismaning
Tel  : 089 / 992 88 992
Fax  : 089 / 992 88 998
Email: c.leicht at smm-online.de
WWW  : http://www.smm-online.de
IP   : 217.160.174.58




Mehr Informationen über die Mailingliste Postfixbuch-users