14 Jun
2003
14 Jun
'03
6:27 p.m.
On Thu, 2003-06-12 at 16:42, Spectron International, Inc. wrote:
a) I don't want to create accounts for each user, can I have a mailboxes directory with the mailboxes of all the users? They are not many (10-15).
You'd need a directory for each user. Something like this should work:
auth_userdb = static uid=123 gid=123 home=/home/mail/%u
auth required pam_smb_auth.so account required pam_smb_auth.so # there is no pam_smb_acct password required pam_smb_auth.so # there is no pam_smb_passwd session required pam_smb_auth.so # there is no pam_smb_session
I don't think you need password or session there. And maybe you could have used pam_unix.so in account too. But I don't really remember what all those PAM things did.