Skip to content

Instantly share code, notes, and snippets.

Created October 19, 2016 08:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/3966f8a45288fb5e61539e3a9aab2155 to your computer and use it in GitHub Desktop.
Save anonymous/3966f8a45288fb5e61539e3a9aab2155 to your computer and use it in GitHub Desktop.
ldapmodify -h localhost -p 1389 -D "cn=Directory Manager" -w qwerty123 -a
dn: dc=ydp,dc=eu
changetype: modify
add: aci
aci: (target="ldap:///dc=ydp,dc=eu") (targetattr = "*")(version 3.0; acl "Full access to People"; allow(all) userdn = "ldap:///uid=Technical User,cn=Tech,ou=Groups,dc=ydp,dc=eu";)
Caught exception './bin/ldapdelete exit status: 16896
./bin/ldapdelete stdout: Processing DELETE request for ou=people1,dc=ydp,dc=eu
./bin/ldapdelete stderr: DELETE operation failed
Result Code: 66 (Not Allowed on Non-Leaf)
Additional Information: The entry 'ou=people1,dc=ydp,dc=eu' cannot be removed because it has subordinate entries
' while executing OpenDJ command 'ldapdelete' with params '--noPropertiesFile, --deleteSubtree, ou=people1,dc=ydp,dc=eu'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment