hi, my samba setup worked virtually unchanged for nearly a year, but yesterday the following errors appeared: [1999/11/27 17:18:06, 3] smbd/process.c:switch_message(448) switch message SMBtconX (pid 7568) [1999/11/27 17:18:06, 4] smbd/reply.c:reply_tcon_and_X(312) Got device type ????? [1999/11/27 17:18:06, 3] smbd/password.c:authorise_login(727) ACCEPTED: validated uid ok as non-guest [1999/11/27 17:18:06, 3] smbd/service.c:make_connection(426) Connect path is /tmp [1999/11/27 17:18:06, 0] lib/util_sec.c:assert_gid(70) Failed to set gid privileges to (-1,1003) now set to (0,0) uid=(0,0) [1999/11/27 17:18:06, 0] lib/util.c:smb_panic(2456) PANIC: failed to set gid do you have any idea what can be the problem?? the system now runs debian potato, the samba package was recently upgraded, but the problem persist if I downgrade the packege to a version which worked a day before.. -- InfraRED of aurora-borealis/Veres Tibor <infrared@a-b.hu>
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
Hi, 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 pair) and add the following line to the global section of your smb.conf file : guest account = smbnull Hope this helps, Don -----Original Message----- From: mauer@lendleaserei.com [mailto:mauer@lendleaserei.com] Sent: Wednesday, July 03, 2002 10:53 To: samba@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
Hi, samba 2.2.8 is working on my FreeBSD 4.8 - server. Samba is the PDC and almost everything is working fine. When a user wants to change his own samba password, he presses CTRL_ALT_Delete in windows and clicks on "Change Password". After entering the passwords, windows shows a popup which says that it isn't possible to change the password because the domain is not available. On the console these errors appear (many times): /kernel: pid 94755 (smbd), uid 1010: exited on signal 6 /kernel: pid 94756 (smbd), uid 65534: exited on signal 6 in /var/log/log.[PCname] these errors appear: [2003/05/27 14:55:08, 0] lib/util_sec.c:assert_gid(114) Failed to set gid privileges to (0,1001) now set to (1001,1001) uid=(0,1001) [2003/05/27 14:55:08, 0] lib/util.c:smb_panic(1094) PANIC: failed to set gid What is happening to samba, and what is the solution for this problem? Thanks in advance, Dennis
I have looked through the mailing lists for an answer to this. It would seem that many people have had this problem, but no one has posted an answer. 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) uid=(0,2060) [2003/07/22 13:14:16.382020, 0] lib/util.c:smb_panic(1094) PANIC: failed to set gid I can't find any reason why I'm getting this message. The configuration file has not changed since I was able to get the password change to work. Does anyone have any ideas?
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 Don Joseph <jolt@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) uid=(0,2060) [2003/07/22 13:14:16.382020, 0] lib/util.c:smb_panic(1094) PANIC: failed to set gid