Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-3650

Modify-increment values are rejected as not being integers

    Details

    • Support Ticket IDs:

      Description

      The modify "increment" operation worked in 2.6.x, but now fails. e.g. in a new 4.0 install:

      bin/ldapmodify -D "cn=Directory Manager" -w password
      dn: cn=test,dc=example,dc=com
      changetype: add
      objectclass: inetOrgPerson
      objectclass: extensibleObject
      cn: test
      sn: test
      gidNumber: 1
      
      Processing ADD request for cn=test,dc=example,dc=com
      ADD operation successful for DN cn=test,dc=example,dc=com
      dn: cn=test,dc=example,dc=com
      changetype: modify
      increment: gidNumber
      gidNumber: 1
      -
      
      Processing MODIFY request for cn=test,dc=example,dc=com
      MODIFY operation failed
      Result Code:  21 (Invalid Attribute Syntax)
      Additional Information:  Entry cn=test,dc=example,dc=com cannot be modified because an attempt was made to increment the value of attribute gidNumber but the value "1" contained in the request could not be parsed as an integer
      

      gidNumber is an integer attribute, with an integer equality matching rule.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cjr Chris Ridd
                Reporter:
                cjr Chris Ridd
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: