[Samba] swat per user cant change samba password

Terry terry at firstkmh.co.uk
Tue May 18 05:53:56 MDT 2010


On 18/05/2010 12:47, Terry wrote:
> I need samba users to be able to change there own password I have swat running I can login as root and changes users passwords fine. But if I login into swat as a normal user and try to change a password I get
> 
> machine 127.0.0.1 rejected the password change: Error was : Password restriction.
> 
> The passwd for 'username' has NOT been changed. 
> 
> If I try it from the shell I also get
> 
> samba# su user
> %smbpasswd
> Old SMB password:
> New SMB password:
> Retype new SMB password:
> machine 127.0.0.1 rejected the password change: Error was : Password restriction.
> Failed to change password for user
> 
> Is there a default setting in place restricting none root users from changing there passwords ?
> 
> samba-3.0.37,1
> 
> samba# testparm
> Load smb config files from /usr/local/etc/smb.conf
> Processing section "[homes]"
> Loaded services file OK.
> Server role: ROLE_STANDALONE
> Press enter to see a dump of your service definitions
> 
> [global]
>         netbios name = SERVER
> 
> [homes]
>         read only = No
>         vfs objects = recycle
>         recycle:exclude = *.tmp, *.bak
>         recycle:keeptree = yes
>         recycle:repository = RecycleBin
>         recycle:touch = True
> 
> 
> Thanks
> 



Ignore me it was the length of the password i used to test it with :(


More information about the samba mailing list