[Samba] Cant find uid=0

Philip Burrow phil.burrow at blueyonder.co.uk
Fri Oct 11 18:10:01 GMT 2002


Im having a problem adding machines to a domain. All has been fine until
today. This is the output when I try to add a machine (WinXP). It appears to
be looking for a root user in my LDAP directory but isnt finding it (because
there isnt a user 'root' there). User 'Administrator' exists.

Must there be an instance of 'root' in Samba LDAP backends? I've ploughed
through the idealx HOWTO for this, but Messrs Lemaire don't explicitly
create a root user. Can someone help?

[2002/10/11 17:34:27, 0] smbd/service.c:make_connection(381)
  make_connection: administrator logged in as admin user (root privileges)
[2002/10/11 17:34:28, 0] smbd/service.c:make_connection(381)
  make_connection: administrator logged in as admin user (root privileges)
[2002/10/11 17:34:28, 0] rpc_server/srv_samr.c:api_samr_set_userinfo(670)
  api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO.
[2002/10/11 17:34:29, 0] passdb/pdb_ldap.c:pdb_getsampwnam(858)
  LDAP search "(&(uid=root)(objectclass=sambaAccount))" returned 0 entries.
[2002/10/11 17:34:29, 0] rpc_server/srv_samr_nt.c:_samr_set_userinfo(2480)
  _samr_set_userinfo: Unable to get smbpasswd entry for uid 0

then further on it'll say:

[2002/10/11 17:43:03, 1] smbd/password.c:pass_check_smb(545)
  Couldn't find user 'root' in passdb.
[2002/10/11 17:43:03, 1] smbd/reply.c:reply_sesssetup_and_X(998)
  Rejecting user 'root': authentication failed

Phil.





More information about the samba mailing list