smbpasswd fails to change both smb and UNIX passwds simultaneously

Miquel Bonastre Muñoz miquel at fib.upc.es
Wed Jul 1 08:15:27 GMT 1998


> Date: Tue, 30 Jun 1998 01:08:20 -0500 (CDT)
> From: jeff at enthalpy.biochem.wisc.edu (Jeff Ballin)
> To: samba at samba.anu.edu.au
> Subject: smbpasswd fails to change both smb and UNIX passwds simultaneously
> 
> Hello everyone,
> 
> I have not had luck with any of the documentation I have found....if the answer
> to my question lay out there, point me in the right direction and I will gladly
> RTFM.
> 
> I am running RedHat 5.0 on an Alpha CPU based computer.  Samba is at 1.9.18p8,
> compiled on this system with ALLOW_CHANGE_PASSWORD and PAM encryption enabled.
> I am able to log into the network and file share, etc. My problem is that I
> cannot get smbpasswd to change both the unix passwd file and the smbpasswd file
> simultaneously. 
[...]
> Here is the relevant section of smb.conf:
> 
> [global]
> 
>    smb passwd file= /etc/smbpasswd
>    encrypt passwords= yes
> 
>    passwd chat= "*Enter OLD password*" %o\n "*Enter NEW password*" %n\n \
>                 "*Reenter NEW password*" %n\n "*Password Changed*"
> 

   I have understood from the documentation the password change is done
   with uid root, so in the password chat you don't need to enter
   the old password.

--
                            Miquel Bonastre (miquel at fib.upc.es)
                            Area de Sistemes Unix (LCFIB)
                            Facultat d'Informatica de Barcelona
                            Universitat Politecnica de Catalunya


More information about the samba mailing list