I get some error with courier IMAP when i combine with CAS, and then i read
the article which suggest me to change my mail server with dovecot,postfix
and squirrelmail.

i already have a Proxy Ticket Validate and pam_cas succesfully authenticated
:
-----------------------------------------------------------------
 *PAM_cas[24802]: We use SSL as configured
Jan  3 18:39:46 enterprise-ptpn10 PAM_cas[24802]: We connect to host
www.enterprise-ptpn10.com

Jan  3 18:39:46 enterprise-ptpn10 PAM_cas[24802]: ---- request :#012GET * *
https://www.enterprise-ptpn10.com/cas/proxyValidate?ticket=ST-303-2d0QgxpmFwTT3wdFhtOR-cas&service=imap://www.enterprise-ptpn10.comHTTP/1.1#012Connection:
close#012Host:
www.enterprise-ptpn10.com#012#012

Jan  3 18:39:46 enterprise-ptpn10 PAM_cas[24802]: ---- response
:#012HTTP/1.1 200 OK#015#012Date: Mon, 03 Jan 2011 11:39:46
GMT#015#012Server: Apache/2.2.9 (Debian) mod_jk/1.2.26 PHP/5.3.3-6 with
Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.8o#015#012Content-* *Language:
en-US#015#012Content-Length: 296#015#012Vary:
Accept-Encoding#015#**012Connection:
close#015#012Content-Type:
text/html;charset=UTF-8#015#**012#015#012<cas:**serviceResponse
xmlns:cas='http://www.yale.edu/tp/cas'>#012#011<cas:**
authenticationSuccess>#012#**011#011<cas:user>aziz</cas:**
user>#012#012#012#011#011<cas:**proxies>#012#012#011#011#011<**cas:proxy>
https://www.enterprise-ptpn10.com/squirrelmail/src/login.php</**
cas:proxy>#012#012#011#011</**cas:proxies>#012#012#011</cas:**
authenticationSuccess>#012</**cas:serviceResponse>#012

Jan  3 18:39:46 enterprise-ptpn10 PAM_cas[24802]:   checking element * *
https://www.enterprise-ptpn10.com/squirrelmail/src/login.php

Jan  3 18:39:46 enterprise-ptpn10 PAM_cas[24802]: USER 'aziz' AUTHENTICATED
WITH CAS PT:ST-303-* *2d0QgxpmFwTT3wdFhtOR-cas*

-----------------------------------------------------------------

But, in my /var/log/syslog
-----------------------------------------------------------------
*Jan  3 18:39:45 enterprise-ptpn10 dovecot: auth(default): client in:
AUTH#0111#011PLAIN#011service=**imap#011secured#011lip=127.0.**
0.1#011rip=127.0.0.1#011lport=**143#011rport=59190#011resp=<**hidden>

Jan  3 18:39:45 enterprise-ptpn10 dovecot: auth-worker(default):
pam(aziz,127.0.0.1): lookup service=dovecot* *

Jan  3 18:39:45 enterprise-ptpn10 dovecot: auth-worker(default):
pam(aziz,127.0.0.1): #1/1 style=1 msg=Password:* *
Jan  3 18:39:45 enterprise-ptpn10 dovecot: auth(default): new auth
connection: pid=24845

Jan  3 18:39:48 enterprise-ptpn10 dovecot: auth-worker(default):
pam(aziz,127.0.0.1): pam_authenticate() failed: Authentication failure
(password mismatch?)* *

Jan  3 18:39:50 enterprise-ptpn10 dovecot: auth(default): client out:
FAIL#0111#011user=aziz* *

Jan  3 18:39:55 enterprise-ptpn10 dovecot: imap-login: Aborted login (auth
failed, 1 attempts): user=<aziz>, method=PLAIN, rip=127.0.0.1,
lip=127.0.0.1, secured*
-----------------------------------------------------------------


And from the log, that say "* pam_authenticate() failed: Authentication
failure (password mismatch?)* ",

I confused, what wrong with dovecot and CAS ??
thanks, for your attention...

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to