Bug 681332
Summary: | modifying attr value crashes the server, which is supposed to be indexed as substring type, but has octetstring syntax | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Noriko Hosoi <nhosoi> |
Component: | 389-ds-base | Assignee: | Rich Megginson <rmeggins> |
Status: | CLOSED ERRATA | QA Contact: | Chandrasekar Kannan <ckannan> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.1 | CC: | amsharma, benl, dpal, jgalipea |
Target Milestone: | rc | Keywords: | screened |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | 389-ds-base-1.2.8-0.6.rc1.el6 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 679978 | Environment: | |
Last Closed: | 2011-05-19 12:42:20 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: | 679978 | ||
Bug Blocks: | 639035, 656390, 680575 |
Description
Noriko Hosoi
2011-03-01 19:20:57 UTC
1. [root@rheltest etc]# ldapmodify -a -D "cn=directory manager" -w Secret123 -p 389 -h localhost << EOF > dn: cn=extraId,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config > nsIndexType: eq > nsIndexType: pres > nsIndexType: sub > nsSystemIndex: false > objectClass: top > objectClass: nsIndex > cn: extraId > EOF adding new entry "cn=extraId,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config" 2. [root@rheltest amsharma]# ldapmodify -a -D "cn=directory manager" -w Secret123 -p 389 -h localhost -v -f /home/amsharma/addattribute.ldif ldap_initialize( ldap://localhost:389 ) add attributeTypes: ( extraId-oid NAME 'extraId' DESC 'CMS defined attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'user defined' ) add objectClasses: ( 2.16.840.1.113730.3.2.1000 NAME 'extInetOrgPerson' SUP inetOrgPerson STRUCTURAL MAY ( extraId ) X-ORIGIN 'user defined' ) modifying entry "cn=schema" modify complete 3.[root@rheltest amsharma]# ldapmodify -a -D "cn=directory manager" -w Secret123 -p 389 -h localhost -v -f /home/amsharma/adduser.ldif ldap_initialize( ldap://localhost:389 ) add cn: ams add sn: ams add givenname: ams add objectclass: top person organizationalPerson inetOrgPerson extinetOrgPerson add extraId: cn=tuser1:00000000 add uid: ams add mail: ams add userpassword: amsamsams adding new entry "uid=tuser1,dc=pnq,dc=redhat,dc=com" modify complete 4. [root@rheltest amsharma]# ldapmodify -x -D "cn=directory manager" -w Secret123 -p 389 -h localhost << EOF > dn: uid=tuser1,dc=pnq,dc=redhat,dc=com > changetype: modify > replace: extraId > extraId: tuser1:00000006 > EOF modifying entry "uid=tuser1,dc=pnq,dc=redhat,dc=com" 5. [root@rheltest amsharma]# ldapmodify -x -D "cn=directory manager" -w Secret123 -p 389 -h localhost << EOF dn: uid=tuser1,dc=pnq,dc=redhat,dc=com changetype: modify replace: extraId extraId: tuser1:abcd EOF modifying entry "uid=tuser1,dc=pnq,dc=redhat,dc=com" 6. [root@rheltest amsharma]# ldapmodify -x -D "cn=directory manager" -w Secret123 -p 389 -h localhost << EOF dn: uid=tuser1,dc=pnq,dc=redhat,dc=com changetype: modify replace: extraId extraId: tuser1:xyZ0gft EOF modifying entry "uid=tuser1,dc=pnq,dc=redhat,dc=com" Tested Successfully hence marking the status as VERIFIED. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHEA-2011-0533.html |