Red Hat Bugzilla – Bug 426956
defaultshared defaults to no
Last modified: 2008-01-10 08:06:14 EST
Description of problem:
On FC6 (fedora) - if defaultshared is not present in cupsd.conf it defaults to
no, inspite of the documentation stating that it should be shared by default.
Version-Release number of selected component (if applicable): 1.2.12
Steps to Reproduce:
Are you using lpadmin to create queues, or some other method?
yes lpadmin is used to create the queues. If no shared parameter is specified,
it should default to the parameter in cupsd.conf defaultshared=yes (even if that
is not present in the cupsd.conf). It does not behave as described though unless
either is explicitly stated. Please refer to the following url.
The DefaultShared directive specifies whether printers are shared (published) by
default. The default is Yes.
Seems to work fine in Fedora 8:
# grep -i defaultshared /etc/cups/cupsd.conf
# lpadmin -p test -v /dev/null
# lpoptions -p test
finishings=3 copies=1 job-hold-until=no-hold job-priority=50 number-up=1
auth-info-required=none job-sheets=none,none printer-info=test
printer-is-accepting-jobs=0 printer-is-shared=1 printer-location
printer-make-and-model='Local Raw Printer' printer-state=5
[root@cyberelk ~]# rpm -q cups
Note 'printer-is-shared=1' in the output.
What do you get when you try those commands?
Yes its fine on FC6, I just realized that these configs were generated on
FC2/cups-1.1.20-11.11.2.legacy and defaultshared was introduced in 1.2