failed to set gid privileges

Giulio Orsero giulioo at pobox.com
Sat Jan 22 19:51:09 GMT 2000


On Sun, 23 Jan 2000 05:08:58 +1100, hai scritto:

>lib/sec_.c:assert_gid(70)
>Failed to set gid priviliges to (-1,100) now set to (0,0) uid (0,0)
>lib/util.c:smb_panic(2456)
>PANIC: failed to set gid

The samba you are using uses a call that is not implemented on your
system, The cause of this may be:
1) you did ./configure as normal user and not root
2) you're using a precompiled binary (compiled on another/different
system)
3) samba ./configure failed to properly detect you system characteristic

Reconfigure samba and look in source/include/config.h for
...
/* #undef USE_SETEUID */
#define USE_SETRESUID 1
/* #undef USE_SETREUID */
/* #undef USE_SETUIDX */
...
if it's not ok for you os, force it to be.

Example: samba-2.0.x on linux 2.2.x/glibc uses SETRESUID. If you use a
samba 2.0.x compiled on linux-2.2.x on a linux-2.0.x/libc5 you get that
error because linux-2.0.x has SETEUID.

-- 
giulioo at pobox.com


More information about the samba mailing list