Uploading the Admin policy to an LDAP server using the command line
You can upload the Admin policy to an LDAP server from the command line.
To upload the Admin policy file to an LDAP server, use the following
procedure.
- Place the file containing the Admin policies in the directory /etc/project/ldap/ with name admin. The directory /etc/project/ldap/ acts as local repository for the LDAP projects and policies.
- As a root user, run the projctl ldadm –p –d /etc/project/ldap/ command. This command uploads the Admin policy file to the default project DN on the LDAP server. To upload the file to a non-default DN, specify the DN parameter with -p.