Univention Bugzilla – Bug 40351
Add policy review tool
Last modified: 2021-05-14 16:34:24 CEST
There should be an easy to use commandline tool that expects a policy name and prints all referenced objects this policy is linked to.
# function list_policies() { univention-ldapsearch -xLLL univentionPolicyReference=$(univention-ldapsearch cn="$1" -xLLL dn |sed 's/^dn: \s*//g; s/\s*$//g') dn; } # list_policies default-umc-users dn: cn=Domain Users,cn=groups,dc=saml,dc=dev dn: cn=Domain Users oldschool,cn=groups,ou=oldschool,dc=saml,dc=dev dn: cn=Domain Users fhomejt,cn=groups,ou=fhomejt,dc=saml,dc=dev dn: cn=Domain Users 5qbs2ok,cn=groups,ou=5qbs2ok,dc=saml,dc=dev dn: cn=Domain Users l6f,cn=groups,ou=l6f,dc=saml,dc=dev dn: cn=Domain Users o9mgqxobp8az,cn=groups,ou=o9mgqxobp8az,dc=saml,dc=dev dn: cn=Domain Users zc9y,cn=groups,ou=zc9y,dc=saml,dc=dev
This issue has been filed against UCS 4.3. UCS 4.3 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed. If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.