Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jan 2002 19:47:48 +0300
From:      Pavel A Crasotin <pavel@ctk.ru>
To:        freebsd-stable@FreeBSD.ORG
Subject:   Cyrus+pam_radius. How to make work?
Message-ID:  <123731587847.20020118194748@ctk.ru>

next in thread | raw e-mail | index | archive | help
Hi

I'v a asked in cyrus-info but seems none knows why cyrus-imap 2.0.16
(cyrus-sasl-1.15.27) dont work with pam_radius.

Can anyone help me?

Here is log of my testing

imapd.conf:
sasl_pwcheck_method: PAM

/etc/pam.conf:
imap  auth  required   pam_radius.so   try_first_pass
pop3  auth  required   pam_radius.so   try_first_pass

IMAP:
# imtest -m login -a test localhost
C: C01 CAPABILITY
S: * OK localhost.domain.ru Cyrus IMAP4 v2.0.16 server ready
S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS ID NO_ATOMI
C_RENAME UNSELECT MULTIAPPEND SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES IDLE
AUTH=DIGEST-MD5 AUTH=CRAM-MD5
S: C01 OK Completed
Password: test
C: L01 LOGIN test {4}
+ go ahead
C: <omitted>
L01 NO Login failed: authentication failure
Authentication failed. generic failure
Security strength factor: 0
. logout
* BYE LOGOUT received
. OK Completed
Connection closed.

And tcpdump shows:
# tcpdump host radiushost
tcpdump: listening on pcn0
12:02:39.785085 localhost.domain.ru.hiq > radiushost.1645:  rad-access-req 73 [
id 149] Attr[  User{test} Pass [|radius]
12:02:39.817945 radiushost.1645 > localhost.domain.ru.hiq:  rad-access-accept 2
0 [id 149] (DF)


With respect,
Pavel A Crasotin
____________________________________
OJSC SeverTransCom
40/13 Sobinova, Yaroslavl, 150000, Russia
Tel/Fax: +7 (0852) 47-71-70, 47-69-49
         +7 (0852) 72-17-28, 72-17-38


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?123731587847.20020118194748>