Penguin
Diff: SambaPrinting
EditPageHistoryDiffInfoLikePages

Differences between version 23 and predecessor to the previous major change of SambaPrinting.

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 23 Last edited on Thursday, August 3, 2006 5:51:52 pm by CraigBox Revert
Older page: version 21 Last edited on Thursday, January 26, 2006 9:19:46 pm by AriSovijarvi Revert
@@ -6,13 +6,13 @@
 * To see what resources are available in your network, on Linux one can use smbtree 
  
 ---- 
  
-!!! Setting up samba and [CUPS] 
+!!! Setting up Samba and [CUPS] 
  
 ''This covers Samba 3.x, it might be similar in 2.x but be warned''. 
  
-Your samba binary needs to be linked against libcups. To check this, run the following command and check that your output looks similar: 
+Your Samba binary needs to be linked against libcups. To check this, run the following command and check that your output looks similar: 
 <verbatim> 
 root# ldd `which smbd` 
  libldap.so.2 => /usr/lib/libldap.so.2 (0x4001b000) 
  libcom_err.so.2 => /lib/libcom_err.so.2 (0x400c3000) 
@@ -44,8 +44,10 @@
  
 </verbatim> 
  
 As long as your cups printers are set up, you can now set them up on your windows clients and print to them via samba. You might want to investigate uploading client drivers to Samba, using the notes below. 
+  
+Note: on Debian, you don't seem to get a /var/spool/samba by default. Create it, and set the permissions appropriately on it - so far I haven't found any evidence that you shouldn't use 777.  
  
 !!! Using samba and [CUPS] - troubleshooting 
  
 Do not, whatever you do, set your cups spool directory and your samba printer spool directory to the same location. Printing via Samba to Cups will *not* work if you do this! 
@@ -99,10 +101,9 @@
  
 * Join the Win2k or WinNT machine to your domain. This is covered elsewhere - see [SambaAsPDC]. This machine is referred to after this as the 'NT machine' for brevity. 
 * Find a user you can use that has an (effective) uid of 0 on the samba server. Note: This doesn't mean you have to use the root user, its actually ok to set a printer admin and use that. 
 * Login as this user to the NT machine. 
-* Fire up the APW (Add Printer Wizard) and run through the wizard, adding appropriate drivers. You'll note that the  
- APW prompts you with 'The server doesn't have drivers for this printer, would you like to upload them now?' 
+* Fire up the APW (Add Printer Wizard) and run through the wizard, adding appropriate drivers. You'll note that the APW prompts you with 'The server doesn't have drivers for this printer, would you like to upload them now?' 
 * After you've correctly added the drivers on the NT machine, right-click on the printer icon and select sharing. Make sure that sharing is enabled for this printer. 
 * Magic time. Not sure if this is neccesary - a reboot of the NT machine may do the job instead. Remove the printer you just added. 
 * Re-add the printer you just added. If things go well, it'll remember you already had the drivers intalled, and it'll just load up straight away 
 * Go to the properties page for the printer you just added, and go to the 'ports' section. After going through the above removal-readd rigmoral, I have only one port listed - a 'Samba Printer Port' one. Make sure this is checked.