Configuring the default directory protocol

eDirectory Agent can use Netware Core Protocol (NCP)—the Windows default—or Lightweight Directory Access Protocol (LDAP)—required on Linux—to retrieve user logon information from Novell eDirectory.

In Windows environments, NCP generally provides a more efficient query method. If your network supports LDAP, however, you can configure eDirectory Agent to use LDAP:

Steps

  1. Ensure that you have at least 1 Novell eDirectory replica containing all directory objects to which you want to apply policies.
  2. Stop the eDirectory Agent service.
  3. Go to the eDirectory Agent directory (C:\Program Files\Websense\Web Security\bin or /opt/Websense/bin/, by default).
  4. Locate the file wsedir.ini and make a backup copy in another directory.
  5. Open the original file in a text editor.
  6. Modify this QueryMethod entry as follows:

    QueryMethod=0

    Here, 0 enables LDAP queries. (1, the default, enables NCP queries.)

  7. Save and close the file.
  8. Restart the eDirectory Agent service.

Next steps

eDirectory Agent now uses LDAP to query the directory service.