|
For purposes of this course, we're going to populate our directory trees with
sample data containing fictitious names and phone numbers.
We'll load the sample data by running a batch file that came with the Meta-Directory
demonstration software, LoadLDIFs.bat.
This file should be located in the temp folder where you unzipped
the sample data in demo.zip.
|
Before you run the batch file you'll need to check the location of the
ldapmodify
command on your system.
You may need to edit the batch file to match this location.
The ldapmodify
command should be located in
drive:\Netscape\Server4\shared\bin
, where drive
is the drive letter you specified during installation.
You'll also need to make sure the password for the Directory Manager matches
the one in the batch file.
If you used anything other than "dirmanager" you'll need to do a search & replace for
"-w dirmanager" and replace this string with "-w " followed by the password you used.
In the example shown below, the drive letter has been changed to E
because that's where the Directory Server was installed on this system.
Be sure to make this change to all statements that use the
ldapmodify
command.
If you installed the Directory Server on drive D: and specified a
Directory Manager's password of "dirmanager", you won't need to edit LoadLDIFs.bat.
@ echo off
rem Initialize Directory Trees
rem includes o=company.com (where MetaView will be stored)
rem includes o=MDSconfig (where all configuration ...
rem includes o=ConnectorViews (where all connectors will sync to)
echo Initialize Directory Trees
E:\netscape\server4\shared\bin\ldapmodify ...
rem Load the Oblix loaded o=company.com MV data
rem also contains typical company org hierarchy
Echo Load the MetaView
E:\netscape\server4\shared\bin\ldapmodify ...
...
|