[Samba] PANIC: failed to set gid

Joseph jolt at nicholasofmyra.org
Wed Jul 23 15:40:34 GMT 2003

Thanks for responding.  root is in gid 0, there shouldn't be a problem
there.  I do use nis, however, this server is the nis master.  I know if the
password is changed via passwd, it changes the nis password correctly.  I'm
using passwd as the passwd program and have confirmed the password chat.
The group file nis uses is the standard /etc/group file.  The underlying OS
is FreeBSD.  The client OS is Win2k SP4.

----- Original Message ----- 
From: Don McCall
To: Joseph
Sent: Wednesday, July 23, 2003 10:03 AM
Subject: Re: [Samba] PANIC: failed to set gid

Hi Joseph,
Samba is trying to gain root user and group priviledge in order to change
your user password.  it is failing to do this for the GROUP (gid=0).  It IS
able to change it's uid to root uid=0, from the debug output.  Looks like
something has changed in terms of the home group for the root user on your
system.  check your /etc/passwd /etc/group and make sure that root has
uid=0, and gid=0, and that there IS a group in /etc/group with a gid=0, and
that root is in it.  Or perhaps you have changed from using /etc/passwd and
/etc/group to some other authentication store like ldap or nis???
That's where I'd look, anyway.
Good luck

Joseph <jolt at nicholasofmyra.org> wrote:
I have a Samba controlled domain with Windows 2000 Pro workstations. In the
past, users could use CTRL+ALT+DEL change password to change their domain
password. I'm not sure when it quit working, but it quit. I now get
"domain XXX not available." On the Samba server, the log shows:

[2003/07/22 13:14:16.379102, 0] lib/util_sec.c:assert_gid(114)
Failed to set gid privileges to (0,2060) now set to (2060,2060)
[2003/07/22 13:14:16.382020, 0] lib/util.c:smb_panic(1094)
PANIC: failed to set gid

More information about the samba mailing list