Replying to my own post here - it looks like the problem here was that
the control file for jobs submitted from older machines wasn't putting
in a fully qualified name and hence the comparison was failing.  I
added force_fqdn_hostname to lpd.conf and now SAMEHOST behaves as I
would expect.

Toby

> As a bit of further info concerning this problem, the SAMEHOST value
> seems to be evaluated correctly if the job is sent/removed from a
> machine within the same domain as the print server, e.g.
>
> job sent from host.inf.ed.ac.uk to printserver.inf.ed.ac.uk can be
> removed from the same machine, but...
>
> job sent from host.cogsci.ed.ac.uk to printserver.inf.ed.ac.uk can
> *not* be removed from the same machine.
>
> I can see in the logs for the first example that it correctly compares
> HOST to REMOTEHOST and therefore doesn't attempt to compare it with
> with either the IP of the print server or 127.0.0.1:
>
> Same_host: comparing [host 'a.inf'] to [host 'a.inf'], result 0
>
> (contrast this with the example below where it doesn't even print out
> a message for comparing with anything but print server IP and
> localhost.
>
> Toby


-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------

Reply via email to