[cups.general] cups-1.2.0 built from source (from www.cups.org) doesn't generate server.{key,crt}, etc

wtautz wtautz at cs.uwaterloo.ca
Fri May 19 10:12:52 PDT 2006


Is the search tool at http://www.cups.org/str.php
broken? I can seem to find anything when I type search terms
into it. In particular nothing about the stuff below. Perhaps
I'm doing this wrong :-(

----------- my report ----------------

Hello, I just build cups from source at www.cups.org, version 1.2.0
on Ubuntu dapper (this is different from my previous reports
as i was working with the precompiled deb package).


It seems that server.key and server.crt don't get generated. I had to use
the openssl command to do this myself.

Second, I added a printer successfully after doing the key generating
but then a second later it claims permission denied even though I checked
and the printer had indeed been added.


Is the encrpytion requirement hardwired? Because I tried saying
Encryption Never,(yes
I know this wouldn't be a good idea, just experimenting)  see cups.conf
below.

Build information:


PREFIX=/software/cups-1.2.X

       ./configure --exec_prefix=$(PREFIX)/data/arch \
                       --bindir=$(PREFIX)/bin \
                       --sbindir=$(PREFIX)/maintenance \
                       --libexecdir=$(PREFIX)/data/arch/lib \
                       --libdir=$(PREFIX)/lib \
                       --sysconfdir=$(PREFIX)/config/local \
                                   --localstatedir=$(PREFIX)/data/local \
                       --infodir=$(PREFIX)/distribution/doc/info \
                       --mandir=$(PREFIX)/distribution/man \
                       --datadir=$(PREFIX)/distribution/data \
                       --includedir=$(PREFIX)/distribution/include \
                                  
--sharedstatedir=$(PREFIX)/distribution/data/share \



 ldd /software/cups/servers/cupsd
        linux-gate.so.1 =>  (0xffffe000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb7fb9000)
        libssl.so.0.9.8 => /usr/lib/i686/cmov/libssl.so.0.9.8 (0xb7f7b000)
        libcrypto.so.0.9.8 => /usr/lib/i686/cmov/libcrypto.so.0.9.8
(0xb7e4d000)
        libcups.so.2 => /software/cups-1.2.X/lib/libcups.so.2 (0xb7e27000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7e15000)
        libcrypt.so.1 => /lib/tls/i686/cmov/libcrypt.so.1 (0xb7de8000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7cb9000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7cb5000)
        /lib/ld-linux.so.2 (0xb7fd4000)


#
# "$Id: cupsd.conf,v 1.1 2006/05/19 14:44:50 root Exp root $"
#
#   Sample configuration file for the Common UNIX Printing System (CUPS)
#   scheduler.  See "man cupsd.conf" for a complete description of this
#   file.
#

# Log general information in error_log - change "info" to "debug" for
# troubleshooting...
LogLevel debug2

# Administrator user group...
SystemGroup lpadmin root sys

# Only listen for connections from the local machine.
Listen /software/cups-1.2.X/data/local/run/cups/cups.sock
Port 631
Port 443

# Show shared printers on the local network.
Browsing On
BrowseOrder allow,deny
BrowseAllow @LOCAL

# Default authentication type, when authentication is required...
DefaultAuthType Basic

# Restrict access to the server...
<Location />
  Order allow,deny
  Allow @LOCAL
</Location>

# Restrict access to the admin pages...
<Location /admin>
  #Encryption Required
  Encryption Never
  Order allow,deny
  Allow @LOCAL
</Location>

# Restrict access to configuration files...
<Location /admin/conf>
  AuthType Basic
  Require user @SYSTEM
  Order allow,deny
  Allow @LOCAL
</Location>

# Set the default printer/job policies...
<Policy default>
  # Job-related operations must be done by the owner or an adminstrator...
  <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job
Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription
Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job
Suspend-Current-Job Resume-Job CUPS-Move-Job>
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>

  # All administration operations require an adminstrator to authenticate...
  <Limit Pause-Printer Resume-Printer Set-Printer-Attributes
Enable-Printer Disable-Printer Pause-Printer-After-Current-Job
Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer
Restart-Printer Shutdown-Printer Startup-Printer Promote-Job
Schedule-Job-After CUPS-Add-Printer CUPS-Delete-Printer CUPS-Add-Class
CUPS-Delete-Class CUPS-Accept-Jobs CUPS-Reject-Jobs CUPS-Set-Default>
    AuthType Basic
    Require user @SYSTEM
    Order deny,allow
    Encryption Never
  </Limit>

  # Only the owner or an administrator can cancel or authenticate a job...
  <Limit Cancel-Job CUPS-Authenticate-Job>
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>

  <Limit All>
    Order deny,allow
  </Limit>
</Policy>

#
# End of "$Id: cupsd.conf,v 1.1 2006/05/19 14:44:50 root Exp root $".





More information about the cups mailing list