Bug 15148

Summary: smbadduser
Product: [Retired] Red Hat Linux Reporter: Radu Cornea <ccradu>
Component: sambaAssignee: Trond Eivind Glomsrxd <teg>
Status: CLOSED RAWHIDE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 7.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-08-06 17:20:19 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:

Description Radu Cornea 2000-08-02 19:08:32 UTC
smbadduser tries to create files in /etc/smbusers and /etc/smbpasswd 
instead of /etc/samba/smbusers and /etc/samba/smbpasswd, so it fails when 
changing the password.

Comment 1 Joshua Buysse 2000-08-03 04:06:05 UTC
This script is unfortunate -- it does not use the correct format for a samba 2.x
password file.  It's using the old format.  

The functionality of this script is contained by smbpasswd -a user (adds user to
passwd file and sets password).

Comment 2 Bill Nottingham 2000-08-03 04:18:48 UTC
So, in other words, it just needs axed.

Comment 3 Phil Knirsch 2000-08-06 17:20:17 UTC
Not quite. We can get rid of the check for the existence of a user entry in the
smbpasswd file and of the awk script which tries to add the user to the
smbpasswd file, but we still need to add the user to the smbusers file. Just
done it(tm).