Bug 688772

Summary: nslcd works with SSL/TLS in debug mode only
Product: Red Hat Enterprise Linux 6 Reporter: Ondrej Moriš <omoris>
Component: nss-pam-ldapdAssignee: Nalin Dahyabhai <nalin>
Status: CLOSED NOTABUG QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.1CC: prc, syeghiay
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-29 21:36:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Reproducer none

Description Ondrej Moriš 2011-03-17 23:38:12 UTC
Created attachment 486125 [details]
Reproducer

Description of problem:

When SSL/TLS is enabled in nss-pam-ldapd and service nslcd is not started in debug mode (i.e. with option -d), then SSL/TLS does not work. In debug mode it works fine.

Version-Release number of selected component (if applicable):

nss-pam-ldapd-0.7.5-3.el6

How reproducible:

Steps to Reproduce:

1. Install beakerlib
2. Execute attached test: bash runtest.sh
   + test will setup slapd listening on both ldap:// and ldaps:// 
   + configure nss-pam-ldapd to use TLS
   + query server via getent
  
Actual results:

Query fails (exit code 2). 

Expected results:

Query pass (exit code 0).

Additional info:

If 'service nslcd start' is replaced by '/usr/sbin/nslcd', it still does not work. But if '/usr/sbin/nslcd -d' is used, then query passes.

Comment 3 Ondrej Moriš 2011-03-29 21:36:55 UTC
There was a flaw in the test, it is now passing. Sorry :-). Closing as not-a-bug.