Bug 81412

Summary: Windows Username doesn't work
Product: [Retired] Red Hat Public Beta Reporter: Tammy Fox <tammy.c.fox>
Component: redhat-config-sambaAssignee: Brent Fox <bfox>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: phoebe   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-01-21 02:39:38 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:
Bug Depends On:    
Bug Blocks: 79579    

Description Tammy Fox 2003-01-09 06:09:20 UTC
The following line must be commented out in /etc/samba/smb.conf:
username map = /etc/samba/smbusers
for the /etc/samba/smbusers file to be used to map Windows usernames with
the Unix/Samba usernames. Hence, when you add a user and specify the Windows
username, you can't log in from a Windows box using the specified Windows
username. 

The 'username map' option is commented out in the default smb.conf file, so
I see two options:

1) If you specify a Windows username when adding a Samba user, you need to either
enable the 'username map' option
2) Provide an option that enables/disables the 'username map' option and
if it is disabled, prompt the user to enable it if a Windows username is
provided when adding a Samba user. If this solution is chosen, the GUI should
make it clear that the 'Windows Username' is optional.

Comment 1 Brent Fox 2003-01-14 22:04:41 UTC
Should be fixed in redhat-config-samba-1.0.1-5.  The behavior now is to enable
'username map = /etc/samba/smbusers' anytime 'user' level security is used. 
Please test to verify that this works now.  

Comment 2 Jay Turner 2003-01-21 02:39:38 UTC
Fix confirmed with 1.0.1-6.