> > Then you'll need to look at the docs for pam_winbind. Sorry. It looks
> > like
> > it has a "debug" option:
> > http://us3.samba.org/samba/docs/man/manpages-3/pam_winbind.8.html
> 
> Thanks, I'll have a look later. I have a workaround (see earlier mail),
> so I
> can still use that if I can't get it to work as it should!

I spoke too soon :-( When I enter an uppercase username in my mail client,
authentication works, the homedir returned by authdaemond is correct, but
imapd uses the uppercase username to chdir to the homedir, which fails:

Jun 17 14:30:30 vmvmai authdaemond: received auth request, service=imap,
authtype=login
Jun 17 14:30:30 vmvmai authdaemond: authpam: trying this module
Jun 17 14:30:30 vmvmai authdaemond: authpam: sysusername=XNT,
sysuserid=<null>, sysgroupid=10002, homedir=/home/xnt, address=XNT,
fullname=XNT, maildir=<null>, quota=<null>, options=<null>
Jun 17 14:30:30 vmvmai authdaemond: authpam: clearpasswd=<null>, passwd=*
Jun 17 14:30:30 vmvmai authdaemond: pam_service=imap, pam_username=XNT
Jun 17 14:30:30 vmvmai authdaemond: dopam successful
Jun 17 14:30:30 vmvmai authdaemond: Authenticated: sysusername=XNT,
sysuserid=<null>, sysgroupid=10002, homedir=/home/xnt, address=XNT,
fullname=XNT, maildir=<null>, quota=<null>, options=<null>
Jun 17 14:30:30 vmvmai authdaemond: Authenticated: clearpasswd=[pass],
passwd=*
Jun 17 14:30:30 vmvmai imapd: XNT: chdir(/home/xnt) failed!!
Jun 17 14:30:30 vmvmai imapd: error: Permission denied
Jun 17 14:30:30 vmvmai imapd: LOGIN FAILED, user=XNT, ip=[::ffff:10.1.2.54]
Jun 17 14:30:30 vmvmai imapd: authentication error: Permission denied



Tom.



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to