[Samba] problem saving word documents

Johan Coenen johan.coenen at aiv.kuleuven.ac.be
Wed Sep 11 13:18:09 GMT 2002


At 22:35 11/09/2002 +1000, Andrew Bartlett wrote:
> > - Panic: failed to set gid
> > ( lib/util_sec.c:assertgid(111)
> >    lib/util.c:smb_panic(1092) )
>
>Fix this.  If samba every 'panics' then it is terminating itself with
>extreme prejudice.  You *will* corrupt files - if your program doesn't
>like having a half-rewritten file.
>
>Samba is changing to a new group id, but when it double-checked, it had
>not changed.  Do any of your users or groups have negitive GIDs?

No,
The full message we get is the following:

Sep 10 16:14:55 ls-aiv-03 smbd[15088]: [2002/09/10 16:14:55, 0] 
lib/util_sec.c:assert_gid(111)
Sep 10 16:14:55 ls-aiv-03 smbd[15088]:   Failed to set gid privileges to 
(-1,79999999) now set to (0,0) uid=(0,0)
Sep 10 16:14:55 ls-aiv-03 smbd[15088]: [2002/09/10 16:14:55, 0] 
lib/util.c:smb_panic(1092)
Sep 10 16:14:55 ls-aiv-03 smbd[15088]:   PANIC: failed to set gid

All our users have the same primary gid: 79999999
The uid of our users are in the range 10000 - 200000
Our machine accounts all have gid = 49999999
uid's of our machine accounts are in the range 900-1000

We left our guest account at the default 'nobody'
uid/gid of nobody is 99/99

But we don't make any explicit use of the guest-account in our smb.conf file.

Johan




More information about the samba mailing list