0 Replies Latest reply on Mar 24, 2020 9:44 PM by Philipp Grigoryev

    setting ACL with dsconfig from windows command line

    Philipp Grigoryev

      Hey guys,


      Has anybody managed to setup ACLs for OUD from windows command line? I can't figure the way to do that, even though from Linux it works just fine. What I need to run is


      ./dsconfig set-access-control-handler-prop

      --add 'global-aci:(target="ldap:///cn=oraclecontext,dc=domain,dc=local ")(targetattr!="userpassword||authpassword||aci")(version 3.0; acl "Anonymous read access to subtree";allow (read,search,compare) userdn="ldap:///anyone";)'

      --hostname $OUD_HOST --port 4444

      --bindDN 'cn=Directory Manager' --bindPasswordFile $PWD_FILE

      --trustAll --no-prompt


      Thank you in advance!