[Samba] printing problem

Martin Zielinski mz at seh.de
Fri Mar 9 13:52:07 GMT 2007


Hi,

I put comments inline.

Roland_Lepper at Liteonit.com schrieb:
> 
> 
> 
> Hi Martin,
> 
> 1) driver is a HP laserjet 1300n with a jet directcard
> 2) samba version = 3.0.20.4
> 3) I have a W32X86 directory in my driver directory and can add new folders to it
> 4) sorry...cannot check this.
> 
> smb.conf
> 
> [global]
> workgroup = LITEONIT.COM
> netbios name = NLHOL1F1
> security = domain
> winbind use default domain = Yes
> password server = 192.168.0.1
> hosts allow = 192.168.0.0/24 127.0.0.0/8
> os level = 50
> encrypt passwords = Yes
> idmap uid = 15000-20000
> idmap gid = 15000-20000
> wins support = Yes
> winbind separator = +
> winbind enum users = Yes
> winbind enum groups = Yes
> logfile = /var/log/samba/log.%m
> socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
> printing = cups
> use client driver = yes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
That's exactly what you *don't* want to do.
Please remove this line and try again.

> load printers = yes
> printcap name = /etc/printcap
> printer admin = root LITEONIT.COM+Roland_deLepper
> max print jobs = 100
> lpq cache time = 20
> show add printer wizard = yes
> print command = lpr -r -P %p %s
[...]
> 
> [printers]
> comment = all printers
> printable = yes
> admin users = @domainadmins LITEONIT.COM+Roland_deLepper
> path = /var/spool/samba
> guest ok = yes
> printer admin = LITEONIT.COM+Roland_deLepper
^^^^^^^^^^^^^^^^^^^^^^^^^^
This is a global parameter.

> show add printer wizard = yes
> 
> [print$]
> comment = printer download section
> path = /etc/samba/drivers
> browseable = yes
> guest ok = yes
> write list = @domainadmins
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I'm really not shure about this, but you might add
LITEONIT.COM+Roland_deLepper here, allthough
> read only = no
^^^^^^^^^^^^^^^
might make the "write list" obsolete.

> 
> [lj1300n]
> comment = HP Laserjet 1300n
> path = /var/spool/samba/lj1300n
> printable = yes
> guest ok = yes
> writable = yes
> printer admin = LITEONIT.COM+Roland_deLepper
> use client driver = yes
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Please remove. BTW it's a global parameter, too.
> 
> Best Regards,
> Roland de Lepper
> ------------------------------
> 
> 
[...]
Hope that helps.

Regards,

Martin


-- 
Martin Zielinski             mz at seh.de
Software Development
SEH Computertechnik GmbH     www.seh.de



More information about the samba mailing list