Hi John,
The panic is probably due to you're having negative uid/gids (in this case
gid=-24). Samba 2.0.x doesn't deal well with negative uid/gid's.
Check your /etc/passwd and /etc/group files for negative uid/gid or
uid/gid > 65534. you might specifically want to check on what your
guest account option is in your smb.conf file; if it is not set, samba uses
nobody:nogroup, typically negative uid/gid pair on an HP-UX system. (But NOT
typically -24!)...
Hope this helps,
Don
-----Original Message-----
From: John Raptis [mailto:john.raptis@dsto.defence.gov.au]
Sent: Wednesday, January 10, 2001 9:34 PM
To: samba@us5.samba.org
Subject: Samba and win2000 syncronize problems
Hi Samba team
Server Operating Environment:
UNIX server: HP K260 running HPUX 10:20
Samba Version: 2.0.7
Samba compiled using GNU 2.8.1
"User" level security.
Client Operating environment:
Windows 2000 PRO (on Compaq M700) with SP1 (Plain password reg entry
installed)
Samba was recently (3 days ago) upgraded from version 1.8.18P4 to
version 2.0.7.
Now when I connect to the samba server using my Win2K client I get the
following error messages continuously appearing in the log file, the
samba connection drop out, and the connection never re-establishes:
<Error Messages begin > (NOTE: IP and Usernames taken out)
[2001/01/09 15:35:06, 1] smbd/service.c:make_connection(550)
bogus (IP Address was here) connect to service comp as user (Username
was here)
(uid=2004, gid=23000) (pid 8195)
[2001/01/09 15:35:06, 1] smbd/service.c:close_cnum(583)
bogus (IP Address was here) closed connection to service comp
[2001/01/09 15:35:06, 1] smbd/service.c:make_connection(550)
bogus (IP Address was here) connect to service comp as user (Username
was here)
(uid=2004, gid=23000) (pid 8195)
[2001/01/09 15:35:07, 0] lib/util_sec.c:assert_gid(72)
Failed to set gid privileges to (-1,-24) now set to (0,0) uid=(0,0)
[2001/01/09 15:35:07, 0] lib/util.c:smb_panic(2381)
PANIC: failed to set gid
[2001/01/09 15:35:12, 0] lib/util_sec.c:assert_gid(72)
Failed to set gid privileges to (-1,-24) now set to (0,0) uid=(0,0)
[2001/01/09 15:35:12, 0] lib/util.c:smb_panic(2381)
PANIC: failed to set gid
<Error Messages Stop>
I have determined that it is mainly caused when "Off-line Files" is
enabled under win2000. When one tries to synchronize files between
workstation and server the above error messages begin appearing and this
triggers the workstation to operate in an "Off-line" state. Trying to
put
the machine back online produces more of the above error messages as the
machine tries to synchronize all files.
I have also managed to reproduce this error when "Off-line Files" was
disabled and I try to get property information on a file.
Any ideas on how to overcome this problem would be greatly appreciated.
--
Regards
John Raptis
EWD IT Manager
DSTO, Electronic Warfare Division
PO BOX 1500 SALISBURY, 5108, Australia
Email: John.Raptis@dsto.defence.gov.au
Phone: +61 8 8259 6127 Fax: +61 8 8259 5938
Mobile: 0417 876 672