> You mean, why are you getting different answers for the home directory
> attribute? No idea - I don't do Windows. Turn on auth debugging again.

Jun 17 11:29:49 vmvmai authdaemond: received userid lookup request: coz
Jun 17 11:29:49 vmvmai authdaemond: authpam: trying this module
Jun 17 11:29:49 vmvmai authdaemond: authpam: sysusername=coz,
sysuserid=<null>, sysgroupid=100, homedir=/home/coz, address=coz, fullname=,
maildir=<null>, quota=<null>, options=<null>
Jun 17 11:29:49 vmvmai authdaemond: authpam: clearpasswd=<null>, passwd=x
Jun 17 11:29:49 vmvmai authdaemond: Authenticated: sysusername=coz,
sysuserid=<null>, sysgroupid=100, homedir=/home/coz, address=coz, fullname=,
maildir=<null>, quota=<null>, options=<null>
Jun 17 11:29:49 vmvmai authdaemond: Authenticated: clearpasswd=<null>,
passwd=

Jun 17 11:30:05 vmvmai authdaemond: received userid lookup request: COZ
Jun 17 11:30:05 vmvmai authdaemond: authpam: trying this module
Jun 17 11:30:05 vmvmai authdaemond: authpam: sysusername=COZ,
sysuserid=<null>, sysgroupid=10002, homedir=/home/SERVER/coz, address=COZ,
fullname=COZ, maildir=<null>, quota=<null>, options=<null>
Jun 17 11:30:05 vmvmai authdaemond: authpam: clearpasswd=<null>, passwd=*
Jun 17 11:30:05 vmvmai authdaemond: Authenticated: sysusername=COZ,
sysuserid=<null>, sysgroupid=10002, homedir=/home/SERVER/coz, address=COZ,
fullname=COZ, maildir=<null>, quota=<null>, options=<null>
Jun 17 11:30:05 vmvmai authdaemond: Authenticated: clearpasswd=<null>,
passwd=*

That only learns me that the authpam module is being used. I guess in the
first case the homedir for the local user is returned. The second case uses
a winbind setting in smb.conf to set the homedir to /home/SERVER/[username].


I think I found a way now... The authentication itself works with whatever
case I use for the username, so that's good. Only problem is the homedir;
but I solved that by adjusting the smb.conf file to return /home/[username]
instead of /home/SERVER/[username]... Winbind seems to use a lowercased
version of the username in the homedir, and some of the homedirs on our
system were uppercase, so I first had to rename the homedirs to lowercase.
Maybe it's not the most elegant solution, but at least it works (well, I
think it will work ;-) )

Thanks for your help!
 



-------------------------------------------------------------------------
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