authpam seems to work just fine.
authdaemond: authpam: sysusername=*username*, sysuserid=<null>, sysgroupid=100, homedir=*correct home dir*, address=*username*, fullname=*correct full name*, maildir=<null>, quota=<null>, options=<null>
authdaemond: Authenticated: sysusername=*username*, sysuserid=<null>, sysgroupid=100, homedir=*correct home dir*, address=*username*, fullname=*correct full name*, maildir=<null>, quota=<null>, options=<null>
But right after that is:
submit: getpw(*username*) failed - returned by authlib.
So I got myself the corresponding file, which is seems to be courier/module.local/local.c and saw that it uses getpwnam to find the directory. Then I put together a small C testing-programm which looks up a users home directory using both getpw and then getpwnam - and they are working without problems... I'm quite stupefied on this matter...
So I think there would be two solutions:
a) have authpam return a sysuserid (don't know if this is possible or how to do it)
b) somehow get getpwnam to work as it's supposed to (should be easy, but I seem to be missing something)
Best regards
Marcus
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
