search for: base_ou_dn

Displaying 1 result from an estimated 1 matches for "base_ou_dn".

2020 Aug 24
0
Set/Restrict Owner Rights for OU-Admin
...Here a small bash script to setup an example via command line: ============= #!/bin/bash # variables used in the script TestOU="TestSamba-OU-OWNER-RIGHTS" TestUser="TestSamba-User-OR" TestUserPWD="TestUserPW1!" TestGroup="acl-ad_TestSamba-Group-OR_ou-rw" Base_OU_DN="DC=ad,DC=something,DC=com" Group_OWNER_RIGHTS="OWNER RIGHTS" AD="AD\\" Test_OU_DN="OU=${TestOU},${Base_OU_DN}" # delete Test_OU_DN ( might be necessary to run script multiple times ) # samba-tool ou delete "$(Test_OU_DN)" --force-subtree-delete...