Bug 217 - "admin users" does not match domain+name if default domain set
Summary: "admin users" does not match domain+name if default domain set
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: winbind (show other bugs)
Version: 3.0.0preX
Hardware: All Linux
: P3 minor
Target Milestone: 3.0.1
Assignee: Gerald (Jerry) Carter (dead mail address)
QA Contact:
Depends on:
Blocks: 807
  Show dependency treegraph
Reported: 2003-07-10 14:46 UTC by Paul Eggleton
Modified: 2005-11-14 09:29 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Paul Eggleton 2003-07-10 14:46:46 UTC
If you have the following defined in smb.conf:

  winbind use default domain = yes

then using DOMAIN\Username instead of Username in the "admin users" option for 
a share does not work (where DOMAIN is the default domain). This is with a 
Windows 2000 ADS domain, if it makes any difference.
Comment 1 Gerald (Jerry) Carter (dead mail address) 2003-08-12 23:56:47 UTC
I think I know how to fix this in user_in_list().  We need to 
mangle the entered username, not the ones in the list.  I'll try 
this tomorrow.
Comment 2 Gerald (Jerry) Carter (dead mail address) 2003-11-27 07:14:46 UTC
The original bug has been fixed.  We always use 'DOMAIN\username' in
user_in_list().  Therefore you must always use the "DOAMIN\..." form
of a user or group in smb.conf for winbindd NSS accounts.
Comment 3 Gerald (Jerry) Carter (dead mail address) 2005-02-07 08:41:30 UTC
originally reported against 3.0.0beta3.  CLeaning out 
non-production release versions.
Comment 4 Gerald (Jerry) Carter (dead mail address) 2005-08-24 10:18:57 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.
Comment 5 Gerald (Jerry) Carter (dead mail address) 2005-11-14 09:29:27 UTC
database cleanup