howto change samba password remotely from a windows client?
I recently configured a samba server to share files for roughly 60 window clients. The samba security is user mood and all clients need to provide a password to access the share. It works fine except inconvinient of change password. I used to run smbpasswd on the server to change password for them but it's tedious job. What if they can alter it themselves in their window's box? The samba-howto says if you configure the server a PDC, the password change can be automatic by specifying scripts in smb.conf. The problem is that another main working service for the company won't work well in a domain environment. I googled but failed to find useful links. Is there any alternatives I can choose?
Any suggestion will be appreciated? |
Do you have this part in the smb.conf ?
Code:
# The following are needed to allow password changing from Windows to |
All the file share users doesn't has login right to the smb server for security concern(/sbin/nologin shell is specified during account creation). So unix password sync is not necessary. I can use "smbpasswd -r samba_server -U account" from a linux client to remotely change smb password for an account. But all other user uses Windows. How can they change their smb password from their own machine? The comment says "# NOTE2: You do NOT need these to allow workstations to change only the encrypted SMB passwords." But how can a window client do the same as a "smbpasswd -r samba_server -U account" did from a linux box?
Thanks in advance. |
All times are GMT -5. The time now is 04:25 PM. |