smbpasswd changes samba password and unix password too

Problem: At newer Linux Setups with Samba 3 by default smbpasswd changes the user unix login password and samba share password.

For higher security i prefer different passwords like on debian SARGE

Solution:

  1. edit as root /etc/samba/smb.conf
  2. enter
    unix password sync = no 
    (Yes=default)
  3. restart samba
    /etc/init.d/samba restart
  4. set new different passwords for a user with
    passwd
    and
    smbpasswd
  5. check passwords..working