Bug 1478 - smbd process stuck in IPC$ connection when there is a invalid user in a group in /etc/group file
smbd process stuck in IPC$ connection when there is a invalid user in a group...
Product: Samba 3.0
Classification: Unclassified
Component: User/Group Accounts
All Linux
: P3 normal
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
: 1533 (view as bug list)
Depends on:
  Show dependency treegraph
Reported: 2004-06-25 08:13 UTC by Gerald (Jerry) Carter
Modified: 2005-08-24 10:16 UTC (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Gerald (Jerry) Carter 2004-06-25 08:13:39 UTC
Readding after server hickup:

A Samba server configured as domain controller launch a smbd process for each 
IPC$ connection during client authentication. The launched smbd process boost 
the CPU load of the system. 
Steps to reproduce: 
	1) Edit a group in /etc/group. Add a user, it mustn't exist 
in /etc/passwd. I had that line: 
	2) I had the group in the NETLOGON share definition: 
		        path = /usr/local/share/samba/lib/netlogon 
		        write list = +staff 
		        create mask = 0664 
		        directory mask = 0775 
		        force directory mode = 02000 
		        browseable = No 
		I think it need to see the expected results. 
	3) Authenticate in a Windows client in the domain. 
Actual results: 
The smbd process for the IPC$ connection from the Windows client begin an 
infinite loop. In the loop the process call getpwnam function to get the name 
of the invalid user. The getpwname function always return an error condition 
because the user doesn't exist, and the process never leaves the loop.
Comment 1 Guenther Deschner 2004-07-15 02:45:50 UTC
Reproduced here.

Should be fixed with

Could you please try again with samba3.0.5rc1 ?
Comment 2 Jesús Torres 2004-07-15 07:06:15 UTC
Sorry, it will take me some days. 
I only have a production server with a backport of samba 3.0.4 for debian 
woody. I don't have another test machine. 
Comment 3 Guenther Deschner 2004-07-16 04:20:59 UTC
*** Bug 1533 has been marked as a duplicate of this bug. ***
Comment 4 Gerald (Jerry) Carter 2004-08-17 06:52:58 UTC
pretty sure this is fixed.  Closing
Comment 5 Gerald (Jerry) Carter 2005-08-24 10:16:15 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.