Hello, I am in need of some assistance with setting up samba as print server. I am using samba 2.2.3a-6 on a standard RedHat 7.3 install.
Hello, I am in need of some assistance with setting up samba as print server. I am using samba 2.2.3a-6 on a standard RedHat 7.3 install.
are you able to print the linux test pages? what printing backend does redhat 7.3 use? (cups, lprng?) brad On Thu, 2002-08-22 at 12:26, Rizzo, Joe wrote:> Hello, > I am in need of some assistance with setting up samba as print server. > > I am using samba 2.2.3a-6 on a standard RedHat 7.3 install. > > >From a windows xp system I can browse and see the printer share, however > when I try to access it I get the following message: > "Printer \\_smbserv\HPLaserJet6P does not exist on the computer. Either the > printer name was typed incorrectly, or the specified printer has lost its > connection to the server." > > The same happens even when I try to access the printer with > \\192.168.2.254\HPLaserJet6P > > I think the problem is that _smbserv is being referenced. But I can not > figure out why. > > Any help is appreciated, > Joe > > > Here is my smb.conf: > [global] > workgroup = workgroup > server string = gw > ;hosts allow = 192.168.2. 127. > printcap name = /etc/printcap > load printers = yes > printing = lprng > log file = /var/log/samba/%m.log > max log size = 0 > security = share > encrypt passwords = no > guest account = nobody > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 > interfaces = 192.168.2.1/27 192.168.2.33/27 192.168.2.254/32 > dns proxy = no > [printers] > comment = All Printers > path = /var/spool/samba > browseable = no > public = yes > guest ok = yes > writable = no > printable = yes > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba > > >
I can print to the printer with lpr. I upgraded to samba-2.2.5-1. My linux box has 2 nics. Now when I browse and try to access the printer, \\<external_address>\printer_share is referenced, rather than the internal ip address. Thanks, Joe -----Original Message----- From: Bradley W. Langhorst [mailto:brad@langhorst.com] Sent: Friday, August 23, 2002 6:25 AM To: Rizzo, Joe Cc: 'samba@samba.org' Subject: Re: [Samba] trouble printing to samba share are you able to print the linux test pages? what printing backend does redhat 7.3 use? (cups, lprng?) brad On Thu, 2002-08-22 at 12:26, Rizzo, Joe wrote:> Hello, > I am in need of some assistance with setting up samba as print server. > > I am using samba 2.2.3a-6 on a standard RedHat 7.3 install. > > >From a windows xp system I can browse and see the printer share, however > when I try to access it I get the following message: > "Printer \\_smbserv\HPLaserJet6P does not exist on the computer. Eitherthe> printer name was typed incorrectly, or the specified printer has lost its > connection to the server." > > The same happens even when I try to access the printer with > \\192.168.2.254\HPLaserJet6P > > I think the problem is that _smbserv is being referenced. But I can not > figure out why. > > Any help is appreciated, > Joe > > > Here is my smb.conf: > [global] > workgroup = workgroup > server string = gw > ;hosts allow = 192.168.2. 127. > printcap name = /etc/printcap > load printers = yes > printing = lprng > log file = /var/log/samba/%m.log > max log size = 0 > security = share > encrypt passwords = no > guest account = nobody > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 > interfaces = 192.168.2.1/27 192.168.2.33/27 192.168.2.254/32 > dns proxy = no > [printers] > comment = All Printers > path = /var/spool/samba > browseable = no > public = yes > guest ok = yes > writable = no > printable = yes > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba > > >
On Thu, 22 Aug 2002, Rizzo, Joe wrote:> I am using samba 2.2.3a-6 on a standard RedHat 7.3 install. > > >From a windows xp system I can browse and see the printer share, however > when I try to access it I get the following message: "Printer > \\_smbserv\HPLaserJet6P does not exist on the computer. Either the > printer name was typed incorrectly, or the specified printer has lost > its connection to the server." > > The same happens even when I try to access the printer with > \\192.168.2.254\HPLaserJet6PWindows XP uses *SMBSERV as the netbios name of the server when you try to access it using an IP address. Please try to reproduce this using the 2.2.6pre1 code on samba.org. If you are still finding the same behavior, let me know and we'll start debugging from there. cheers, jerry --------------------------------------------------------------------- Hewlett-Packard http://www.hp.com SAMBA Team http://www.samba.org -- http://www.plainjoe.org "Sam's Teach Yourself Samba in 24 Hours" 2ed. ISBN 0-672-32269-2 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--