Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision |
slackware:samba [2006/03/29 19:25] – alien | slackware:samba [2018/11/02 20:16] – Small fixes to modernize the instructions. alien |
---|
| |
FIXME ** This article is being worked on ** FIXME | |
--------------------------------------------------- | |
| |
===== File- and printersharing on the local network ===== | ===== File- and printersharing on the local network ===== |
| |
| |
* This should be in ''/etc/samba/smb.conf'', it defines the password backend Sabma will use (I will not discuss the alternative LDAP backend here, I hope to write another article on that all of it's own): <code> | * This should be in ''/etc/samba/smb.conf'', it defines the password backend Sabma will use (I will not discuss the alternative LDAP backend here, I hope to write another article on that all of it's own): <code> |
passdb backend = tdbsam guest | passdb backend = tdbsam:/var/lib/samba/private/passdb.tdb |
</code> //NOTE//: when you enable //tdbsam// on an already configured and running Samba server, and run ''killall -HUP smbd'' to let it re-load the configuration files, you might have to re-add the 'smbguest' user to Samba, since the default to use is the //smbpasswd// file and not the tdbsam database.\\ So, again run: <code> | </code> //NOTE//: when you enable //tdbsam// on an already configured and running Samba server, and run ''killall -HUP smbd'' to let it re-load the configuration files, you might have to re-add the 'smbguest' user to Samba. \\ In the past, the default to use was the //smbpasswd// file but since Sa,ba 3.4 the tdbsam database became the default.\\ So, again run: <code> |
smbpasswd -a smbguest -d | smbpasswd -a smbguest -d |
</code> | </code> |
Using the directions of the previous sections and the [[#a_sample_smb.conf|smb.conf example]] of the last section, you have everything in place already, server-side. You will now have to take a Windows XP workstation, and logon to a Samba share using an account that is known to Samba as a //printer admin//. In our setup, that means: everyone who is a member of the Linux group [[linux:admin#wheel]]. | Using the directions of the previous sections and the [[#a_sample_smb.conf|smb.conf example]] of the last section, you have everything in place already, server-side. You will now have to take a Windows XP workstation, and logon to a Samba share using an account that is known to Samba as a //printer admin//. In our setup, that means: everyone who is a member of the Linux group [[linux:admin#wheel]]. |
| |
| FIXME //to be completed// FIXME |
| |
=== The Linux client setup === | === The Linux client setup === |