Bug 15148 - smbadduser
Summary: smbadduser
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: samba
Version: 7.0
Hardware: i386
OS: Linux
high
high
Target Milestone: ---
Assignee: Trond Eivind Glomsrxd
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-08-02 19:08 UTC by Radu Cornea
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2000-08-06 17:20:19 UTC
Embargoed:


Attachments (Terms of Use)

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).



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