Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-1055

Reading cn=schema doesn't return all requested attributes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5.1
    • 1.5.2
    • None
    • None

    Description

      When performing the following search the attributes createTimestamp and modifyTimestamp are not in the search result, although requested:

      $ ldapsearch -x -h localhost -p 10389 -D "uid=admin,ou=system" -w "secret" -b "cn=schema" -s base "(objectClass=subschema)" objectClasses attributeTypes ldapSyntaxes matchingRules matchingRuleUse createTimestamp modifyTimestamp | grep "modifyTimestamp:"

      However when performing this search the modifyTimestamp is returned. Note the additonal "+" in the list of returning attributes:

      $ ldapsearch -x -h localhost -p 10389 -D "uid=admin,ou=system" -w "secret" -b "cn=schema" -s base "(objectClass=subschema)" objectClasses attributeTypes ldapSyntaxes matchingRules matchingRuleUse createTimestamp modifyTimestamp "+" | grep "modifyTimestamp:"
      modifyTimestamp: 20070901074516Z

      Attachments

        1. SchemaSearchTest.java
          5 kB
          Stefan Seelmann

        Activity

          People

            elecharny Emmanuel Lécharny
            seelmann Stefan Seelmann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: