[Samba] Unix Password sync

Ganeshram Iyer ganeshramiyer at sbcglobal.net
Wed Aug 11 17:02:33 GMT 2004


Hello all,
I recently installed White Box Linux with Samba as a PDC and am trying 
to sync Samba passwords with the Linux passwords. I have the smb.conf 
posted below. My questions are:

1) Do I run a 'smbpasswd' or 'passwd' to change the users password with 
synchronization?
2) I get an error with smbpasswd:

machine 127.0.0.1 rejected the password change: Error was : RAP86: The 
specified password is invalid.
Failed to change password for testuser

What am I missing? Could anyone point me in the direction of a URL or a 
solution that will help me?

Thanks in advance
Ganesh

# Global parameters
[global]
    workgroup = TEST
    server string = test domain server
    passwd program = /usr/bin/passwd %u
    username map = /etc/samba/smbusers
    unix password sync = Yes
    log level = 2
    log file = /var/log/samba/%m.log
    max log size = 50
    socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
    printcap name = /etc/printcap
    domain logons = Yes
    os level = 255
    preferred master = Yes
    dns proxy = No
    admin users = @wheel
    browseable = No

[homes]
    comment = Home Directories
    path = /home/netlogon
    read only = No

[testuser]
    comment = testuser Home
    path = /home/testuser
    valid users = testuser, root
    read only = No



More information about the samba mailing list