[Samba] "PANIC: failed to set gid" on mipsel

Tomasz Chmielewski mangoo at wpkg.org
Thu Jan 19 12:34:57 GMT 2006

I just compiled Samba 3.0.21a for Linux/mipsel/uclibc.

When I want to start smbd, it fails:

[2006/01/19 12:29:09, 0] lib/util_sec.c:assert_gid(113)
   Failed to set gid privileges to (-1,65534) now set to (0,0) uid=(0,0)
[2006/01/19 12:29:09, 0] lib/util.c:smb_panic2(1554)
   PANIC: failed to set gid

The only way to start smbd is to put this into smb.conf:

guest account = root

But I'm not sure if it's a great idea.

smbd doesn't start with guest account set to nobody.

I have that user in /etc/passwd and /etc/group though:

root at OpenWrt# cat /etc/passwd

root at OpenWrt:/tmp/log/samba# cat /etc/group

I've checked the archives, there were similar errors, but mostly when 
user wanted to change the password on Samba 2.x.

Any ideas why can't I start smbd when "guest account = nobody"?

Tomasz Chmielewski

More information about the samba mailing list