Procedure to edit or create the dc_config.txt file
Steps
- Go to the web protection bin folder (by default, C:\Program Files\Websense\Web Security\bin) on the DC Agent machine.
- If the dc_config.txt file already exists, make a backup copy in another location.
- Create or open the dc_config.txt file using a text editor.
-
List all of your domains and domain controllers, or verify that all of your domains and controllers are listed. For example:
[WEST_DOMAIN] dcWEST1.forcepoint.com=on dcWEST2.forcepoint.com=on [EAST_DOMAIN] dcEAST1.forcepoint.com=on dcEAST2.forcepoint.com=on
If you are editing a file, and domains or domain controllers are missing, you can add them. Before adding entries, run ping <domain dns name> on the DC Agent machine to make sure that the agent can see the new domain.
-
If there are domain controllers in the list that DC Agent should not poll, change the entry value from on to off. For example:
dcEAST2.domain1.com=off
- If you configure DC Agent to avoid polling an active domain controller, the agent cannot transparently identify users logging on to that domain controller.
- If DC Agent’s automatic domain discovery has detected a domain controller that should not be used to identify users, set the entry to off, rather than removing it. Otherwise, the next discovery process will re-add the controller.
-
Make sure that the file includes a carriage return after the last entry.
If this hard return is not included (creating a blank line at the end of the file), the last entry in the file gets improperly truncated, and an error message appears in the websense.log file.
- Save your changes and close the file.
- Use the Windows Services tool to restart the Websense DC Agent service.