[cups.bugs] [MOD] STR #3032: rewriting cupsd.conf from webinterface changes deny/allow order

Thomas Seeling thomas.seeling at gmx.net
Fri Dec 5 00:24:27 PST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michael Sweet schrieb:
> [STR Closed w/o Resolution]
> 
> The web interface updates *all* of the settings to match the check boxes.
> This is not a bug.
> 
> To only change the log level, you need to edit the cupsd.conf directly.

the case is not about changing the log level, this was just an example to
force rewrite.
the case is that the settings get written back *differently*.
After applying the "save" button I had no more access because the order of
allow and deny was reversed. This in fact reverses the meaning of all my
settings about security.

I accept that the full config file is written back, this is much easier than
parsing the config file and apply the changes (I'm a software developer myself).
But the write-back should be working correctly and match the settings
originally read from the same file!

Please compare this working definition
<Location />
  Order Deny,Allow
  Deny from All
  Allow from 127.0.0.1
  Allow from 192.168.100.0/24
  Allow @LOCAL
</Location>

with the one after write-back:
<Location />
  Deny from All
  Allow from 127.0.0.1
  Allow from 192.168.100.0/24
  # Allow shared printing and remote administration...
  Order allow,deny
  Allow @LOCAL
</Location>

The latter one gives me 403 after the "restarting..." message.
This is unusable.

Tschau...Thomas
- --
"Do you wanna be a legend or a passing footprint on the sands of time?"
Tivoli certified Enterprise Consultat, IBM certified deployment professional
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkk45TAACgkQ6tRbEjWup3I7NgCfWMMpUIIOE6jsvAn0YI9qwXtj
EHkAoKqsj8XRzARljb+NGRhY2okYuS4L
=dxwK
-----END PGP SIGNATURE-----





More information about the cups-devel mailing list