[Samba] problem saving word documents
Andrew Bartlett
abartlet at samba.org
Wed Sep 11 13:21:00 GMT 2002
Johan Coenen wrote:
>
> 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)
Find out what's got that -1 gid. That is your issue, I think. Or it
might be that your set regid doesn't like that large a group. Either
way, chase this down before you play silly games with irrelevent
paramaters (strict sync etc are not relevent to your issue)
> 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
--
Andrew Bartlett abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team abartlet at samba.org
Student Network Administrator, Hawker College abartlet at hawkerc.net
http://samba.org http://build.samba.org http://hawkerc.net
More information about the samba
mailing list