Set gid problem hpux10.20 2.0.7-2 binary package

Giulio Orsero giulioo at pobox.com
Mon Oct 2 19:17:16 GMT 2000


On Mon, 02 Oct 2000 11:07:25 -0700, you wrote:


>[2000/10/01 16:54:44, 0] lib/util_sec.c:(69)
>  Failed to set gid privileges to (-1,-2) now set to (0,0) uid=(0,0)
>[2000/10/01 16:54:44, 0] lib/util.c:(2381)
>  PANIC: failed to set gid

1)
Create a new user, ie smbguest, with uid and gid > 0, and then use
guest account = smbguest
in smb.conf (default is nobody which has negative uid on your system)

if this does not help

2)
Look at include/config.h that samba's configure creates and see that the
sys calls samba decides to use to switch uid/gid are appropriate for
your system.

3)
http://samba.org/cgi-bin/samba-patches/accepted?id=4;user=guest
But this should be already in 2.0.7 I think.

-- 
giulioo at pobox.com




More information about the samba mailing list