From owner-freebsd-questions@FreeBSD.ORG Tue Apr 29 08:50:31 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 57BA437B401 for ; Tue, 29 Apr 2003 08:50:31 -0700 (PDT) Received: from cmailg1.svr.pol.co.uk (cmailg1.svr.pol.co.uk [195.92.195.171]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD13543FAF for ; Tue, 29 Apr 2003 08:50:29 -0700 (PDT) (envelope-from markie@notwentytwo.freeserve.co.uk) Received: from modem-779.elephant.dialup.pol.co.uk ([217.134.243.11] helo=mrblossom) by cmailg1.svr.pol.co.uk with smtp (Exim 4.14) id 19AXNB-0001JD-7p for freebsd-questions@freebsd.org; Tue, 29 Apr 2003 16:50:27 +0100 Message-ID: <001f01c30e67$25ae0dd0$f300a8c0@mrblossom> From: "Markie" To: Date: Tue, 29 Apr 2003 16:51:05 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Subject: Samba change password crash, Windows 2000 Clients. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Apr 2003 15:50:31 -0000 Hi, I've posted this on a forum, and sent it to samba@lists.samba.org but no one has been able to help me! Maybe i'm not providing enough information or it's a known bug? In which case... oops! Well here goes... Just discovered this problem today when my brother tried to change his password. Windows sat there and eventually said that my domain couldn't be found or something, this seemed very odd so I had a look in the logs and got this show up... Apr 27 21:21:42 bone smbd[496]: [2003/04/27 21:21:42, 0] lib/util_sec.c:assert_gid(114) Apr 27 21:21:42 bone smbd[496]: Failed to set gid privileges to (0,65534) now set to (65534,65534) uid=(0,65534) Apr 27 21:21:42 bone smbd[496]: [2003/04/27 21:21:42, 0] lib/util.c:smb_panic(1094) Apr 27 21:21:42 bone smbd[496]: PANIC: failed to set gid Apr 27 21:21:42 bone smbd[496]: Apr 27 21:21:42 bone smbd[496]: Apr 27 21:21:42 bone /kernel: pid 496 (smbd), uid 65534: exited on signal 6 For a few times whilst windows was sitting there. I've had a look in util_sec.c and it appears to be happening somewhere around here, no? --- static void assert_gid(gid_t rgid, gid_t egid) { if ((egid != (gid_t)-1 && getegid() != egid) || (rgid != (gid_t)-1 && getgid() != rgid)) { if (!non_root_mode()) { DEBUG(0,("Failed to set gid privileges to (%d,%d) now set to (%d,%d) uid=(%d,%d)\n", (int)rgid, (int)egid, (int)getgid(), (int)getegid(), (int)getuid(), (int)geteuid())); smb_panic("failed to set gid\n"); exit(1); } } } --- Can anyone suggest what's going on here? I've got a group 0, wheel, and Samba is running as root. --- root@bone:/usr/ports/net/samba/work/samba-2.2.8a/source/lib# uname -a FreeBSD bone.bone.servebeer.com 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Mon Apr 14 14:40:33 BST 2003 mrboo@bone.bone.servebeer.com:/usr/obj/usr/src/sys/BONE i386 --- If you need more information i'll gladly provide it. Thanks in advance, Markie