Steve Langasek skrev:
On Thu, Aug 31, 2006 at 11:18:02AM +0200, Gustaf Räntilä wrote:
[2006/08/30 21:22:05, 0] auth/auth_util.c:create_builtin_administrators(762)
create_builtin_administrators: Failed to create Administrators
[2006/08/30 21:22:05, 0] auth/auth_util.c:create_local_nt_token(876)
create_local_nt_token: Failed to create BUILTIN\Administrators group!
[2006/08/30 21:22:05, 0] auth/auth_util.c:create_builtin_users(728)
create_builtin_users: Failed to create Users
[2006/08/30 21:22:05, 0] auth/auth_util.c:create_local_nt_token(903)
create_local_nt_token: Failed to create BUILTIN\Administrators group!

And the connection dies. On the debian unstable box the server runs from, as well as from my ubuntu box, "smbclient //ip/share" says:
tree connect failed: NT_STATUS_NO_SUCH_GROUP

Please show the passdb backend setting from your smb.conf file.

Sorry for not including it in the first mail.
passdb backend = smbpasswd:/etc/samba/smbpasswd

I really don't care about this setting, I can change to another (relatively simple) backend if it'll work better.

I'm not sure if there's a reason why these calls should fail with the
smbpasswd backend in particular, but could you try converting your smbpasswd
to the tdb backend to see if the problem persists?

Also, the smbd process does have write permissions on /etc/samba/smbpasswd,
right?

Cheers,
smbd and nmbd runs as root, and the file as owner root:root with chmod 600. If I change to 666 and restart samba, it changes the chmod to 600 of the smbpasswd file.

Moving from smbpasswd to tdbsam I used the following from /etc/samba:
pdbedit -i smbpasswd:smbpasswd -e tdbsam:passdb.tdb

I changed smb.conf passdb backend to "tdbsam" (and tried "tdbsam:/etc/samba/passdb.tdb"), but I get the same error.

Regards,
Gustaf

Reply via email to