Bug 688772 - nslcd works with SSL/TLS in debug mode only
Summary: nslcd works with SSL/TLS in debug mode only
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: nss-pam-ldapd
Version: 6.1
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: ---
Assignee: Nalin Dahyabhai
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-17 23:38 UTC by Ondrej Moriš
Modified: 2011-03-29 21:42 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-03-29 21:36:55 UTC
Target Upstream Version:


Attachments (Terms of Use)
Reproducer (192.29 KB, application/x-bzip2)
2011-03-17 23:38 UTC, Ondrej Moriš
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.