I second everything Johannes mentions.  We really need a way to query the policy layer and an IPP extension is the simplest and most consistent way of doing this.  Parsing cupsd.conf is a hack.  Why are you against adding an IPP extension?  You already have several.
<br><br>Chris<br><br><div><span class="gmail_quote">On 7/5/07, <b class="gmail_sendername">Johannes Meixner</b> <<a href="mailto:jsmeix@suse.de">jsmeix@suse.de</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>Hello,<br><br>On Jul 4 22:57 Michael Sweet wrote:<br>><br>> [STR Closed w/o Resolution]<br>><br>> The thing to do is read the cupsd.conf file.  We are not interested in<br>> adding another IPP extension just for this...
<br>><br>> Link: <a href="http://www.cups.org/str.php?L2428">http://www.cups.org/str.php?L2428</a><br>> Version:  -feature<br>> Fix Version: Will Not Fix<br><br><br>I do not understand how "read the cupsd.conf
 file" should work<br>when the printer setup tool process runs under a user who has<br>no read permissions for cupsd.conf (but according to the policy<br>the user may have full printer admin permissions).<br><br><br>
I do not understand how "read the cupsd.conf file" should work<br>when the printer setup tool runs on a remote machine.<br><br>The same problem is when one uses "lpadmin -h remote-cups-server".<br><br>
How does the CUPS web interface solve this problem?<br>Does it let the user click around and select whatever he likes<br>but at the end when the queue should actually be changed<br>it informs the user about a "permission denied"?
<br><br><br>Furthermore "read the cupsd.conf file" introduces a dependency<br>that whatever printer setup tool applications depend on the exact<br>format of the cupsd.conf file.<br>A cupsd.conf format change may break all those printer setup
<br>tools so that they abort with "failed to parse cupsd.conf".<br><br><br>Finally "read the cupsd.conf file" introduces tons of possible<br>buggy implementations how to parse all the stuff in cupsd.conf
<br>correctly. Probably each individual printer setup tool implements<br>its own individual partially faulty way to parse cupsd.conf.<br><br><br>Kind Regards<br>Johannes Meixner<br>--<br>SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany
<br>AG Nuernberg, HRB 16746, GF: Markus Rex<br></blockquote></div><br>