|
|
Subject: hostbased authentication? - msg#00193
List: printing.cups.general
I have what I am sure is a resonably common problem... but still I could not
find a tip to how it can be done yet! What I am after is 2 levels of
authentication for the same printer.
I have 2 catagories of hosts, trused and non-trused. If the client is a trusted
host I would like to use TypeAuth None (or no password needed), else for all
other clients use TypeAuth Basic.
Does anyone know how to do this? I am sorry if the answer is under my noise...
Thanks for any help,
Abed
Was this page helpful?
Thread at a glance:
Previous Message by Date:
click to view message preview
Cups -aarrrggggg!!!!!!!
Hi,
I have been tearing my hair out tying to get cups/foomatic/hpijs working.
Basic cups to a postcript printer works fine.
The error I am getting in the log file are:
D [14/Jan/2004:12:09:54 +0000] [Job 82] foomatic-gswrapper: gs '-dBATCH'
'-dPARA
NOIDSAFER' '-dQUIET' '-dNOPAUSE' '-sDEVICE=ijs' '-sIjsServer=hpijs'
'-sDeviceMan
ufacturer=HEWLETT-PACKARD' '-sDeviceModel=hp color LaserJet'
'-dDEVICEWIDTHPOINT
S=595' '-dDEVICEHEIGHTPOINTS=842' '-dDuplex=false' '-r300'
'-sIjsParams=Quality:
Quality=0,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=2,PS:MediaP
osit
ion=7' '-dIjsUseOutputFD' '-sOutputFile=/dev/fd/3' '/dev/fd/0' 3>&1 1>&2
D [14/Jan/2004:12:09:54 +0000] [Job 82] couldn't set locale correctly
D [14/Jan/2004:12:09:54 +0000] [Job 82] couldn't set locale correctly
D [14/Jan/2004:12:09:54 +0000] [Job 82] unable to set DeviceModel=hp color
Laser
Jet
D [14/Jan/2004:12:09:54 +0000] [Job 82] unable to set device=-1, err=16
D [14/Jan/2004:12:09:54 +0000] [Job 82] **** Unable to open the initial
device,
quitting.
D [14/Jan/2004:12:09:54 +0000] [Job 82] unable to read client data err=-2
D [14/Jan/2004:12:09:54 +0000] [Job 82] renderer return value: 1
D [14/Jan/2004:12:09:54 +0000] [Job 82] renderer received signal: 1
D [14/Jan/2004:12:09:54 +0000] [Job 82]
D [14/Jan/2004:12:09:54 +0000] [Job 82] Closing renderer
D [14/Jan/2004:12:09:54 +0000] [Job 82] KID3 exited with status 3
Any ideas before I thro' myself out of the window!
Thanks in advance.
David
CONFIDENTIALITY NOTICE
The information contained in this e-mail is intended only for the
confidential use of the above named recipient. If you are not the intended
recipient or person responsible for delivering it to the intended recipient,
you have received this communication in error and must not distribute or
copy it. Please accept the sender's apologies, notify the sender
immediately by return e-mail and delete this communication. Thank you.
Next Message by Date:
click to view message preview
Canon BJC-3000 and photocolors
Hello,
when I print somethink with the normal head on the BJC-3000 everythink
is fine. (Well, mostly) But when I insert the photo head and change the
setup to use the photo head I get everythink with a yellow background.
(In german: ein gelber Farbstich) Also when I insert the normal head but
leave the setup on the photo head I get mor yellow then it should.
What can I do to solve this? This makes the glossy paper useless for me.
Gruß
Klaus
--
Klaus Ethgen http://www.ethgen.de/
pub 2048R/D1A4EDE5 2000-02-26 Klaus Ethgen
<Klaus-AFvVKsdj98azQB+pC5nmwQ@xxxxxxxxxxxxxxxx>
Fingerprint: D7 67 71 C4 99 A6 D4 FE EA 40 30 57 3C 88 26 2B
Previous Message by Thread:
click to view message preview
can't resume an held job...
Hello,
Since I've installed CUPS 1.1.20 I have this error:
[prompt] lp -d color -i 23370 -H resume
lp: set-job-attributes failed: client-error-attributes-not-settable
I patched the scheduler to give the possibility to create printer which
holds each job. I defined the directive AutoHoldJobs (Yes/No) which I
put in the printers.conf. What the problem with 1.1.20?
Thank you,
Manu.
Here the end off a strace:
send(4, "\r\n", 2, 0) = 2
time(NULL) = 1074079842
send(4, "\1\1\0\24\0\0\0\1", 8, 0) = 8
time(NULL) = 1074079842
send(4, "\1G\0\22attributes-charset\0\niso-8859"..., 34, 0) = 34
time(NULL) = 1074079842
send(4, "H\0\33attributes-natural-language\0\2"..., 34, 0) = 34
time(NULL) = 1074079842
send(4, "E\0\7job-uri\0\32ipp://localhost/jobs"..., 38, 0) = 38
time(NULL) = 1074079842
send(4, "B\0\24requesting-user-name\0\6machin", 31, 0) = 31
time(NULL) = 1074079842
send(4, "I\0\17document-format\0\30application/"..., 44, 0) = 44
time(NULL) = 1074079842
send(4, "\2B\0\njob-sheets\0\4noneB\0\0\0\4none", 29, 0) = 29
time(NULL) = 1074079842
send(4, "B\0\16job-hold-until\0\7no-hold", 26, 0) = 26
time(NULL) = 1074079842
send(4, "\3", 1, 0) = 1
recv(4, "HTTP/1.1 200 OK\r\nDate: Wed, 14 J"..., 2048, 0) = 317
time(NULL) = 1074079842
time(NULL) = 1074079842
time(NULL) = 1074079842
time(NULL) = 1074079842
time(NULL) = 1074079842
time(NULL) = 1074079842
time(NULL) = 1074079842
time(NULL) = 1074079842
time(NULL) = 1074079842
write(2, "lp: set-job-attributes failed: c"..., 68lp: set-job-attributes
failed: client-error-attributes-not-settable
) = 68
semget(1, 0, 0) = -1 ENOSYS (Function not
implemented)
_exit(1) = ?
Next Message by Thread:
click to view message preview
Re: hostbased authentication?
Anonymous wrote:
I have what I am sure is a resonably common problem... but still I
could not find a tip to how it can be done yet! What I am after is 2
levels of authentication for the same printer.
I have 2 catagories of hosts, trused and non-trused. If the client is
a trusted host I would like to use TypeAuth None (or no password
needed), else for all other clients use TypeAuth Basic.
Does anyone know how to do this? I am sorry if the answer is under my
noise...
Use "Satisfy Any" along with the allow from for those IPs and the
AuthType for other addresses...
--
______________________________________________________________________
Michael Sweet, Easy Software Products
mike-B9D8k9nSxTHQT0dZR+AlfA@xxxxxxxxxxxxxxxx
Printing Software for UNIX http://www.easysw.com
|
|