Hmmmm.... Can you print simply by being a client on the Redhat box
itself??? I.e. is all the "plumbing" working?
David
On Nov 17, 2003, Jeramy Eling wrote:
JE. Hi all,
JE.
JE. I have made all the changes you have each suggested but still to no avail. Even
with with the simplified smb.conf file etc and the added lines for the guest accounts
I still recieve no output. I can however confirm that using Christoph's suggestion I
can print and generate the printfile in my tmp folder and it does contain data.
JE.
JE. I don't know if it is relevant but the box is a Redhat 9.0 box clean install.
JE.
JE. I really do appreciate all of your suggestions on this matter, and any more
pointers would be great.
JE.
JE. Many Thanks
JE.
JE. Jeramy
JE.
JE. -----Original Message-----
JE. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of
JE. David L. R. Houston
JE. Sent: 17 November 2003 13:43
JE. To: [EMAIL PROTECTED]
JE. Subject: RE: LPRng: Nothing Prints Using Samba and LPRNG
JE.
JE.
JE. This may seem too obvious, but since I have struggled with this as well,
JE. and it now works fine, I wonder: where in your smb.conf are references to
JE. your guest account? You have 'Guest ok = yes' but that's it.
JE.
JE. FWIW, my own conf files include in the globals section:
JE.
JE. guest account = nobody
JE. security = user
JE. map to guest = Bad User
JE.
JE. I also note that I do NOT have a statement on 'Printing = ...' in the
JE. gloabls section but instead a reference to printcap:
JE.
JE. printcap name = /usr/local/etc/printcap
JE.
JE. ...which is of course the LPRNG printcap. The pointer to 'Printing =
JE. lprng' is in my [printers] section, which also include the various print
JE. commands you have in your globals.
JE.
JE. No doubt I have numerous issues, but it works reliably.
JE.
JE. My other suggestion is to crank the samba log level up (20?), wipe out the
JE. logs, and then do a single test and read them.
JE.
JE. Also be sure you can simply connect to the server.
JE.
JE. Finally: why do you have those SO_ options in the 'socket options'
JE. section?
JE.
JE. Hope this helps,
JE.
JE. David Houston
JE. CIT Client Services Coordinator
JE. University of Vermont
JE.
JE. On Nov 17, 2003, Jeramy Eling wrote:
JE.
JE. JE. As requested here is my smb.conf file
JE. JE.
JE. JE. [global]
JE. JE. workgroup = DOMAIN
JE. JE. netbios name = {ServerName}
JE. JE. server string = LINUX Print Server
JE. JE. interfaces = eth1
JE. JE. security = DOMAIN
JE. JE. encrypt passwords = Yes
JE. JE. password server = *
JE. JE. log level = 3
JE. JE. log file = /var/log/samba/log.%m
JE. JE. max log size = 50
JE. JE. socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
JE. JE. dns proxy = No
JE. JE. wins server =
JE. JE. winbind uid = 10000-20000
JE. JE. winbind gid = 10000-20000
JE. JE. winbind separator = +
JE. JE. printing = lprng
JE. JE. print command = /usr/bin/lpr [EMAIL PROTECTED] -P%P -r %s
JE. JE. lpq command = /usr/bin/lpq [EMAIL PROTECTED] -P%P
JE. JE. lprm command = /usr/bin/lprm [EMAIL PROTECTED] -P%P %j
JE. JE. lppause command = /usr/sbin/lpc [EMAIL PROTECTED] hold %p %j
JE. JE. lpresume command = /usr/sbin/lpc [EMAIL PROTECTED] release %p %j
JE. JE. queuepause command = /usr/sbin/lpc [EMAIL PROTECTED] stop %p
JE. JE. queueresume command = /usr/sbin/lpc [EMAIL PROTECTED] start %p
JE. JE.
JE. JE. [homes]
JE. JE. comment = Home Directories
JE. JE. read only = No
JE. JE. browseable = No
JE. JE.
JE. JE. [printers]
JE. JE. comment = All Printers
JE. JE. path = /var/spool/lpd/samba
JE. JE. create mask = 0700
JE. JE. guest ok = Yes
JE. JE. printable = Yes
JE. JE. browseable = No
JE. JE.
JE. JE. [HP4500]
JE. JE. path = /var/spool/lpd/samba
JE. JE. printer admin = "ARTHUR+DOMAIN ADMINS"
JE. JE. read only = No
JE. JE. guest ok = Yes
JE. JE. printable = Yes
JE. JE. printer name = HP4500
JE. JE. use client driver = Yes
JE. JE. oplocks = No
JE. JE.
JE. JE. -----Original Message-----
JE. JE. From: Christoph Beyer [mailto:[EMAIL PROTECTED]
JE. JE. Sent: 17 November 2003 10:18
JE. JE. To: Jeramy Eling
JE. JE. Cc: [EMAIL PROTECTED]
JE. JE. Subject: Re: LPRng: Nothing Prints Using Samba and LPRNG
JE. JE.
JE. JE.
JE. JE. please send four smb.conf file...
JE. JE.
JE. JE. best regards
JE. JE. ~christoph
JE. JE.
JE. JE.
JE. JE. --
JE. JE. /* Christoph Beyer | Office: Building 2b / 23 *\
JE. JE. * DESY | Phone: 040-8998-2317 *
JE. JE. * - IT - | Fax: 040-8998-4060 *
JE. JE. \* 22603 Hamburg | http://www.desy.de */
JE. JE.
JE. JE.
JE. JE. On Mon, 17 Nov 2003, Jeramy Eling wrote:
JE. JE.
JE. JE. > Hi all,
JE. JE. >
JE. JE. > We are in the process of evaluating the LPRng print system with a
JE. JE. > view to replace our current unreliable Windows 2000 spooler.
JE. JE. >
JE. JE. > We have configured it on our Redhat 9.0 system and printing from the
JE. JE. > local machine works fine, however we have now installed SAMBA ready
JE. JE. > to test from our Windows clients and have run into a problem. We
JE. JE. > followed the steps on the LPRng website to configure SAMBA etc.,
JE. JE. > joined the server to our windows domain and installed the printer on
JE. JE. > a Windows XP PC. When we print from the windows XP PC nothing
JE. JE. > prints, it is as if the whole job just disappears. Having tried
JE. JE. > every possible combination of configs in the smb.conf file we are
JE. JE. > now at a loss.
JE. JE. >
JE. JE. > Does anyone have any ideas why this is happening?
JE. JE. >
JE. JE. > Many Thanks
JE. JE. >
JE. JE. > Jeramy.
JE. JE. >
JE. JE. > -----------------------------------------------------------------------------
JE. JE. > YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
JE. JE. > The address you post from MUST be your subscription address
JE. JE. >
JE. JE. > If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
JE. JE. > or lprng-digest-requests) with the word 'help' in the body. For the
impatient,
JE. JE. > to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
JE. JE. > with: | example:
JE. JE. > subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
JE. JE. > unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
JE. JE. >
JE. JE. > If you have major problems, send email to [EMAIL PROTECTED] with the word
JE. JE. > LPRNGLIST in the SUBJECT line.
JE. JE. > -----------------------------------------------------------------------------
JE. JE. >
JE. JE.
JE. JE.
JE. JE. -----------------------------------------------------------------------------
JE. JE. YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
JE. JE. The address you post from MUST be your subscription address
JE. JE.
JE. JE. If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
JE. JE. or lprng-digest-requests) with the word 'help' in the body. For the impatient,
JE. JE. to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
JE. JE. with: | example:
JE. JE. subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
JE. JE. unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
JE. JE.
JE. JE. If you have major problems, send email to [EMAIL PROTECTED] with the word
JE. JE. LPRNGLIST in the SUBJECT line.
JE. JE. -----------------------------------------------------------------------------
JE. JE.
JE.
JE.
JE. -----------------------------------------------------------------------------
JE. YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
JE. The address you post from MUST be your subscription address
JE.
JE. If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
JE. or lprng-digest-requests) with the word 'help' in the body. For the impatient,
JE. to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
JE. with: | example:
JE. subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
JE. unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
JE.
JE. If you have major problems, send email to [EMAIL PROTECTED] with the word
JE. LPRNGLIST in the SUBJECT line.
JE. -----------------------------------------------------------------------------
JE.
JE. -----------------------------------------------------------------------------
JE. YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
JE. The address you post from MUST be your subscription address
JE.
JE. If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
JE. or lprng-digest-requests) with the word 'help' in the body. For the impatient,
JE. to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
JE. with: | example:
JE. subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
JE. unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
JE.
JE. If you have major problems, send email to [EMAIL PROTECTED] with the word
JE. LPRNGLIST in the SUBJECT line.
JE. -----------------------------------------------------------------------------
JE.
-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body. For the impatient,
to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
with: | example:
subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
If you have major problems, send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------