Bug 238423

Summary: smbd crash with force user option
Product: Red Hat Enterprise Linux 5 Reporter: Yanick Quirion <yquirion>
Component: sambaAssignee: Samba Maint Team <samba-bugs-list>
Status: CLOSED ERRATA QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.0CC: jplans
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: RHEA-2007-0638 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-11-07 19:10:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On: 238757    
Bug Blocks:    

Description Yanick Quirion 2007-04-30 12:36:15 UTC
Description of problem: Using "force user" option in smb.conf under defined 
share, smbd will crash

Version-Release number of selected component (if applicable): samba-3.0.23c-

How reproducible: 

To reproduce this problem, samba must be configured with windbind and using 
Windows ADS to authentify. Also, the problem will appear if a user tried to map 
a drive from Windows (net use x: \\samba\test) and this user doesn't have 
access right at filesystem level. Here is an example os the share:

        comment = Test Home Directory
        path = /home/test
        valid users = domain+test,domain+admin
        force user = domain+test <---------- Removing that option solve the 
                                             issue, but in my case, I really
                                             need it.
        force group = domain+management
        read only = no
        create mask = 0660
        directory mask = 02770
        nt acl support = yes

Actual results:
When it failed, I Windows will show me arror saying the share is no longer 
available and under snmd.log I have this crash dump from smbd process, but I'm 
not unable to retreive it...

Expected results:
Sucessfull network drive connection

Additional info:
This problem has been solve on latest release of Samba. Recompiling version 
3.0.24 solve the issue. Redhat should include this version into their 

Comment 7 errata-xmlrpc 2007-11-07 19:10:43 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.