Welcome to the new location of Alien's Wiki, sharing a single dokuwiki install with the SlackDocs Wiki.
Welcome to Eric Hameleers (Alien BOB)'s Wiki pages.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision |
slackware:samba [2006/03/29 19:17] – alien | slackware:samba [2006/03/29 19:25] – alien |
---|
- In the file ''/etc/cups/mime.convs'' uncomment ''application/octet-stream application/vnd.cups-raw 0 - '' And then restart CUPS daemon using <code>/etc/rc.d/rc.cups restart</code> | - In the file ''/etc/cups/mime.convs'' uncomment ''application/octet-stream application/vnd.cups-raw 0 - '' And then restart CUPS daemon using <code>/etc/rc.d/rc.cups restart</code> |
| |
* It is now time to fire up our Samba server. But we will test the configuration first by running the command ''testparm''. IT will show us if anything went wrong while editing the ''smb.conf'' file. If everything seems allright, we will procede with making the Samba start script executable (so that it will still start when we boot our server) and then running the script: <code> | * It is now time to fire up our Samba server. But we will test the configuration first by running the command ''testparm''. It will show us if anything went wrong while editing the ''smb.conf'' file. If everything seems allright, we will procede with making the Samba start script executable (so that it will still start when we boot our server) and then running the script: <code> |
chmod +x /etc/rc.d/rc.samba | chmod +x /etc/rc.d/rc.samba |
/etc/rc.d/rc.samba start | /etc/rc.d/rc.samba start |
smbpasswd <some_username> | smbpasswd <some_username> |
</code> A Windows user can use the ''<CTRL><ALT><DEL>'' sequence to change the password! | </code> A Windows user can use the ''<CTRL><ALT><DEL>'' sequence to change the password! |
| |
| |
| === Samba printers === |
| |
| If you have a configured and running CUPS server that has at least one queue setup for //RAW// printing, we can now proceed with integrating this CUPS printer queue with our Samba server, so that Windows clients can automatically download their printer drivers from the Samba server. This is of course more convenient than accessing each and every Windows PC with a printer driver CD and manually configuring the printer. |
| |
| 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]]. |
| |
| |