Hi guys,<br><br>I am trying to create an organizational unit and an user with ACI, but it looks like my ACI is not defined correctly.<br>Below is my ldif.<br><br>dn: ou=serviceaccounts,dc=test,dc=example,dc=com<br>changetype: add
<br>objectclass: top<br>objectclass: organizationalunit<br>aci:<br>&nbsp;(targetattr = &quot;*&quot;)<br>&nbsp;(version 3.0;<br>&nbsp;acl &quot;default aci for service accounts&quot;;<br>&nbsp;allow (all)<br>&nbsp;(userdn=&quot;ldap:///anyone&quot;)
<br>&nbsp;;)<br><br>dn: cn=user1,ou=serviceaccounts,dc=test,dc=example,dc=com<br>changetype: add<br>objectclass: top<br>objectclass: person<br>sn: tscei.obs<br>userPassword: testing123<br>description: This is a test<br>aci:<br>
&nbsp;(targetattr = &quot;*&quot;)<br>&nbsp;(version 3.0;<br>&nbsp;acl &quot;user1&quot;;<br>&nbsp;deny (all)<br>&nbsp;(userdn=&quot;ldap:///self&quot;)<br>&nbsp;;)<br><br>I create an organizational unit that allows all users to modify it, then I create user1 that denies everything.
<br>I then use the below LDIF to perform a LDAP add operation.<br><br>dn: cn=testing123,cn=user1,ou=serviceaccounts,dc=test,dc=example,dc=com<br>changetype: add<br>objectclass: top<br>objectclass: room<br><br>I use this ldapmodify command to perform the add operation
<br>ldapmodify -h hostname -p 1389 -D &quot;cn=user1,ou=serviceaccounts,dc=test,dc=example,dc=com&quot; -w testing123 -f my_test.ldif -x<br><br>The add operation succeeded unexpectedly.&nbsp; The result that I&#39;m looking for should be not enough privilege to perform add operation.
<br><br>Anyone knows what&#39;s wrong with my ACI setup?<br><br>Thanks!<br><br>David<br>