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

Exit Print View

Updated: July 2014
 
 

How to Populate the Server With Data

This procedure explains the steps to populate the information tree on the server with data from a client system's /etc files. This task assumes that /etc files from different client systems are not merged into single files. You must perform this task on every system that has the source /etc files with which to populate the server.

This task uses the domain west.example.com that was used to prepare the client profile in Examples of Server Configuration for LDAP.

Before You Begin

Make sure that the Oracle Directory Server Enterprise Edition is already set up. Specifically, ensure that the directory information tree has been configured with the idsconfig command, as described in How to Configure Oracle Directory Server Enterprise Edition for the LDAP Naming Service.

  1. Become an administrator.

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

  2. Populate the server with data from each file or database in /etc.
    # ldapaddent -D "cn=directory manager" -f /etc/filename container

    where container has the same name as filename, such as passwd.