Redirecting LPDSVC (Win2000) queue to a netprinter on Win98SE

  • Thread starter Thread starter Sergio Arzenton
  • Start date Start date
S

Sergio Arzenton

I have a Win2000 mixed-mode domain based on Small Business
Server 2000. A printer is phisically attached to a Win98SE
client participating to the domain, and it shares the
printer over the network using the user-based
authorization method (not share-level password).

I need to send print jobs to that printer from a Linux
server that is not participating to the domain.
Win98SE, with such configuration, refuses to serve any job
from anonymous users, even if I put Everyone in the
authorization list (obviously).

At first glance, I used Samba on Linux to reach a shared
printer I created on the Win2000 server, because Win2000
allows anonymous sessions when its registry value
RestrictAnonymous is put to 0. The shared printer I
created on Win2000 redirects on the Win98SE shared printer
queue and all works fine.

Then I added the concern about security, because my
Win2000 server is also used as internet gateway through
ISA Server, so I decided to find a solution that does not
requires a security downgrading such as
RestrictAnonymous=0. So I tried using LPDSVC on Win2000
to directly accept LPR print jobs from Linux.

The problem I encountered by this way is that LPDSVC seems
not be able to redirect the print job to a Windows
networked printer, such as the one on Win98SE.

Anyone has some idea about this last issue, or even about
other ways to reach my main goal, provided I cannot change
the network resource sharing policies just for this issue ?

Thanks,
Sergio Arzenton
 
Not sure if this would work but its worth a try, try running the LPDSVC
under an account which also exists on Win98 with the same password.
 
And the answer is.

When you create the printer to the Win98 machine as a connection, the share
is not available to the LPD service. Delete the connection and delete the
Lanman port that got created to the Win98 machine. Stop the spooler
service. Net stop spooler, then restart, net start spooler.

Now create a Local Port that targets the \\Win98machinename\printsharename
and setup a "local printer" that uses this port.



--
Alan Morris
Microsoft Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto

This posting is provided "AS IS" with no warranties, and confers no rights.
 
Back
Top