Overview#
CreateNewEdirectoryTree is part of the Edirectory Script ProjectCreating a New eDirectory Tree#
Be sure you have done Installed Edirectory on the server.Follow the on-screen prompts for creating a new tree. You will be prompted 3 times to enter a new password for the default administrator account (admin.Administration.Directory-Info.com.net) that will be created.
Answer yes to run modifyinstall and osperms; refer to the section entitled Verify/update eDirectory configuration for more information.
On this Server, Modify /etc/hosts.nds#
On the new servercreate /etc/hosts.nds. The final file should look something like this:# Example entry: #TREENAME. 1.2.3.4 #SERVERNAME 1.2.3.4 TREETEST. 2.3.4.5 SVR120 2.3.4.5IMPORTANT: The order of entries in this file is significant always make sure that the local server appears in its hosts.nds file first.
Stop and Start#
Stop and start the directory to confirm the startup scripts are running correctly:# /etc/init.d/nds stop # /etc/init.d/nds start
Make sure the server is in the tree correctly and you can connect to the server via NDS and LDAP over SSL.
Look through the output from the previous command (the output is also logged in /var/b1nds.log).
If a problem exists, fix the problem before continuing.