[plug] sync passwd and smbpasswd passwords

Timothy White weirdit at gmail.com
Thu Mar 2 06:30:06 WST 2006


On 01/03/06, Chris Watt <something.rotten at gmail.com> wrote:
> Tried for months to make it a PDC.  I'm not going there again no
> matter what anyone says unless they want to come down here and do it
> themselves.

I would raise my hand, if you have time to wait a few weeks when
hopefully I will be less busy.... Where is "down here"?

Otherwise, get them to change their samba password, and ensure you
have samba unix password sync enabled (depending on distro, will
require some reading....). Then when they change their samba password,
it changes their unix password. And they should be able to change
their samba password from usermin iirc.

The parts from my config file...

# This boolean parameter controls whether Samba attempts to sync the Unix
# password with the SMB password when the encrypted SMB password in the
# passdb is changed.
   unix password sync = yes

# For Unix password sync to work on a Debian GNU/Linux system, the following
# parameters must be set (thanks to Augustin Luton <aluton at hybrigenics.fr> for
# sending the correct chat script for the passwd program in Debian Potato).
   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
*Retype\snew\sUNIX\spassword:* %n\n .

# This boolean controls whether PAM will be used for password changes
# when requested by an SMB client instead of the program listed in
# 'passwd program'. The default is 'no'.
   pam password change = yes


Tim
p.s. My working PDC smb.conf
http://members.plug.org.au/~linuxalien/dokuwiki/scripts:smb.conf

--
Linux Counter user #273956



More information about the plug mailing list