Working With Oracle® Solaris 11.2 Directory and Naming Services: LDAP

Exit Print View

Updated: July 2014
 
 

Populating the Directory Server With Additional Profiles

Use the ldapclient command with the genprofile option to create an LDIF (LDAP Data Interchange Format) representation of a configuration profile, based on the attributes specified. The profile you create can then be loaded into an LDAP server to be used as the client profile. The client profile can be downloaded by the client by using ldapclient init.

Refer to ldapclient (1M) for information about using ldapclient genprofile.

How to Populate the Directory Server With Additional Profiles by Using the ldapclient Command

  1. Become an administrator.

    For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.2 .

  2. Use ldapclient with the genprofile command.
    # ldapclient genprofile \
    -a profileName=myprofile \
    -a defaultSearchBase=dc=west,dc=example,dc=com \
    -a "defaultServerList=xxx.xxx.x.x yyy.yyy.y.y:portnum" \> myprofile.ldif
  3. Upload the new profile to the server.
    # ldapadd -h xxx.xxx.x.x -D “cn=directory manager” -f myprofile.ldif