DOMAINNAME\Username

Peter Samuelson peter at cadcamlab.org
Tue Apr 11 02:41:36 GMT 2000


[Matthew Geddes]
> Can you explain who needs the DOMAINNAME\Username? As of when? And
> why this is needed?

So you can tell the difference between MYDOMAIN\Administrator and
MYMACHINE\Administrator (the most common name clash, I guess), but I'm
guessing you figured that part out already....

What the world really needs is either

  username map = /etc/samba/username-%W.map

(where %W is the domain) or, alternatively, a `username map' file
format something like:

  ; username.map
  [domain1]
  user1 = ntuser1
  user2 = ntuser2
  [domain2]
  user3 = ntuser1
  user4 = ntuser2

That, to me, would look a lot nicer than

  ; username.map
  user1 = DOMAIN1\ntuser1
  user2 = DOMAIN1\ntuser2
  user3 = DOMAIN2\ntuser1
  user4 = DOMAIN2\ntuser2

Peter


More information about the samba mailing list