[cups.bugs] [MOD] STR #2650: problems with remote-any server setting
twaugh.redhat
twaugh at redhat.com
Thu Jan 3 08:47:18 PST 2008
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
The remote-any server setting behaves oddly, and appears not to 'stick'.
Start with the cupsd.conf attached, and make a backup copy:;;;
# cp /etc/cups/cupsd.conf{,.orig}
Now see what the settings are:
# cupsctl
SystemGroup=sys root
DefaultAuthType=Basic
PreserveJobFiles=Yes
_debug_logging=0
_remote_admin=0
_remote_any=0
_remote_printers=1
_share_printers=1
_user_cancel_any=0
This is all expected.
1. Trying to change remote-any on its own has no effect.
# cupsctl --remote-any
# cupsctl | grep remote_any
_remote_any=0
# diff -U0 /etc/cups/cupsd.conf{.orig,}
--- /etc/cups/cupsd.conf.orig 2008-01-03 16:41:11.000000000 +0000
+++ /etc/cups/cupsd.conf 2008-01-03 16:42:15.000000000 +0000
@@ -3 +2,0 @@
-# Allow remote access
@@ -6 +4,0 @@
-# Enable printer sharing and shared printers.
@@ -13 +10,0 @@
- # Allow shared printing...
2. When used in conjunction with share-printers, effect is made 'cupsctl'
still shows '0' for that option.
# cupsctl --share-printers --remote-any
# cupsctl | grep remote_any
_remote_any=0
# diff -U0 /etc/cups/cupsd.conf{.orig,}
--- /etc/cups/cupsd.conf.orig 2008-01-03 16:41:11.000000000 +0000
+++ /etc/cups/cupsd.conf 2008-01-03 16:44:49.000000000 +0000
@@ -15 +15 @@
- Allow @LOCAL
+ Allow all
Disabling this setting now brings the file back to its original state when
used in conjunction with share-printers:
# cupsctl --share-printers --no-remote-any
# diff -U0 /etc/cups/cupsd.conf{.orig,}
#
Original bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=421411
Link: http://www.cups.org/str.php?L2650
Version: 1.3.4
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cupsd.conf
URL: <https://lists.cups.org/pipermail/cups/attachments/20080103/0aaf96a1/attachment.ksh>
More information about the cups
mailing list