Bug 1733457

Summary: Incorrect env variable names for ldap clients
Product: Red Hat Directory Server Reporter: Viktor Ashirov <vashirov>
Component: Doc-administration-guideAssignee: Marc Muehlfeld <mmuehlfe>
Status: CLOSED CURRENTRELEASE QA Contact: RHDS QE <ds-qe-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 10.4CC: rhel-docs
Target Milestone: DS10.4Keywords: EasyFix
Target Release: rhds-10.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-09 13:29:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Viktor Ashirov 2019-07-26 07:30:51 UTC
Document URL: 
https://access.redhat.com/documentation/en-us/red_hat_directory_server/10/html/administration_guide/using-based_client_authentication#authenticating_using_a_certificate

Section Number and Name: 
9.8.4. Authenticating Using a Certificate

Describe the issue: 
Document mention these environment variables:
LDAPTLS_CACERTFILE=/home/user_name/CA.crt
LDAPTLS_KEYFILE=/home/user_name/user.key
LDAPTLS_CERTFILE=/home/user_name/user.crt

But their names are incorrect, see man 5 ldap.conf

Suggestions for improvement: 
LDAPTLS_CACERT=/home/user_name/CA.crt
LDAPTLS_KEYF=/home/user_name/user.key
LDAPTLS_CERT=/home/user_name/user.crt

Additional information:

Comment 1 Marc Muehlfeld 2019-08-09 13:28:05 UTC
There's a typo above in one of the variables above:
> Suggestions for improvement: 
> LDAPTLS_KEYF=/home/user_name/user.key

The correct variable name according to man 5 ldap.conf is:
LDAPTLS_KEY=/home/user_name/user.key

Comment 2 Marc Muehlfeld 2019-08-09 13:29:01 UTC
I fixed the variables in the master an 10.4 branch.


The update is now available on the Customer Portal:
https://access.redhat.com/documentation/en-us/red_hat_directory_server/10/html/administration_guide/using-based_client_authentication#authenticating_using_a_certificate