smbpasswd command - updated

Giulio Orsero giulioo at pobox.com
Sat Jan 22 19:50:41 GMT 2000


On Sun, 23 Jan 2000 06:11:27 +1100, hai scritto:

>  Couldn't find user 'nobody' in smb_passwd file.
>[2000/01/21 08:13:19, 0] lib/util_sec.c:assert_gid(70)
>  Failed to set gid privileges to (-1,-2) now set to (0,0)
>uid=(0,0)
>[2000/01/21 08:13:19, 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.
Don't know what hp11 likes.

-- 
giulioo at pobox.com


More information about the samba mailing list