Description of problem: system-config-samba ignores custom value of the "username map" option in smb.conf and even replaces it with its hardwired path: /etc/samba/smbusers. This leads to denial of services for all users specified in the custom file. Packages affected: system-config-samba-1.2.39-1 system-config-samba-1.2.41-3 How reproducible: always Steps to Reproduce: 1. set "username map" in smb.conf to point to some other file than /etc/samba/smbusers 2. add user to samba (smbpasswd -a user) and create a username mapping (echo 'user = "winuser"' >> /custom/mappings/file) 3.run system-config-file and add another user 4. try to access samba service as winuser (smbclient -L localhost -Uwinuser%password) Actual results: Authentication fails because winuser is no longer recognised as a known user. Expected results: Samba shares are listed.
Cloned this for Rawhide at bug #460267.
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 therefore 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. http://rhn.redhat.com/errata/RHBA-2009-1329.html