i'd recommend a passwd file generated from the windows box with the user names in it, and using pam_smb (plug plug.. :-) to do the authentication,
if you have a good windows network with good backup ad servers etc .. you could use LDAP or winbind, but if your 2k network dies your mail server will probably start bouncing mails ... of course pam_smb doesn't work against non- mixed-mode 2k ad servers.. no matter how you authenticate users, I'd still try and make sure the mail server had a full list of users for those unexpected 2k downtimes... Dave. p.s. maybe I might release pam-smb 2.0.0. this year.... On Sat, 22 Jun 2003, Piers Wren wrote: > Hi, > > I'm trying to come up with a nice way to intigrate a linux mail server > into an existing win2k LAN. Basically what i want is for mail to be > hosted on a nice reliable linux box, but for users to be able to use > their existing win2k usernames and passwords to access their mail > (imap/pop). > > I've looked at the main smtp servers i know (qmail, sendmail, postfix, > exim) and imap (uw-imap, couier imap) and nobody seems to mention > anything similar to this. About the closest I can find is PAM > authentication in courier. > > I haven't used it, but i know there's winbind to get the linux box to > authenticate against the win2k server and i'm assuming that could be > used for courier imap, but i'm a bit lost for how to put it together. > > my main questions are... > 1. Is there a better way to do this? > 2. does the linux box itself have to use the winbind pam module, or can > courier use it regardless? > 3. If i don't use winbind for the linux login, how will the smtp server > know what the valid accounts are for receiving mail? > > I guess the first question is the one i'm most concerned about. This > seems like it should be a reasonably common problem. Also, putting in a > samba server for authenticating the windows machines isn't an option as > i'm using features from Active directory. > > In a worst case scenario I can just give people 2 seperate logins, one > for windows and one for mail, but I'd like to avoid that if possible. > > Thanks. > > -- David Airlie, Software Engineer http://www.skynet.ie/~airlied / [EMAIL PROTECTED] pam_smb / Linux DECstation / Linux VAX / ILUG person -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
