Tagged: ,

This topic contains 17 replies, has 5 voices, and was last updated by Profile photo of JnRouvignac JnRouvignac 6 months, 3 weeks ago.

  • Author
    Posts
  • #10497
    Profile photo of Chris Ridd Chris Ridd 
    Participant

    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.

    #15072
    Profile photo of aanandsr aanandsr 
    Participant

    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
    allowed

    See “dsconfig –help” to get more usage help

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

    #15151
    Profile photo of JnRouvignac JnRouvignac 
    Participant

    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 6 months, 3 weeks ago by Profile photo of JnRouvignac JnRouvignac.
Viewing 3 posts - 16 through 18 (of 18 total)

You must be logged in to reply to this topic.

©2017 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?