hi,

i'm trying to solve a problem whole day today about courier and user 
authentication through pam_ldap.

I've installed courier-authlib and in authdaemonrc i've choosen authpam 
as the authentication mechanism.

I'm using opensuse and through yast i've installed pam, 
pam_ldap,nss_ldap as well as the LDAP client.

Also, i've installed the courier pop/imap server.

Now, i'm using: telnet localhost 110

user test
pass mypass

but i get:

-ERR Login failed.    :(


in var/log/mail i can see:


Dec 19 20:15:43 posidon authdaemond: received auth request, 
service=pop3, authtype=login
Dec 19 20:15:43 posidon authdaemond: authpam: trying this module
Dec 19 20:15:43 posidon authdaemond: authpam: sysusername=test, 
sysuserid=<null>, sysgroupid=111, 
homedir=/array1/vmail/domains/virtual_domain/test, address=test, 
fullname=Test Test, maildir=<null>, quota=<null>, options=<null>
Dec 19 20:15:43 posidon authdaemond: authpam: clearpasswd=<null>, passwd=*
Dec 19 20:15:43 posidon authdaemond: pam_service=pop3, pam_username=test
Dec 19 20:15:43 posidon authdaemond: pam_authenticate failed, result 7
Dec 19 20:15:43 posidon authdaemond: authpam: REJECT - try next module
Dec 19 20:15:43 posidon authdaemond: FAIL, all modules rejected
Dec 19 20:15:43 posidon pop3d: LOGIN FAILED, user=test, 
ip=[::ffff:127.0.0.1]



in /etc/pam.d/pop3 i have:

auth required pam_unix2.so
account required pam_unix2.so


Any ideas guys?

Thanks in advance.








-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to