Go to main content

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

Exit Print View

Updated: September 2018

Populating the Directory Server With Additional Profiles

Use the ldapclient genprofile command to create an LDAP Data Interchange Format (LDIF) representation of a configuration profile, based on the attributes specified. You can load the configuration profile into an LDAP server to use it as the client profile. A client can use the ldapclient init command to download the client profile. For more information, see the ldapclient(1M) man page.

How to Populate the Directory Server With Additional Profiles

  1. Become an administrator.

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

  2. Populate the directory server with an additional profile.
    # /usr/sbin/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 ldaphost -D "cn=directory-manager" -f myprofile.ldif