Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 21654

Summary: PANIC: failed to set gid
Product: [Retired] Red Hat Linux Reporter: Larry Fahnoe <fahnoe>
Component: kernelAssignee: Michael K. Johnson <johnsonm>
Status: CLOSED RAWHIDE QA Contact: Dale Lovelace <dale>
Severity: medium Docs Contact:
Priority: high    
Version: 7.0CC: fahnoe, notting
Target Milestone: ---   
Target Release: ---   
Hardware: alpha   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-12-16 21:51:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
patch to possibly fix samba/kernel interaction none

Description Larry Fahnoe 2000-12-03 20:28:34 UTC
Red Hat Linux release 7.0 (Guinness)
Kernel 2.2.17-4 on an alpha

glibc-2.2-5
samba-2.0.7-21ssl

smb.conf:
   encrypt passwords = yes
   smb passwd file = /etc/samba/smbpasswd

NT 4 client attempts to connect to server using valid username/password,
/var/log/samba/client.log shows:

[2000/12/03 14:19:09, 0] lib/util_sec.c:assert_gid(72)
  Failed to set gid privileges to (-1,500) now set to (0,0) uid=(0,0)
[2000/12/03 14:19:09, 0] lib/util.c:smb_panic(2381)
  PANIC: failed to set gid

The same smb.conf with the same release of RedHat on my Intel system works
properly.

--Larry

Comment 1 Bill Nottingham 2000-12-06 16:35:01 UTC
This appears to be a kernel problem. Reassigning there.

Comment 2 Bill Nottingham 2000-12-15 22:06:08 UTC
*** Bug 22371 has been marked as a duplicate of this bug. ***

Comment 3 Bill Nottingham 2000-12-15 22:06:32 UTC
*** Bug 22371 has been marked as a duplicate of this bug. ***

Comment 4 Bill Nottingham 2000-12-15 22:07:15 UTC
*** Bug 22371 has been marked as a duplicate of this bug. ***

Comment 5 Bill Nottingham 2000-12-15 22:13:01 UTC
Can you apply the attached and rebuild your kernel - does it work then?

Comment 6 Bill Nottingham 2000-12-15 22:14:36 UTC
Created attachment 6493 [details]
patch to possibly fix samba/kernel interaction

Comment 7 Larry Fahnoe 2000-12-16 21:51:39 UTC
Yes, the patch solves the problem.

Tested with patch applied to 2.2.18 stock kernel, not RH 2.2.17-4.  I'm assuming that you will get the updated entry points to the proper kernel folks, but 
let me know if you are not planning to and I will send them the update.

Thanks!!

--Larry

Comment 8 Bill Nottingham 2001-02-07 08:05:19 UTC
This got fixed in both the 2.4.0 rawhide kernels and whatever the 
last 2.2 one we built was.

Comment 9 Bill Nottingham 2001-03-19 16:13:42 UTC
*** Bug 32223 has been marked as a duplicate of this bug. ***