The Samba-Bugzilla – Bug 5429
poor debug/doc: "Failed to create Users"
Last modified: 2008-04-30 09:39:01 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.
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.