[Samba] Question on use of a username map file and security=domain
interactions ?
Ken Stone
ken at sdd.hp.com
Thu Jul 17 00:10:37 GMT 2003
Hi ....
I'm looking for thoughts/experiences when the following conditions are met ...
I have 2 users .... say Sam Smith and Jeff Smith
On UNIX (on the samba server) their logins are
Walt Smith = "smith"
Jeff Smith = "jsmith
On the NT DOMAIN side, their logins are
Walt Smith = "wsmith"
Jeff Smith = "smith"
In my smb.config file, I have
security = domain [ and all the stuff that goes with it]
username map = /samba/lib/name-maps
And in name-maps, I have
smith = wsmith
jsmith = smith
Note the re-use of the word "smith" on both sides ....
And the issue is that when Walt Smith mounts \\samba\wsmith from his pc, he
actually gets Jeff Smith's home directory and has the permissions as though
he was Jeff Smith on UNIX .... not good .... And if he mounts \\samba\smith
then he gets his home directory but has the permissions as though he was
Jeff Smith on UNIX ... still bad ... It almost seems as though the name
mapping is occuring recursively somehow ?
The server in question is an old 2.0.6-pre1 version but I also have a 2.2.9pre1
server that shows issues along the same thing but behaves a bit differently.
Please reply to me directly so I don't miss it in all the noise !!
Thanks
-- Ken
More information about the samba
mailing list