Generate LDAP Entries |
Script Name: generateldapentries.fts
This script generates imported LDAP entries from a CSV (comma separated variable) file for a local domain. To use it you must create a text file (e.g. c:\temp\ldap.csv) in the form:
common name,first name,last name,mailbox name,job title,organization,department,phone,fax
Each element must be separated by commas with no intervening spaces. Each entry must be entered on its own line.
To run the script you must pass a file (including its path) in the command line. As a precaution you should put the parameter test=1 to ensure that the file is in the correct format. When test=1 is on the line you should look at the browser output, this will show whether the file format is correct. When you are happy that everything is OK run the script again without the test=1 parameter.
Property |
Description |
file (required) |
The path and filename for the CSV file |
test (optional) |
Set to one to check that the file is OK. To actually generate the entries set this parameter to 0 or do not put it in the URL at all. |
Enter the following into the Address line of your browser:
http://127.0.0.1:8089/scriptlib/generateldap.fts?file=c:\ldap.csv