[Samba] PANIC: failed to set gid

MCCALL,DON (HP-USA,ex1) don_mccall at hp.com
Wed Jul 3 09:54:02 GMT 2002

What this means is that (assuming this was all working before),
that someone is trying to connect via a user account that 
has a negative uid/gid pair, and smbd is panicing everytime
this happens, and smbd is being reloaded from the disk, etc...
Take a look at your /etc/passwd and /etc/group file and determine
WHO the user is.  Chances are that this is the 'guest' user
'nobody', which is the samba default guest user.  The nobody user
on HPUX has a negative uid and gid, and will give you this behavior.
To fix it, create a dummy user called 'smbnull' (with a positive uid/gid
and add the following line to the global section of your smb.conf file :

guest account = smbnull

Hope this helps,
-----Original Message-----
From: mauer at lendleaserei.com [mailto:mauer at lendleaserei.com]
Sent: Wednesday, July 03, 2002 10:53
To: samba at lists.samba.org
Subject: [Samba] PANIC: failed to set gid

We have been using windows 2000 clients to access a Samba server running
Samba on a Hp UX 10.2 server, password authentication through an NT Server.

No changes made anywhere in months, but the Log.SMB file reports the
following error every 2 seconds and Unix disk utilization is at 100%.   Any
ideas on what this means.

2002/07/03 09:54:03, 0] lib/util_sec.c:(67)
  Failed to set gid privileges to (-1,-24) now set to (0,0) uid=(0,0)
[2002/07/03 09:54:03, 0] lib/util.c:(2456)
  PANIC: failed to set gid

More information about the samba mailing list