[Samba] "Failed to create Users" problem. PLUS further evidence

Daryl samba at darylbeattie.com
Wed Aug 1 21:05:36 GMT 2007


Hi Felipe (and others),

       Thanks very much for your help so far.

Felipe Augusto van de Wiel wrote:
>>        Assuming that's true, how would I change things 
>> to get this problem to go away? Add some kind of group
>> mapping or something? How does one go about doing that?
>>     
> 	Did you checked the Release Notes? And the Samba
> Official HOWTO about Group Mapping?
>   

I did check out the Release Notes, but I'm no samba expert so I didn't 
fully understand them. I will check out the HOWTO on Group Mapping later.

I was hoping you (or anybody, really) had a quick way to get this done 
that didn't require me to do lots of research beforehand. Maybe somebody 
has come across and solved this problem before, and knew exactly what to 
do with say 1 simple command or something. Anyway, I'll look into it 
myself later.


> Probably because you are not login anonymously from Windows.
>   
> 	Anonymous logins are different from WinXP logins, AFAICT.
>   

        Okay, I didn't know that. When I try as a specific user, I get 
the following:

$ smbclient -L //www -U daryl
Password:
session setup failed: NT_STATUS_LOGON_FAILURE

       When I check the log for that machine on the samba server, the 
log is filled with the same sorts of messages as the generic log.smbd 
(but what you see below is from "log.[worstation-name]"):

[2007/08/01 15:03:06, 0] auth/auth_util.c:create_builtin_administrators(792)
  create_builtin_administrators: Failed to create Administrators
[2007/08/01 15:03:06, 0] auth/auth_util.c:create_builtin_users(758)
  create_builtin_users: Failed to create Users
[2007/08/01 15:03:06, 0] auth/auth_util.c:create_builtin_administrators(792)
  create_builtin_administrators: Failed to create Administrators
[2007/08/01 15:03:06, 0] auth/auth_util.c:create_builtin_users(758)
  create_builtin_users: Failed to create Users

       I also saw this at the top of that log file, which seems strange 
to me since I'm using tdbsam:

[2007/08/01 10:06:10, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(241)
  startsmbfilepwent_internal: file /var/lib/samba/private/smbpasswd did 
not exist. File successfully created.


>
>   
>>        I am going to hook up wireshark and watch what's going 
>> on at the network level when I get a free moment. In the
>> meantime, any suggestions whatsoever are welcome.
>>     
>
> 	If everything is ok with you user and group account,
> group mappings and SID, everything should be ok, getting the
> error about builtin accounts with the fact of the migration
> hint me to the BUILTIN Group problems.
>
> 	It could be something else, increased log levels (10)
> can help a lot in this context, you can also test simples
> shares decreasing the security level just to figure out what's
> going on

        I tried increasing the log level to 10 before, and didn't see 
anything unusual beyond the errors reported already. I will try that 
again though, and get back to you.

        Thanks again for the help.

Sincerely,

       Daryl.


More information about the samba mailing list