Bug 381 - Add User to BuiltinGroup fails
Add User to BuiltinGroup fails
Product: Samba 3.0
Classification: Unclassified
Component: User/Group Accounts
All Linux
: P3 normal
: none
Assigned To: Gerald (Jerry) Carter
Depends on:
Blocks: 827
  Show dependency treegraph
Reported: 2003-09-01 01:38 UTC by Christian A. Moser
Modified: 2005-11-14 09:24 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Christian A. Moser 2003-09-01 01:38:14 UTC
What doesnt work:

When i try to add an user to a Builtin Group (e.g. Administrators, Users,
Guests, ...), using the User Manager for Domains, it fails with "Group Name not


Adding a User to a Builtin Group always fails with "Group Name not found", but
Add/Remove to a local/domain Group functions properly. The same Problem appears
when i try to remove an User from a Group.
I've done all the testing with the User Manger for Domains on a NT4 Server (SP6).

I looked a little bit at the Source code and it appears to me (as far as i
understood the code ;-), that in the functions


the developer has "simply forgotten" to include the if block (like in
_samr_query_aliasmem) to differentiate between the builtin/local groups.

So, i just added the if block (like in _samr_query_aliasmem) to the affected
functions and all the add/remove stuff is now working as i would expect it.


My Systemconfig it the same as is described in Bug #361.
Comment 1 Gerald (Jerry) Carter 2003-12-12 08:28:03 UTC
reseting target milestone.  3.0.1 has been frozen.  WIll have to 
re-evaluate these.
Comment 2 Gerald (Jerry) Carter 2004-01-15 12:50:39 UTC
FIxed by patch from Jianliang Lu <j.lu@tiesse.com> for 3.0.2rc1
Comment 3 Gerald (Jerry) Carter 2005-02-07 09:04:46 UTC
originally reported against one of the 3.0.0rc[1-4] releases.
Cleaning up non-production versions.
Comment 4 Gerald (Jerry) Carter 2005-08-24 10:15:23 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.
Comment 5 Gerald (Jerry) Carter 2005-11-14 09:24:05 UTC
database cleanup