Bug 58 - username map behaviour changed
username map behaviour changed
Product: Samba 3.0
Classification: Unclassified
Component: Config Files
All Windows ME
: P2 major
: none
Assigned To: Gerald (Jerry) Carter
Depends on:
  Show dependency treegraph
Reported: 2003-04-30 23:10 UTC by John H Terpstra
Modified: 2005-02-07 07:54 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description John H Terpstra 2003-04-30 23:10:57 UTC
smb.conf [globals]
username map = /etc/samba/smbusers

/etc/samba/smbusers - old format used to work for three users, no longer works,
now treats the name as "Administrator admin "Jack Frost""

root = Administrator admin "Jack Frost"

root = Administrator
root = admin
root = Jack Frost

ie: Now requires 3 lines.
Comment 1 Gerald (Jerry) Carter 2003-05-01 06:12:21 UTC
can't break backwards compatibility for no reason.  Raising to a P2
Comment 2 Gerald (Jerry) Carter 2003-05-21 07:56:45 UTC
I tested the alpha24 code with a username map containing

   jerry = "Gerald Carter" gerald

Everything worked as expected.  

Other than a few formattying changes, the map_username() 
function in 2.2 and 3.0 is identical.

Marking this one as invalid.
Comment 3 Gerald (Jerry) Carter 2005-02-07 07:54:44 UTC
originally reported against 3.0alpha23.  Bugzilla spring cleaning.