[CentOS] centos 6.4 samba password sync problem

Sun Jun 30 00:20:03 UTC 2013
Krzysztof Szarlej <kszarlej94 at gmail.com>

I have a problem with unix-samba password sync. It just doesnt work, when i
use smbpasswd it changes only samba password, and not the unix password. In
logs i cant find any error about passwd. Samba ver is 3.6.9-151.

Here is [global] in my smb.conf

workgroup = WORKGROUP
security = user
encrypt passwords = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *New password* %n\n *new password* %n\n *success*
debug level = 100
passwd chat debug = yes