Is there a way to sync Samba passwords with linux user passwords
When I create new users the login id and password works with telnet and ftp. Is there a way I can have it automatically set the password for samba?
This is what I currently have to do
# configure that user
# use same pass that I used on adduser
is there anyway I can have this set up so I donít need to run smbpasswd every time I create a user? For example, would it be possible to have smbd read the password file from /etc/shadow, rather than from /etc/samba/private/smbpasswd ?
Yes you can, just make sure that their login/password settings for windows are the same in Linux*, if you are trying to set various linux boxes in SAMBA you have a problem, you cannot have automatic login from within Linux.
To solve your problem about the users and passwords use GnoSamba or SWAT (I preffer the former) you simply tell GnoSamba which users have access to your computer once, and it automatically adds them. The Linux/Linux on SMB is not solved though. The user sitll has to login to the SMB server.
* Windows boradcasts the login options (a security whole (hole), yes... I love the irony of these homophones :D) but warranties(?) that the users will login automatically on trusted(?) systems.
From man smb.conf
There may be other parameters that I missed. Do a man smb.conf and look for any passwd parameters.
You can set samba to authenticate by pam. You will have to do some reading. I think the pam method sends clear text passwords over the network and that is something that you don't want to happen. If your users have shell access to the samba server, disable them from using the passwd command by chmodding it.
|All times are GMT -5. The time now is 06:17 PM.|