Is anyone using the unix password sync option in Samba? I seem to be
having some problem configuring it. I have debug log level 100 on, and as
far as I can see, samba isnt going anywhere near /usr/bin/passwd.
Here's my entry in smb.conf:
unix password sync = true
passwd chat debug = yes
log level = 100
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Re-enter*new*password* %n\n *changed*\n
And some possibly relevant log entries:
doing parameter passwd program = /usr/bin/passwd %u
doing parameter passwd chat = *New*password* %n\n *Re-enter*new*password* %n\n *changed*\n
startsmbfilepwent: opening file /usr/local/samba/private/smbpasswd
getsmbfilepwent: skipping comment or blank line
getsmbfilepwent: returning passwd entry for user admin, uid 101
found by name: admin
endsmbfilepwent: closed password file.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!