3.4 Configuring eDirectory

Now that eDirectory is installed, use the values listed in Table 3-1 to configure eDirectory properly for the Resource Kit.

A password for the admin user is listed in the table. It is the same password used in the VM of the Resource Kit. You can use any password you choose.

When a server is installed, there are many objects that are created and associated with the server. As a best practice, each server is installed into a separate container. The container has the same name as the server to keep track of all of the objects associated with the server.

If you have ten server objects in the same container, you automatically get over 100 objects added to that container. It becomes very difficult to manage all of these objects. If each server has its own container, managing the objects becomes an easy task.

Another best practice is to not install eDirectory into the default location. You can install multiple instances of eDirectory on the same server. It is easier to keep track of each installation if the folder that contains the eDirectory files has the same name as the tree.

Table 3-1 eDirectory Values for the Resource Kit

Parameter

Value

Tree Name

META

Server Name

metaserver1

Server Context

dc=metaserver1.dc=servers.dc=system

Admin User

cn=admin.dc=admins.dc=system

NCP Port number to listen on

524

eDirectory dib location

/var/opt/novell/eDirectory/META/data/dib

Configuration File

/var/opt/novell/eDirectory/META/nds.conf

Admin User’s Password

n0v3ll

  1. From the Computer menu, select Gnome Terminal to configure your eDirectory server.

  2. Log in as root by entering su, then enter the root password.

  3. Type ndsconfig new -t META -S metaserver1 -n dc=metaserver1.dc=servers.dc=system -a cn=admin.dc=admins.dc=system -w n0v3ll -i -d /var/opt/novell/eDirectory/META/data/dib -D /var/opt/novell/eDirectory/META/ -b 524 -e --config-file /var/opt/novell/eDirectory/META/nds.conf

    This command creates a new instance of eDirectory on this server. Here are of all of the options specified and what they mean:

    Option

    Description

    new

    Creates a new instance of eDirectory on this server.

    -t

    Specifies the tree name.

    -S

    Specifies the server name.

    -n

    Specifies the server’s context.

    -a

    Specifies the administrator’s user name and context.

    -w

    Specifies the administrator’s password.

    -i

    Ignores looking on the network for a duplicate tree name.

    -d

    Specifies the path for the eDirectory database files.

    -D

    Specifies the path for the eDirectory installation files.

    -b

    Specifies the NCP™ port number.

    -e

    Disables the TLS authentication via LDAP.

    --config-file

    Specifies the path for the nds.conf file.

    If you receive the message command not found, the ndspath is not set. See Section 3.3, Configuring Your Environment for steps on how to set the ndspath.

  4. Review the message that the eDirectory instance is successfully configured.

  5. Enter exit twice to log out as root and close the Gnome Terminal.

  6. Proceed to Tuning the eDirectory Database Cache Settings.