Bug 5429 - poor debug/doc: "Failed to create Users"
Summary: poor debug/doc: "Failed to create Users"
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: User/Group Accounts (show other bugs)
Version: 3.0.28a
Hardware: Other Linux
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
Depends on:
Reported: 2008-04-30 02:58 UTC by Hadmut Danisch
Modified: 2008-04-30 09:39 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Hadmut Danisch 2008-04-30 02:58:02 UTC

I have a problem with the current samba of Ubuntu 8.04 (samba 3.0.28a): Printing doesn't work. Trying to find the problem I ran into heaps of error messages from smb of the form 

  create_builtin_users: Failed to create Users

Unfortunately, neither the debug log nor an strace revealed any reason what exactly had failed or why. It doesn't even try to access the LDAP directory.

In auth/auth_util.c the procedure create_builtin_users calls pdb_create_builtin_alias, but then simply discards the error message, dropping any information about what went wrong. There are dozens of forum entry of other users having the same problem and beeing unable to solve. 

Furthermore I ran into more problems with accounts etc., since there is no concise description of how an LDAP tree should look like to work with samba.
Comment 1 Gerald (Jerry) Carter (dead mail address) 2008-04-30 09:39:01 UTC
Unless you are running winbindd, this is a normal message.  smbd is asking winbindd for a gid in order to create a local BUILTIN\Users group.  If Winbind
is not running , the gid allocation fails and hence the group creation fails.
Note that this is a non-fatal error.

The debug level  was raised from the original threshold to prevent 
confusion but apparently this is still unclear.  I'll update the error msg.