Add substring matching rules for attribute type within the meta-schema
----------------------------------------------------------------------

                 Key: DIRSERVER-908
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-908
             Project: Directory ApacheDS
          Issue Type: Improvement
    Affects Versions: 1.5.0
         Environment: ApacheDS 1.5.0
            Reporter: Stefan Zoerner
            Priority: Minor


If I perform a search like this:

$ ldapsearch -h zanzibar -p 10389 -D "uid=admin,ou=system" -w ****** -b 
"ou=schema" -s sub "(m-oid=2.5.6.6)"

I get the expected result from the schema partition

version: 1
dn: m-oid=2.5.6.6,ou=objectClasses,cn=core,ou=schema
m-may: userPassword
m-may: telephoneNumber
m-may: seeAlso
m-may: description
objectClass: metaObjectclass
objectClass: metaTop
objectClass: top
m-typeObjectClass: STRUCTURAL
m-obsolete: FALSE
m-name: person
m-oid: 2.5.6.6
m-must: sn
m-must: cn
m-description: RFC2256: a person
m-supObjectClass: top
$

It would be nice if it would also be possible to search with a sub string 
filter.
Here an example, which currently fails due to a missing substring matching rule 
for attribute type m-oid 

$ ldapsearch -h zanzibar -p 10389 -D "uid=admin,ou=system" -w ****** -b 
"ou=schema" -s sub "(m-oid=2.5.6.*)"
ldap_search: Loop detected
ldap_search: additional info: failed on search operation: Unexpected exception.
$ 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to