Some progress was made on Samba printing with Windows XP SP2 although
some problems still remain. After following a comment from Larry Finger
to fix this same type of problem that was posted to the Samba site
https://bugzilla.samba.org/show_bug.cgi?id=1821 performance for some
printers was good. But, others still have a long delay when selecting 
the printer's properties. Larry's fix was installing the print drivers
on the server as supposed to having the clients install it (some of you
may already be doing this), and then reinstall the printer. This worked,
but just for a few of my HP jetdirect printers.

What a bummer.

Aaron



On Wed, 2004-12-01 at 02:52, Aaron Lopez wrote:
> David's link at
> http://www.archivum.info/[email protected]/2004-11/msg00981.html
> summed it up. Windows XP SP2 has connection problems with SAMBA
> printers. Of course, the same jetdirect printer on a Windows NT 4 Server
> has no delay in bringing up the printers properties. All of the Windows
> XP SP2 machines that I am experiencing a delay with do not have the
> firewall turned on nor does the SAMBA server. 
> 
> Aaron
> 
> 
> 
> On Wed, 2004-12-01 at 06:47, Vasta, Stephen wrote:
> > Aaron, David,
> > 
> > I found that the following IPTABLES rule needs to be added if you are
> > running an IPTABLES firewall on the samba server side and a Novell
> > Client on the Windows XP side:
> > 
> > # The following port needs to be open so that Microsoft XP can timeout
> > quicker.
> > $IPTABLES -A tcp_packets -p tcp -m tcp --dport 524 --syn -j ACCEPT
> > 
> > Also, I found that opening TCP/UDP ports 135:139 are good.  These
> > Microsoft/Novell services are so "brain-dead" that if the firewall is
> > blocking these ports, the client realizes a timeout of roughly 1 to 1.5
> > minutes before trying different services elsewhere.  Opening these ports
> > (without services running on the ports) gives the brain-dead Microsoft
> > box an immediate "Service Not Available" error, causing it to go
> > elsewhere quicker . . .  :-)
> > 
> > Also, have you tried disabling the firewall on the XP client side and
> > running that SP2 modified configuration for a little while?  One of the
> > main differences with SP2 is that it's the first XP release that came
> > with the firewall ENABLED by default (prior released came with with
> > firewall DISABLED by default).
> > 
> > Also, is this XP system part of a "domain" or standalone.  If
> > standalone, you should apply the XP registry hacks to stop it from
> > trying to find it's domain server (an active directory) every 8 hours or
> > so . . .  (I forgot the URL for these . . . www.google.com).
> > 
> > Also, are you running a WINS server anywhere in the area?
> > 
> > Let me know what works . . .   :-)
> > 
> > Steve
> > 
> > -----Original Message-----
> > From: [email protected]
> > [mailto:[email protected]] On Behalf Of David Kaiser
> > Sent: Wednesday, December 01, 2004 12:12 AM
> > To: [email protected]
> > Subject: Re: [909linux] samba, cups and windows xp sp2 problem
> > 
> > 
> > Hi Aaron,
> > 
> > I haven't yet seen a SP2 setup, so that firewall hasn't gotten in my way
> > (yet!) but I was able to talk to a Samba expert about this.  Here's some
> > things to look into.
> > 
> > - diagnose with a sniffer, as with all firewall problems. Probably XP is
> > blocking the print notify back channel
> > 
> > - (What is print notify back channel?)  Depending on how printing is
> > setup, for some operations the server needs to create a SMB connection
> > to the client (tcp ports 139 and/or 445) (this is just a wild guess -
> > really better to use a sniffer to diagnose)
> > 
> > ...
> > 
> > also, here is a link that seemed related...
> > 
> > http://www.archivum.info/[email protected]/2004-11/msg00981.html
> > 
> > Hope this helps...
> > 
> > 
> > 
> > On 30Nov2004 09:34AM (-0800), Aaron Lopez wrote:
> > > Hello,
> > >  I know some of us have setup linux print servers with SAMBA and CUPS,
> > 
> > > as have I. But, I have noticed that workstations with Windows XP SP2 
> > > perform slowly at times when copying from SAMBA or bringing up the 
> > > Properties menu on printers. Windows NT 4 and Windows 2000 do not 
> > > experience this performance issue. SAMBA's site is vague on the matter
> > 
> > > and just mentions that some people have reported it but there's no 
> > > official explanation.  Has anyone seen this problem?
> > > 
> > >  
> > > 
> > > Aaron Lopez
> > > PerMedics Inc. System Administrator
> > > 909.558.8155
> > > [email protected]
> > > 
> > > _______________________________________________
> > > 909linux mailing list
> > > [email protected] 
> > > http://909linux.org/cgi-bin/mailman/listinfo/909linux
-- 

Aaron Lopez
PerMedics Inc. System Administrator
909.558.8155
[email protected]

Reply via email to