[Samba] Printer Owner not valid in Windows

Ignacio González López - iSOCO Mad igonza at isoco.com
Fri Feb 28 17:57:54 GMT 2003


Hi all.

I have a trouble with my SAMBA 2.2.3a-12 (I'm running a Debian Woody).

I have a printer conected by LPR to my printer server. GNU/Linux
prints ok using lpr printer server.

When I share the printer to my MS Windows Network the printer owner of
the printes in Windows Machines is root\printersNEW instead of
Administrator\Win2kPC, where printersNEW is the samba server and the
Win2kPC is the SMB client. Because that, users can't configure us
printers drivers for printing in both sides, 2 or more pages in a
side, etc.

All MSWindows are in a Workgroup and I have other Samba server running as
a Wins Server.

I have the same trobule in all the windows of my bussines (Win2k Prof
(SP's 1 and 2), WinXP Profesional, WinNT4.0), that's because I think
it's the samba server fault :o)

<smb.conf>
[global]
   interfaces           = 172.18.2.94/16 127.0.0.1
   socket address       = 172.18.2.94 127.0.0.1
   hosts allow          = 172.16. 172.17. 172.18. 127.
   netbios name         = printersNEW
   printing             = lprng
   printcap name        = /etc/printcap
   load printers        = yes
   printer driver file  = /etc/samba/printers.def
   guest account        = nobody
   invalid users        = root
   client code page     = 850
   character set        = ISO8859-1
   security             = share
   workgroup = ISOCOMAD
   server string        = Servidor de Impresoras 
   syslog only          = no
   socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096 SO_RCVBUF=4096
   encrypt passwords = false
   wins support = no
   wins server = 172.18.0.2
   name resolve order = wins lmhosts hosts bcast
   dns proxy  = yes
   preserve case       = yes
   short preserve case = yes
   unix password sync = true
   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .
   max log size = 1000
   lock dir = /var/state/samba

[hplj4050drv]
   comment = Drivers HP LaserJet 4050 (Win2000/XP)
   path = /home/ftp/drivers/hplj4050/win2k
   public = yes
   browseable = yes

; [... more drivers ...]

[hplj4050]
   comment	= Hewlett Packard LaserJet 4050
   browseable	= yes
   path		= /var/spool/samba
   printable	= yes
   printer	= hplj4050
   public	= yes
   create mode	= 0777
   printer driver		= HP LaserJet 4050 Series PS
   printer driver location	= \\printersNEW\hplj4050drv


-- 
¿Que por qué estaba con esa mujer? Porque me recuerda a ti. De hecho,
me recuerda a ti más que tú.
-- Groucho Marx.
                                                        :o) + LSSI = :oX
________________________________________________________________________
Ignacio González López <igonza at isoco.com>
I.T. Dept @ iSOCO http://www.isoco.com                #T(+34) 91 3349797
Intelligent Software Components, S.A.                 #F(+34) 91 3349799
iSOCO Madrid - Francisca Delgado 11, Alcobendas (Madrid).       CP 28108


More information about the samba mailing list