Help

Bruder_S82 at gmx.de Bruder_S82 at gmx.de
Wed Sep 15 03:00:31 PDT 2004


I have the same problem. Can somebody help me?

Hi,
I've posted this on a forum, and sent it to samba at 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 at 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 at 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

THANKS

Sven

-- 
NEU: GMX ProMail mit bestem Virenschutz http://www.gmx.net/de/go/mail
+++ Empfehlung der Redaktion +++ Internet Professionell 10/04 +++



More information about the freebsd-questions mailing list