Overview#CreateNewEdirectoryTree is part of the Edirectory Script Project
Creating 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. 184.108.40.206 #SERVERNAME 220.127.116.11 TREETEST. 18.104.22.168 SVR120 22.214.171.124IMPORTANT: 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.Apply Current Production Release. Apply NMAS Methods(Once Per Tree).