Bug 1139637

Summary: Simple bind hangs after enabling password policy
Product: Red Hat Enterprise Linux 6 Reporter: Kaushik Banerjee <kbanerje>
Component: 389-ds-baseAssignee: Noriko Hosoi <nhosoi>
Status: CLOSED DUPLICATE QA Contact: Sankar Ramalingam <sramling>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.6CC: jgalipea, kbanerje, lslebodn, nkinder, rmeggins
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: 2014-09-09 19:25:18 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 Kaushik Banerjee 2014-09-09 11:19:34 UTC
Description of problem:
Simple bind hangs after enabling password policy

Version-Release number of selected component (if applicable):
# rpm -q 389-ds-base
389-ds-base-1.2.11.15-43.el6.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Turn on the password policy using ldapmodify with following:
    dn: cn=config
    changetype: modify
    add: passwordExp
    passwordExp: on
    -
    add: passwordMaxAge
    passwordMaxAge: 86400
    -
    add: passwordWarning
    passwordWarning: 86400

2. Add a user in ldap server e.g. ppuser1 in my case.

3. ldapsearch -H ldap://<ldapserver> -D uid=ppuser1,ou=People,dc=example,dc=com -w Secret123 -b uid=ppuser1,ou=People,dc=example,dc=com

Actual results:
Search hangs

Expected results:


Additional info:
This is a regression since this was working fine with the 389-ds in rhel6.5

Comment 2 Sankar Ramalingam 2014-09-09 12:05:00 UTC
Hi Kaushik, Can you see whether the same works with the previous build of 389-ds-base-1.2.11.15-42?

Comment 3 Noriko Hosoi 2014-09-09 19:25:18 UTC
This bug was introduced by the patch for  Ticket #47748 - Simultaneous adding a user and binding as the user could fail in the password policy check.

There's a corresponding bug for rhel-6.6.
https://bugzilla.redhat.com/show_bug.cgi?id=1079098
Bug 1079098 - Simultaneous adding a user and binding as the user could fail in the password policy check

So, closing this bug as a dup of 1079098, and reopening it.

*** This bug has been marked as a duplicate of bug 1079098 ***

Comment 4 Kaushik Banerjee 2014-09-29 11:11:55 UTC
Seems like the issue is fixed in 1.2.11.15-44.el6