Bug 15525 - linuxconf does not synchronize passwords with samba
linuxconf does not synchronize passwords with samba
Status: CLOSED WONTFIX
Product: Red Hat Linux
Classification: Retired
Component: linuxconf (Show other bugs)
7.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Nalin Dahyabhai
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-08-05 18:49 EDT by mal
Modified: 2008-05-01 11:37 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-02-21 13:47:43 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description mal 2000-08-05 18:49:59 EDT
linuxconf from RedHat 6.2 was synchronizing 
UNIX and SAMBA passwords.
linuxconf from RedHat 7.0 Beta does not do this 
any more and I did not find any settings for this.
This was an EXTREMELY CONVINIENT 
feature of linuxconf.
Please put UNIX and SAMBA passwords 
synchronization back.
Comment 1 mal 2000-08-18 19:38:45 EDT
Can this bug be fixed before the release?
Comment 2 Bill Nottingham 2000-08-19 18:24:58 EDT
I could be wrong, but I believe the samba configurator is
not included now (it has been known to eat config files.)
Comment 3 mal 2000-08-20 12:04:30 EDT
synchronization of passwords with samba was 
the only useable feature linuxconf samba configurator
(everything else was just too unreliable, at least in RedHat 6.2).

Without this synchronization it is much less convinient,
every time user added or password changed 
it will be necessary to type several shell commants like

mksmbpasswd.sh </etc/passwd | grep '^mal:' >>/etc/samba/smbpasswd
smbpasswd mal

is there a way to get this one feature back to linuxconf,
everything else is much less important.
Comment 4 Andrew Bartlett 2000-09-14 01:18:40 EDT
The pam_smbpass module can do this for all password changes - without the need
for linuxconf specfic changes.  (I use this on servers I manage and it works
very well).

You will need to add users to the smbpasswd file, and set the line 'password' in
the pam configuration file to 'optional' insted of 'required'

If redhat could do this then it would be VERY good.
Comment 5 Andrew Bartlett 2000-09-14 19:25:36 EDT
The only problem with the pam approach is that it will complain VERY loudly if
the account dosent exist in /etc/smbpasswd, so a little addition to adduser or
similar could polish off this as a *very* nice solution.
Comment 6 mal 2000-09-15 09:27:05 EDT
smbpasswd -a username
adds user "username" to smbpasswd file if the user 
is not already there. I think 
something equivalent this "-a" option can be done 
with pam_smbpass module.
Comment 7 Brent Fox 2002-06-05 12:18:14 EDT
Closing because we don't ship linuxconf anymore
Comment 8 Red Hat Bugzilla 2006-02-21 13:47:43 EST
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.

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