Downloading LDAP Admin policies to a local file using the command line

You can download a local copy of the LDAP Admin policies to the client using the command line. You can make any required updates to the local copy of the LDAP Admin policies file before uploading.

To download the LDAP Admin policy file to a local directory, use the projctl ldadm –g –d local-dir command. This command downloads the Admin policy file along with the associated alias and project definition files from the default administrator and project DNs on the LDAP server to the specified local directory. To download the Admin policy file from a specific DN, specify the DN parameter with the –g flag. When the Admin policy is downloaded from a specific DN, the project definition file will not be downloaded.