Environment
Novell Open Enterprise Server 1.0 - Linux
Novell Open Enterprise Server 2.0 - Linux
Situation
Error: Create Driver Store Failure
Authorization Required
IPP Error: 0xF0191
HTTP Error: 401
or
Internal Server Error
IPP Error: 0xF01F4
HTTP Error: 500
Resolution
1.The uniqueID attribute is not set on the user.
For more information to see if the uniqueID attribute is set for the user and how to populate the uniqueID, see KB 3110036.
2. Duplicate uniqueID attributes
3. The uniqueID attribute cannot be found during the LDAP query.
a. CN doesn't equal the UID - Compare the CN value to the uniqueID
b. Multiple Organization objects - Modify
Restart Apache to make that take affect. (rcapache2 restart)
4. Problem Contacting LDAP Server
In the /etc/opt/novell/iprint/httpd/conf/iprint_ssl.conf, change:
AuthLDAPURLldaps://[DNS]/O=[YourOrganizationName]???(objectClass=user)
to
AuthLDAPURLldaps://[IP_OF_SERVER]/O=[YourOrganizationName]???(objectClass=user)
Use the word localhost. Restart Apache to make the change take effect. (rcapache2 restart)
5. Certificate Invalid, Expired, or Untrusted
The iPrint authentication relies on a secure connection to the LDAP server specified in /etc/opt/novell/iprint/httpd/conf/iprint_ssl.conf. This secure connection requires the /etc/opt/novell/certs/SSCert.pem to be valid. (Note: The location of SSCert.pem for OES 1 is /etc/opt/novell/.)
There are three methods to fixing or working around this problem:
Follow the steps documented in the "Certificate Recreation Script for OES1 and OES2" Novell Cool Solution.
https://www.novell.com/communities/node/5704/certificate-recreation-script-oes1-and-oes2
b. Change the certificate used in the iPrint authentication
- Modify the following line in /etc/opt/novell/httpd/conf.d/iprint_g.conf from
LDAPTrustedCA /etc/opt/novell/certs/SSCert.pem
to
LDAPTrustedCA /etc/ssl/servercerts/servercert.pem
- Restart apache
rcapache2 restart
c. Change LDAP Server Connections setting
By default LDAP uses SSL CertificateDNS to establish a secure connection. That can be changed to use the SSL CertificateIP. The steps to accomplish that are:
- iManager -> LDAP -> LDAP Options -> General -> Connections -> Server Certificate
- Browse to SSL CertificateIP and click Apply
- Restart eDirectory
cd /etc/init.d
./ndsd restart
-
Delete the SSL CertificateDNS, SSL CertificateIP & SAS object of the server in question.
-
From the Terminal window of the server in question run ndsconfig upgrade.
9. Make sure that the /etc/hosts file has the correct IP address and DNS entry.
Example: 192.168.1.20 myserver.mycompany.com myserver
10. Make sure that the organization is specified correctly.
In the /etc/opt/novell/iprint/httpd/conf/iprint_ssl.conf, verify
AuthLDAPURLldaps://[DNS]/O=[YourOrganizationName]???(objectClass=user)
Additional Information
1.The uniqueID attribute is not set on the user.
Users created by iManager or ConsoleOne will have a uniqueID attribute set for each account. By default, the uniqueID string will match the CN. For example, the uniqueID for admin.acct is admin. The LDAP authentication performed by the iPrint client relies on this uniqueID attribute. If the attribute is not present, then the authentication will fail. Users created with NWAdmin will not have a uniqueID. The results to the above search will let you know if that uniqueID exists.
2.Duplicate UniqueID attributes
ldapsearch -b [LDAPSearchBase] -x -a always -H ldaps://%5BDNSorIPofIPRINTserver/] '(&(uid=[USERNAME])(objectClass=user))'
The items in brackets [ ] must be replaced with the value from your environment. Below is a example:
ldapsearch -b o=novell -x -a always -H ldaps://10.0.1.9/ '(&(uid=admin)(objectClass=user))'
3. The uniqueID attribute cannot be found during the LDAP query.
Before the authentication can occur, the user's uniqueID attribute must be found by an LDAP query. Below lists 2 reasons the uniqueID (UID) may not be found:
If the value for the CN does not match the value of the uniqueID, then the UID will not be found during the LDAP lookup. Unmatching CN's and UID's will occur only if the CN or UID was manually changed.
b. Multiple Organization objects or search bases
By default, the /etc/opt/novell/iprint/httpd/conf/iprint_ssl.conf specifies the Organization object or other search bases that will be searched to find the user that logged into iManager. For example, if the tree has multiple O's (Organization objects), then users only in the O listed in the iprint_ssl.conf will be searched. Users outside of that O will see the 401 error.
4.Problem Contacting LDAP Server
OES 1:
echo -n | SSL_CERT=/no_dir openssl s_client -connect localhost:636 -CAfile /etc/opt/novell/SSCert.pem -verify 255
OES 2:
echo -n | SSL_CERT=/no_dir openssl s_client -connect localhost:636 -CAfile /etc/opt/novell/certs/SSCert.pem -verify 255
Look to the bottom of the output returned from the above command.
The output from a valid certificiate will end with:
Note: Even if the status shows OK, be sure to check the DNS name returned in the certificate. If the DNS name in the certificate doesn't match the server's true name, then you must resolve this problem following the steps in the FIX section of this TID.
The output from an expired certificate will end with:
Verify return code: 10 (certificate has expired)
verify error:num=19:self signed certificate in certificate chain
verify return:0
31352:error:14090086:SSL routines:
SSL3_GET_SERVER_CERTIFICATE:certificate verify failed:s3_clnt.c:842:
-
In iManger go to Novell Certificate Access | Server Certificates.
-
Browse and select the suspected Server and check mark SSL CertificateDNS and click on Export.
-
From the Certificates Drop Down list choose SSL CertificateDNS and Uncheck Export private key.
-
Export format should be DER click on Next.
-
Save the Exported Certificate.
-
Go to eDirectory Maintenance | Import Convert Export Wizard.
-
Select Export data to a file on disk and click on Next.
-
Provide the IP address of the server in question and use port 636.
-
Browse and select the Exported Certificate file.
-
Choose Authenticated login and provide Admin credentials and click on Next.
-
Provide Base DN as O=Organization (Replace Organization with the name of your Organzation object in eDirectory).
-
Select Base and click on Next.
-
Keep defaults for rest of the options.
Formerly known as TID# 10098616