Red Hat Bugzilla – Bug 15525
linuxconf does not synchronize passwords with samba
Last modified: 2008-05-01 11:37:57 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
Can this bug be fixed before the release?
I could be wrong, but I believe the samba configurator is
not included now (it has been known to eat config files.)
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
is there a way to get this one feature back to linuxconf,
everything else is much less important.
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
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.
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.
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.
Closing because we don't ship linuxconf anymore
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.