Bug 238423 - smbd crash with force user option
Summary: smbd crash with force user option
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: samba
Version: 5.0
Hardware: All
OS: Linux
Target Milestone: ---
: ---
Assignee: Samba Maint Team
QA Contact: David Lawrence
Depends On: 238757
TreeView+ depends on / blocked
Reported: 2007-04-30 12:36 UTC by Yanick Quirion
Modified: 2013-06-18 12:12 UTC (History)
1 user (show)

Fixed In Version: RHEA-2007-0638
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2007-11-07 19:10:43 UTC

Attachments (Terms of Use)

System ID Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2007:0638 normal SHIPPED_LIVE samba enhancement update 2007-10-30 23:04:57 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.