[Samba] Two Windows users with two passwords must map to the same unix user
Andre.Albsmeier at siemens.com
Thu Nov 18 00:55:02 MST 2010
I have no idea how to implement the following scenario apart
from running two instances of samba on the same machine...
I need a setup where two different Windows users will authen-
ticate with two different passwords but get mapped to the same
JOE got password PASS1 and maps to unix user joe with uid 1000
JACK got password PASS2 and maps to unix user joe with uid 1000
I can set up two instances of samba on the same machine with two
sets of config files, tdbs, ....
In instance 1 the smbpasswd file contains the password entry for joe:
In instance 2 the smbpasswd file contains the password entry for jack
(but using joe as unix user):
and a user.map file containing
joe = jack
This should work but I hope there is a simpler method with only
one instance of samba running...
More information about the samba