you need to use the pam_smb PAM module.
three things that are risky here:
1. the pam_smb module requires a config file, I believe this is /etc/pam_smb.conf or similar. The format of this config file is pretty significant:
- no blank lines
- proper capitalization
- no comments
- even if you have only a single SMB server, you need to specify primary and alternate (specify the same server twice)
The first time I was trying with this module, i got really frustrated over it and at some point started looking at the source code; unfortunately, and in addition, the module provides almost no debugging information on log files or so.
Note: this is the Linux standard pam_smb module; the module has _NOT_ been written by Scalix! ;-)
2. the pam_smb module requires the username in AuthId format (which must contain the windows usrename then). To get there, you'll need to
a) make sure your AuthId field contains the Windows Username
b) use the om_om2authid bridge pam module (see it's man page for details) to convert the Scalix Username into the Authid before the pam_smb module is called.
3. I'm not sure about this one, but the pam_smb module might require an additional option that tells it to ignore the fact that the user does not exist in the Linux /etc/passwd file or database.
Hope this helps, if someone get's all the steps together completely, may I suggest that he/she writes up a little doc piece on the Scalix Wiki (
www.scalix.com/wiki) so that others can benefit from it. I would love to do myself, but I don't have the time right now to go through the testing cylcle. I would promise to read any comment on it, if required, though.
-- f.