Become superuser or assume an equivalent role.
Roles contain authorizations and privileged commands. For more information about roles, see Chapter 9, Using Role-Based Access Control (Tasks), in System Administration Guide: Security Services.
Use ldapclient with the genprofile command.
# ldapclient genprofile \ -a profileName=myprofile \ -a defaultSearchBase=dc=west,dc=example,dc=com \ -a "defaultServerList=192.168.0.1 192.168.0.2:386" \ |
> myprofile.ldif
Upload the new profile to the server.
# ldapadd -h 192.168.0.1 -D “cn=directory manager” -f myprofile.ldif |