3 messages in net.sourceforge.lists.courier-users[courier-users] authlib authpam vs au...
FromSent OnAttachments
Charles LacroixJul 28, 2006 1:08 pm 
Charles LacroixJul 31, 2006 6:45 am 
Carlos LopezJul 31, 2006 11:40 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:[courier-users] authlib authpam vs authuserdbActions...
From:Charles Lacroix (clac@cegep-ste-foy.qc.ca)
Date:Jul 28, 2006 1:08:39 pm
List:net.sourceforge.lists.courier-users

Hello,

here is what i am trying to do.

I got a bunch of users to migrate to authmysql for this server but since i don't have there old shadow passwords, i need to migrate this gradually.

So what i had in mind was to use the stacking authentication that courier authlib offers. So 1st, try to authenticate to mysql, if not fall back to authpam, than authuserdb.

the problem i have is my users in /etc/passwd cannot have a @ in them and since i will be hosting multiple domain names, i need to authentify with full email address.

So i was wondering is what is the easiest to get this working.

My first idea was to strip domain part when i authenticate against pam. I haven't found any way to do this yet.

My second options was to put these users in userdb but will i be able to use my old password database.

All this will be only for 1 domain, since the other domains are already in userdb elsewhere.

Thanks for helping me out.