The script secureanybox_agent_ad_setup.ps1 cannot be used with DSfW because ADWS is not emulated in DSfW. Therefore, the SecureAnyBox Manager must be created manually and configured with the necessary permissions to reset password for accounts that are members of the group that is selected as the controlling group. Passwords of these accounts will then be rotated.
The following must be configured for the SecureAnyBox Manager account:
- Membership in the Administrators group.
-
ACL
Inherited to user Allow <AD domain>\<řídící skupina rotace> Reset Password
The membership in the Administrator group can be added using standard administrative tools: in Windows, by editing the account in Active Directory using dsa.msc or the MMC console; or in eDirectory from the OES (Linux) environment, by editing the account using the Identity Console or iManager.
ACL can be only added from the Windows environment using a command-line:
dsacls <LDAP FDN účtu SecureAnyBox manažera> /I:S /G "<AD domain>\<řídící skupina rotace>:CA;Reset Password;user"
Example of Setting Up a SecureAnyBox Manager Account #
Create a sab account.


And assign it membership in the Administrators group.


Next, we configure the ACL for the SecureAnyBox manager account CN=sab,OU=user,DC=orgad,DC=cz. First, we need to select or add a group that will serve as the controlling group for password rotation of AD accounts. Every account that will be a member of this group will be included to the accounts whose password will be rotated.
For example, let‘s create a group called g1:


We can now configure the necessary ACL so that the account cn=sab,ou=user,dc=orgad,dc=cz can reset passwords only for accounts that are members of the controlling group cn=g1,ou=group,dc=orgad,dc=cz.
On the machine joined to the ORGAD domain open the Command Prompt or PowerShell windows and run the command:
dsacls cn=sab,ou=user,dc=orgad,dc=cz /I:S /G "ORGAD\g1:CA;Reset Password;user"
To verify, run the command:
dsacls cn=sab,ou=user,dc=orgad,dc=cz
The result should be an ACL listing that ends with:
...
Permissions inherited to subobjects are:
Inherited to user
Allow ORGAD\g1 Reset Password
The command completed successfully
The LDAP FDN of the group g1, CN=g1,OU=group,DC=orgad,DC=cz, must be entered on the Windows tab in the agent configuration:

We will use the LDAP FDN of the SecureAnyBox Manager account CN=sab,OU=user,DC=orgad,DC=cz in Credentials:
