Bug 58 - username map behaviour changed
Summary: username map behaviour changed
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Config Files (show other bugs)
Version: 3.0.0preX
Hardware: All Windows ME
: P2 major
Target Milestone: none
Assignee: Gerald (Jerry) Carter (dead mail address)
QA Contact:
Depends on:
Reported: 2003-04-30 23:10 UTC by John H Terpstra (mail address dead(
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 (mail address dead( 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 (dead mail address) 2003-05-01 06:12:21 UTC
can't break backwards compatibility for no reason.  Raising to a P2
Comment 2 Gerald (Jerry) Carter (dead mail address) 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 (dead mail address) 2005-02-07 07:54:44 UTC
originally reported against 3.0alpha23.  Bugzilla spring cleaning.