To add LDAP Server connection info to a referral file called samplercf.txt, enter the following parameters on the command line:
netbeans_home\jdk\bin\java -cp ./stcldap13.jar com.stc.connector.ldapadapter.utils.RCFUtil --add -- samplercf.txt |
Username and Password are required to access the file. Provide the user name and password given for creating the file previously.
When the following prompts appear, enter the following information, as indicated:
Prompts for the host name: Enter the host name.
Prompts for the port number: Enter the LDAP port number.
Prompts for the principal: Enter the fully qualified DN of the user.
Prompts for the password: Enter the password for the DN specified previously.
For example:
C:\temp>c:\JavaCAPS6\netbeans\jdk\bin\java -cp .\stcldap13.jar com.stc.connector.ldapadapter.utils.RCFUtil --add -- samplercf.txt Adding a referral credentials entry... Enter username >> test Enter password >> test Enter LDAP Host >> localhost.stc.com Enter LDAP Port >> 389 Enter the Principal >> cn=Manager,dc=stc,dc=com Enter the Credentials >> secret Done. |