[Samba] pam_unix failing after pam_winbind when Samba is running in Standalone Server mode

Rowland Penny rpenny at samba.org
Fri Aug 4 17:06:32 UTC 2023

On 04/08/2023 17:42, Jöran Malek via samba wrote:
> Basically, yes.
> Regarding the user.map-file - I'm not quite sure which module that
> should configure, or where to put that.
> A web search engine query didn't bring up any information for either
> PAM or Samba.

If it will work (and I don't know if it will), you don't really 
configure anything, you just add a line similar to this in smb.conf:

username map = /etc/samba/user.map

Then create the user.map containing the information I described earlier, 
hopefully this should map your users from the other machines to the 
users on the local machine.


More information about the samba mailing list