"Gerald (Jerry) Carter" <[EMAIL PROTECTED]> said: > | The problem with 'username map' files is that the > | mappings seem to work only in one direction, namely > | from NT towards UNIX usernames. However, I'd like > | to achieve a true, bi-directional one-to-one > | mapping, e.g. between UNIX username 'root' and NT > | username 'Administrator'. > > What would you expect by "going in the reverse direction"? > Can you give me an example?
Certainly. Assume again that I want to map UNIX username 'root' to Windows username 'Administrator' (and vice versa). Let's say I have a file on a UNIX machine owned by 'root'. When I then look at this file's security properties on a Windows machine (via Samba share) I will see a entry for 'DOMAIN\root'. I would prefer to see 'DOMAIN\Administrator'. The reason for this is that I am migrating an NT4 domain to Samba. Some users have quite long NT usernames, and I want to keep the corresponding UNIX account names short (max. 8 characters). However, it would be nice if this username change would be completely transparent (ie. not noticeable on Windows domain member clients). Understand that getting this to work is not essential, however it would make the server migration even more perfect and potentially avoid confusion with some users. > | The command 'pdbedit -Lv <username>' shows separate fields > | for both UNIX and NT usernames. > > I think the nt user name is essentially unused. Ah. That'd explain why 'pdbedit' doesn't have an option to manipulate this entry. :-) -- Dominik -- http://www.fastmail.fm - Access all of your messages and folders wherever you are -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
