Bug 236557

Summary: Samba users not visible.
Product: [Fedora] Fedora Reporter: Richard Steck <sirius56>
Component: system-config-sambaAssignee: Nils Philippsen <nphilipp>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideKeywords: Reopened
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-04-17 14:56:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Richard Steck 2007-04-16 13:26:34 UTC
Description of problem:  I add a new Samba user in Preferences > Add User.  
Then I OK the user.  The user works.   When I return to Prefs > Add User, the 
user is not visible.   If I try to add the user again, it says the user already 
exists--yet the user is not visible.

Version-Release number of selected component (if applicable): Samba Config Tool 
1.2.39.   Kernel 2.6.20-1.3069.fc7

How reproducible:

Steps to Reproduce:
1.Add user to Samba Users with Samba Config Tool, Prefs > Add User. Exit tool.
Actual results:  Return to Samba Config Tool  Prefs > Add User.   No users 
shown, yet User exists.

Expected results:
List of Users should show.

Additional info:  This is an old bug that was reported in #159419.   It seems 
to have popped up again.

Comment 3 Nils Philippsen 2007-04-17 12:46:56 UTC
New bugs shouldn't be filed against "testN", only against "devel".

Comment 4 Nils Philippsen 2007-04-17 14:56:42 UTC
The problem was a different one than in bug #159419, though. Up to now,
system-config-samba read /etc/samba/smbpasswd directly instead of using the
pdbedit tool and when the default changed from using the smbpasswd file to using
a tdb backend, it couldn't cope with that, i.e. users where added to the passdb
TDB file, but system-config-samba still looked for /etc/samba/smbpasswd.

system-config-samba-1.2.40 is building right now which contains fixes for this bug.

Please test extensively as the new code is sufficiently different that I might
have broken something ;-). If the fix doesn't help you, please reopen this
ticket, if it introduces other bugs, please open new bugzilla tickets. Thanks.