samba-users May 2010 archive
Main Archive Page > Month Archives  > samba-users archives
samba-users: [Samba] swat per user cant change samba password

[Samba] swat per user cant change samba password

From: Terry <terry_at_nospam>
Date: Tue May 18 2010 - 11:47:20 GMT
To: samba@lists.samba.org

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

-- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba