Tagged: ,

This topic has 18 replies, 6 voices, and was last updated 4 years, 9 months ago by [email protected].

  • Author
  • #10497
     Chris Ridd

    Looking at the code, aclRights/aclRightsInfo only lists entry-level and attribute-level rights. It won’t answer your question.

    It might be easiest to just doing try a search operation with the control.


    Hi Team ,

    I am getting below error while executing –

    C:\OpenDJ-3.0.0\opendj\bat>dsconfig set-access-control-handler-prop -add ‘global
    -aci:(target = “ldap:///cn=schema”)(targetattr = “attributeTypes || objectClasse
    s”)(version 3.0; acl “Modify schema”; allow (write) (userdn = “ldap:///uid=opena
    m,ou=admins,dc=abc,dc=com”);)’ -port 5444 -bindDN “cn=Directory Manager” –
    bindPassword Passw0rd -trustAll
    An error occurred while parsing the command-line arguments: Argument “ûadd”
    does not start with one or two dashes and unnamed trailing arguments are not

    See “dsconfig –help” to get more usage help

    ‘objectClasses”)’ is not recognized as an internal or external command,
    operable program or batch file.


    Actually, the command you ran looks very wrong on so many levels.

    • double quotes are wrong: you should use ” instead of “
    • single quotes are wrong: you should use ‘ instead of ‘
    • options should use double dashes instead of single dashes

    The message “ûadd”, should already have told you something was wrong.

    Did you copy/paste this from a word document?

    • This reply was modified 5 years, 11 months ago by JnRouvignac.

    I have also similar issue during installation DS with following error:

    `The value “(target = “ldap:///cn=schema”)(targetattr = “attributeTypes || \
    objectClasses”)(version 3.0; acl “Modify schema”; allow (write) \
    (userdn = “ldap:///uid=openam,ou=admins,dc=example,dc=com”);)” is
    not a valid value for the “global-aci” property, which must have the following
    syntax: ACI

    As mentioned in topic after remove line break error disapear.

Viewing 4 posts - 16 through 19 (of 19 total)

You must be logged in to reply to this topic.

©2022 ForgeRock - we provide an identity and access platform to secure every online relationship for the enterprise market, educational sector and even entire countries. Click to view our privacy policy and terms of use.

Log in with your credentials

Forgot your details?