Bug 720912

Summary: RDN with % can cause crashes or missing entries
Product: Red Hat Enterprise Linux 6 Reporter: RHEL Program Management <pm-rhel>
Component: 389-ds-baseAssignee: Rich Megginson <rmeggins>
Status: CLOSED WONTFIX QA Contact: Chandrasekar Kannan <ckannan>
Severity: high Docs Contact:
Priority: urgent    
Version: 6.2CC: benl, diego, jgalipea, jwest, nhosoi, pm-eus, rmeggins, shaines
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: 389-ds-base-1.2.8.2-1.el6_1.7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-09-20 15:26:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 720452    
Bug Blocks:    

Description RHEL Program Management 2011-07-13 08:31:34 UTC
This bug has been copied from bug #720452 and has been proposed
to be backported to 6.1 z-stream (EUS).

Comment 4 Jenny Severance 2011-08-15 19:37:30 UTC
original bug verified - marking this clone verified

[root@rheltest ~]# ldapadd -x -h localhost -p 1389 -D "cn=directory manager" -w
Secret123 << EOF
> dn: ou=SUDOers,ou=groups,dc=pnq,dc=redhat,dc=com
> ou: SUDOers
> objectClass: top
> objectClass: organizationalUnit
> EOF
adding new entry "ou=SUDOers,ou=groups,dc=pnq,dc=redhat,dc=com"

[root@rheltest ~]# ldapadd -x -h localhost -p 1389 -D "cn=directory manager" -w
Secret123 << EOF
> dn: cn=segu,ou=groups,dc=pnq,dc=redhat,dc=com
> gidNumber: 1100
> objectClass: top
> objectClass: groupofuniquenames
> objectClass: posixgroup
> cn: segu
> EOF
adding new entry "cn=segu,ou=groups,dc=pnq,dc=redhat,dc=com"

[root@rheltest ~]# ldapadd -x -h localhost -p 1389 -D "cn=directory manager" -w
Secret123 << EOF
> dn: cn=%segu,ou=SUDOers,ou=groups,dc=pnq,dc=redhat,dc=com
> objectClass: top
> objectClass: sudoRole
> cn: %segu
> sudoUser: %segu
> sudoHost: ALL
> sudoCommand: /usr/bin/passwd root
> sudoCommand: /usr/sbin/useradd
> sudoCommand: /usr/bin/passwd
> sudoCommand: /usr/bin/chage
> sudoCommand: /usr/sbin/userdel
> sudoCommand: /sbin/pam_tally2
> sudoOption: !authenticate
> EOF
adding new entry "cn=%segu,ou=SUDOers,ou=groups,dc=pnq,dc=redhat,dc=com"

Hence VERIFIED.

Comment 5 Rich Megginson 2011-09-20 15:26:28 UTC
We will not be shipping a 6.1.z errata for this package.   These bugs are being closed.  These bugs are clones of 6.2.0 bugs which we will be releasing an errata for.