[Samba] Cupsprinter over samba won't work for w2k clients

Angela Gavazzi "edv at _no_spam_goetheanum.ch at goetheanum.ch" at _no_spam_goetheanum.ch
Wed Mar 17 11:07:54 GMT 2004


 
 Hallo!
 
 I installed Samba 3.0.1 on Deb Woody 3.0 with Cups 1.1.19 and joined to an
 NT4 Domain without problems, after solving the "Umlaut" problem.
 Unfortunately the System was installed in german... 
 
 I read a lot in the Samba HowtoCollection and installed the printer
 following to it step by step. Added the printer driver via APW, then
 connected from the Client and changed some settings. I used the vendors
 printer driver from the orig CD. From a Linux Client I can print without
 Problems.
 
 I have 2 Printers installed.
 Both can't print an one give an error when trying to show the properties.
 
 1. Brother - nothing in error_log, on the client side it's ready, but it
say
 that it cannot print. "The printer could not be started. Check the printer
 properties."
 
 2. An OKI C5300: when opening printer properties I get this in error_log:
 
 E [16/Mar/2004:15:59:44 +0100] get_printer_attrs: resource name
 '/printers/::{2227a280-3aea-1069-a2de-08002b30309d}' no good! 
 
 and this on the Client (sorry it's german...)
 
 Der an einen Systemaufruf übergebene Datenbereich ist zu klein" 
 "Funktionsadresse 0x500027e4 hat eine Schutzverletzung verursacht.
 (Ausnahmecode 0xc0000005) Die Eigenschaftenseite wird  möglicherweise nicht
 richtig angezeigt."
 
 Then it opens the properties. The printer is shows as not connected and
when
 trying to print there are no errors in error_log.
 
 Somewhere in a posting I found that I have to check if rpcclient is
working:
 
 enumdrivers:
 rpcclient -c "enumdrivers 1" -U user -W Domain Host
 rpcclient -c "enumdrivers 2" -U user -W Domain Host
 
 It looks good, give out lists with printerdriver infos..
 
 getdriver:
 rpcclient -c "getdriver drivername" -U user -W Domain Host
 
 Here I could not find out what driver name is expected - sorry...
 
 It's the first time I try to use samba as printserver - I'm working to to
 replace all nt machines with linuxes.
 
 It would be great if anybody could give me any help to get it working.
 
 Thanks i.a.
 
 Angela
 
 
 Here's my smb.conf:
 
 [global]
 ....
 winbind separator = +
 load printers = yes
 printing = cups
 printcap name = cups
 ....
 
 #############################################################
 #Drucker
 #############################################################
 
 [print$]
 comment = Download Drucker Treiber
 path = /work/printerdrivers
 browseable = yes
 guest ok = yes
 #read only = yes
 write list = @Domain+Domänen-Admins, root, Domain+Administrator
 
 [printers]
 path = /var/spool/samba
 browseable = yes
 public = yes
 guest ok = no
 writable = yes
 printable = yes
 printer admin = @Domain+Domänen-Admins, root, Domain+Administrator
 write list = @Domain+Domänen-Admins, root, Domain+Administrator

-- 
Angela Gavazzi
Allg. Anthroposophische Gesellschaft
Goetheanum
Dornach - Switzerland

www.goetheanum.ch  (old one)
www.goetheanum.org ( new one - in construction)

For mail answer please remove "_no_spam_" from mailaddress.



More information about the samba mailing list