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 from CAS SERVER and pam_cas
succesfully authenticated :

/var/log/auth.log
-----------------------------------------------------------------
PAM_cas[24802]:     We use SSL as configured

PAM_cas[24802]:     We connect to host www.enterprise-ptpn10.com

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

PAM_cas[24802]:     ---- response :#012HTTP/1.1 200 OK#015#012Date: Mon, 03
Jan 2011 11:39:46 GMT#015#012
               Server: 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#012
               Connection: close#015#012Content-Type:
text/html;charset=UTF-8#015#012#015#012
               <cas:serviceResponsexmlns: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

PAM_cas[24802]:       checking element
https://www.enterprise-ptpn10.com/squirrelmail/src/login.php

PAM_cas[24802]:     USER 'aziz' AUTHENTICATED WITH CAS PT:ST-303-
2d0QgxpmFwTT3wdFhtOR-cas

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


But, in my /var/log/syslog :
-----------------------------------------------------------------
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>

dovecot: auth-worker(default): pam(aziz,127.0.0.1): lookup service=dovecot

dovecot: auth-worker(default): pam(aziz,127.0.0.1): #1/1 style=1
msg=Password:
dovecot: auth(default): new auth connection: pid=24845

dovecot: auth-worker(default): pam(aziz,127.0.0.1): pam_authenticate()
failed: Authentication failure (password mismatch?)

dovecot: auth(default): client out: FAIL#0111#011user=aziz

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?) ", and i think the Proxy Ticket cannot Retrive
the user's password.

I confused, what wrong with dovecot configuration, PAM_CAS 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