Bug 1088171

Summary: 7-bit check plugin does not work for userpassword attribute
Product: Red Hat Enterprise Linux 6 Reporter: Thorsten Scherf <tscherf>
Component: 389-ds-baseAssignee: Noriko Hosoi <nhosoi>
Status: CLOSED WONTFIX QA Contact: Sankar Ramalingam <sramling>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.5CC: jgalipea, nhosoi, nkinder, rmeggins
Target Milestone: rcKeywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1044147 Environment:
Last Closed: 2014-09-09 22:44:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1044147    
Bug Blocks:    

Description Thorsten Scherf 2014-04-16 07:47:55 UTC
+++ This bug was initially created as a clone of Bug #1044147 +++

This bug is created as a clone of upstream ticket:
https://fedorahosted.org/389/ticket/47423

7-bit check plugin fails to validate the userpassword attribute.

Comment 1 Noriko Hosoi 2014-04-21 20:14:44 UTC
https://fedorahosted.org/389/ticket/47423#comment:3
Steps to reproduce:
Make sure the 7 bit plugin is enabled and userpassword is in the arg list.
  dn: cn=7-bit check,cn=plugins,cn=config
  nsslapd-pluginEnabled: on
  nsslapd-pluginarg2: userpassword

Command line: ldapadd -x -D "cn=directory manager" -w password -f test.ldif

Contents of test.ldif:

dn: uid=Testuser1,ou=People,dc=localdomain
changetype: add
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
cn: Testuser1
sn: user1
uid: Testuser1
givenName: Test
userPassword: κñόσμε

Actual output: New user added

Expected output: ldap_add: Constraint violation (19)

    additional info: The value is not 7-bit clean: κñόσμε