Novell Home

iPrint Printers on Linux

Novell Cool Solutions: Tip
By Chad Israel

Digg This - Slashdot This

Posted: 22 Sep 2006
 

Problem:

iPrint printers on Linux fail to install when the user authenticating on the web page has an alias elsewhere in the tree. This because LDAP is returning multiple entries for the user during is search.

Solution:

add AuthLDAPDereferenceAliases finding to the /etc/opt/novell/iprint/httpd/conf/iprint_ssl.conf file. This will cause the ldapsearch to be performed with a dereference equal to 2 instead of three. Which means to dereference the alias only when locating the base.

Example:

<IfModule mod_ipp.c>
      <LocationMatch ^/(ipps|idss|[Pp][Ss][Mm][Ss][Tt][Aa][Tt][Uu][Ss])($|/)>
        SSLRequireSSL
        Require valid-user
        Order deny,allow
        Allow from all
        AuthType Basic
        AuthName "DSS"
        AuthLDAPDereferenceAliases finding
        AuthLDAPURL "ldaps://ldap-srv.la.us/o=la???(objectClass=user)
        AuthLDAPRemoteUserIsDN on
        <IfModule mod_auth_ldap.c>
          AuthLDAPEnabled Off
        </IfModule>
        AuthLDAPDNAuthoritative On
        AuthLDAPAllowDNAuth On
      </LocationMatch>
</IfModule>

Environment:

OES-Linux SP2
iPrint


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell