10 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Still getting inc...
FromSent OnAttachments
Kris KelleyOct 16, 2000 8:32 am 
Kris KelleyOct 16, 2000 2:58 pm 
Kris KelleyOct 17, 2000 12:52 pm 
Kris KelleyOct 18, 2000 9:17 am 
Mike JacksonOct 18, 2000 10:10 am 
mml1...@jesus.cam.ac.ukOct 18, 2000 12:04 pm 
John HannaOct 18, 2000 2:02 pm 
Mike JacksonOct 19, 2000 4:36 am 
John HannaOct 19, 2000 9:32 am 
Matthew M LavyOct 19, 2000 10:09 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] Still getting incorrect information from authcustomActions...
From:Kris Kelley (kkel@genericapp.com)
Date:Oct 16, 2000 2:58:25 pm
List:net.sourceforge.lists.courier-users

In my do_auth_custom function, the code sets authinfo->sysusername and authinfo->address equal to userid, and then fills in information for authinfo->sysuserid, authinfo->sysgroupid, authinfo->homedir, and authinfo->clearpasswd. The remaining authinfo fields are not touched.

Set authinfo->sysusername only if you're authenticating a system user. If you're authenticating anything that's not present in /etc/passwd and /etc/group, leave sysusername as NULL, and only initialize sysuserid and sysgroupid.

These will not be system users, so I took out the code that sets authinfo->sysusername to userid. Unfortunately, I am still seeing the same behavior as before.

Does it make any difference that I'm setting authinfo->address to userid instead of a complete address (e.g. "use@domain.com")?