<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">
  <head runat="server">
    <!-- PageID 382 - published by RedDot 7.5 - 7.5.1.69 - 22111 -->
    <META name="PublicArticle" content="True" />
    <META http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <META name="keywords" />
    <META name="summary" />
    <META name="product" content="fp_web,fp_filter" />
    <META name="version" content="v85" />
    <META name="book" content="Administrator Help for Forcepoint Web Security" />
    <title>How Directory Agent works with User Service</title>
    <!--Loading the 2016 fonts.-->
    <script type="text/javascript" src="//fast.fonts.net/jsapi/c504d579-e135-4f75-8335-4906f6c6ce67.js"></script>
    <!--Library content styles.-->
    <link rel="StyleSheet" href="https://help.forcepoint.com/docs/ni/assets/css/help2016.css" type="text/css" media="all" />
    <!--2016 font support -->
    <link type="text/css" rel="stylesheet" href="//fast.fonts.net/cssapi/c504d579-e135-4f75-8335-4906f6c6ce67.css" />
  </head>
  <body>
    <!--googleoff: all-->
    <a href="https://www.forcepoint.com">
      <img class="logo" alt="Forcepoint logo" src="https://help.forcepoint.com/docs/ni/assets/logo1.png" />
    </a>
    <div class="extLinksContainer">
      <a class="extLinks" href="//support.forcepoint.com/documentation">Documentation</a> | <a class="extLinks" href="//support.forcepoint.com">Support</a></div>
    <!--
		<wsApp:UserAccess ID="useraccess1" runat="server" IsSecure="False" />
		-->
    <div class="spacer1"></div>
    <br />
    <!-- New Navigation DIV -->
    <div class="TL_nav" style="text-align: left;">
      <table cellspacing="0" class="toolBarTable" summary="">
        <!-- End New Navigation DIV -->
        <tr>
          <td>
            <!-- New Go To TOC -->
            <a href="toc.aspx"><img src="images/toc.png" alt="Go to the table of contents" border="0" /></a>
            <!-- End Go To TOC -->
          </td>
          <td>
            <!-- New Previous -->
            <a href="h_dir_agent.aspx"><img src="images/prev.png" alt="Go to the previous page" border="0" /></a>
            <!-- End New Previous -->
          </td>
          <td>
            <!-- New Next (Active) -->
            <a href="h_no_user_id.aspx"><img src="images/next.png" alt="Go to the next page" border="0" /></a>
            <!-- End New Next (Active) -->
          </td>
          <td>
            <!-- New PDF -->
            <a href="web_help.pdf"><img src="images/pdf.png" alt="View or print as PDF" border="0" /></a>
            <!-- End New PDF -->
          </td>
          <!--Start JR breadcrumbs -->
          <td width="20px"></td>
          <td>
            <div class="WebWorks_Breadcrumbs" style="text-align: left;">
              <a class="WebWorks_Breadcrumb_Link" href="user_id.aspx">User Identification for Policy Enforcement</a> &gt; <a class="WebWorks_Breadcrumb_Link" href="h_userid_explain.aspx">Identification and authentication of hybrid users</a> &gt; How Directory Agent works with User Service</div>
          </td>
          <!--End JR breadcrumbs -->
        </tr>
      </table>
    </div>
    <!--googleon: all-->
    <div>
      <div class="N2H-Heading2">
        <span class="Heading_Number"></span><a name="636661">How Directory Agent works with User Service</a></div>
      <div class="IN-TopicInfo"><a name="723039">Administrator Help&nbsp;| Forcepoint Web Security&nbsp;| v8.5.x</a></div>
      <table class="DropListTable" style="text-align: left" border="0" cellpadding="1" cellspacing="0" summary="">
        <caption></caption>
        <tr>
          <td style="padding-bottom: 3.5pt; padding-left: 6pt; padding-right: 6pt; padding-top: 4.5pt; vertical-align: top">
            <div class="DLC-ClosedDynamicList" onclick="WebWorks_ToggleDIV(WebWorksRootPath, &quot;wwdd723021&quot;);"><a name="723021">Related topics:</a><script type="text/javascript" language="JavaScript1.2">WebWorks_WriteArrow(WebWorksRootPath, "wwdd723021", false);</script></div>
            <script type="text/javascript" language="JavaScript1.2">WebWorks_WriteDIVOpen("wwdd723021", false);</script>
            <div class="B1-Bullet1_outer" style="margin-left: 0pt">
              <table border="0" cellspacing="0" cellpadding="0" summary="" role="presentation">
                <tr style="vertical-align: baseline">
                  <td>
                    <div class="B1-Bullet1_inner" style="width: 18pt; white-space: nowrap">
                      <img src="b1.png" alt="*" border="0" width="8" height="8" />
                    </div>
                  </td>
                  <td width="100%">
                    <div class="B1-Bullet1_inner"><span class="LEM-LinkEmphasis"><a href="h_userid_explain.aspx" title="Identification and authentication of hybrid users" name="723025">Identification and authentication of hybrid users</a></span></div>
                  </td>
                </tr>
              </table>
            </div>
            <div class="B1-Bullet1_outer" style="margin-left: 0pt">
              <table border="0" cellspacing="0" cellpadding="0" summary="" role="presentation">
                <tr style="vertical-align: baseline">
                  <td>
                    <div class="B1-Bullet1_inner" style="width: 18pt; white-space: nowrap">
                      <img src="b1.png" alt="*" border="0" width="8" height="8" />
                    </div>
                  </td>
                  <td width="100%">
                    <div class="B1-Bullet1_inner"><span class="LEM-LinkEmphasis"><a href="cl_users_groups.aspx" title="Working with users and groups" name="723029">Working with users and groups</a></span></div>
                  </td>
                </tr>
              </table>
            </div>
            <div class="B1-Bullet1_outer" style="margin-left: 0pt">
              <table border="0" cellspacing="0" cellpadding="0" summary="" role="presentation">
                <tr style="vertical-align: baseline">
                  <td>
                    <div class="B1-Bullet1_inner" style="width: 18pt; white-space: nowrap">
                      <img src="b1.png" alt="*" border="0" width="8" height="8" />
                    </div>
                  </td>
                  <td width="100%">
                    <div class="B1-Bullet1_inner"><span class="LEM-LinkEmphasis"><a href="directory_svcs_explain.aspx" title="Connecting web protection software to a directory service" name="723033">Connecting web protection software to a directory service</a></span></div>
                  </td>
                </tr>
              </table>
            </div>
            <div class="B1-Bullet1_outer" style="margin-left: 0pt">
              <table border="0" cellspacing="0" cellpadding="0" summary="" role="presentation">
                <tr style="vertical-align: baseline">
                  <td>
                    <div class="B1-Bullet1_inner" style="width: 18pt; white-space: nowrap">
                      <img src="b1.png" alt="*" border="0" width="8" height="8" />
                    </div>
                  </td>
                  <td width="100%">
                    <div class="B1-Bullet1_inner"><span class="LEM-LinkEmphasis"><a href="h_diragent.aspx" title="Send user and group data to the hybrid service" name="723038">Send user and group data to the hybrid service</a></span></div>
                  </td>
                </tr>
              </table>
            </div>
            <script type="text/javascript" language="JavaScript1.2">WebWorks_WriteDIVClose();</script>
          </td>
        </tr>
      </table>
      <div class="B-Body"><a name="683702">Although Directory Agent collects directory information independently, it has one important dependency on User Service. At installation, Directory Agent must connect to a Policy Server instance that has a User Service associated with it. Directory Agent can be configured to communicate only with the directory that this User Service instance is configured to use.</a></div>
      <div class="B-Body"><a name="636613">In other words, in a distributed deployment, if you have multiple Policy Servers, each with an associated User Service, and the User Service instances connect to different directory servers, you must associate Directory Agent with the Policy Server whose User Service connects to the directory that you want to use for hybrid user identification.</a></div>
      <div class="B1-Bullet1_outer" style="margin-left: 0pt">
        <table border="0" cellspacing="0" cellpadding="0" summary="" role="presentation">
          <tr style="vertical-align: baseline">
            <td>
              <div class="B1-Bullet1_inner" style="width: 18pt; white-space: nowrap">
                <img src="b1.png" alt="*" border="0" width="8" height="8" />
              </div>
            </td>
            <td width="100%">
              <div class="B1-Bullet1_inner"><a name="637075">You can have multiple Directory Agent instances.</a></div>
            </td>
          </tr>
        </table>
      </div>
      <div class="B1-Bullet1_outer" style="margin-left: 0pt">
        <table border="0" cellspacing="0" cellpadding="0" summary="" role="presentation">
          <tr style="vertical-align: baseline">
            <td>
              <div class="B1-Bullet1_inner" style="width: 18pt; white-space: nowrap">
                <img src="b1.png" alt="*" border="0" width="8" height="8" />
              </div>
            </td>
            <td width="100%">
              <div class="B1-Bullet1_inner"><a name="637079">Each Directory Agent instance must be associated with a different Policy Server.</a></div>
            </td>
          </tr>
        </table>
      </div>
      <div class="B1-Bullet1_outer" style="margin-left: 0pt">
        <table border="0" cellspacing="0" cellpadding="0" summary="" role="presentation">
          <tr style="vertical-align: baseline">
            <td>
              <div class="B1-Bullet1_inner" style="width: 18pt; white-space: nowrap">
                <img src="b1.png" alt="*" border="0" width="8" height="8" />
              </div>
            </td>
            <td width="100%">
              <div class="B1-Bullet1_inner"><a name="637095">All Directory Agent instances must connect to a single Sync Service. (A deployment can have only one Sync Service instance.)</a></div>
            </td>
          </tr>
        </table>
      </div>
      <div class="I-IndentedText"><a name="641927">You must configure the Sync Service connection manually for all supplemental Directory Agent instances. (Communication is configured automatically for the Directory Agent instance that connects to the same Policy Server as Sync Service.) To do this:</a></div>
      <div class="B1S-Bullet1Step_outer" style="margin-left: 18pt">
        <table border="0" cellspacing="0" cellpadding="0" summary="" role="presentation">
          <tr style="vertical-align: baseline">
            <td>
              <div class="B1S-Bullet1Step_inner" style="width: 18pt; white-space: nowrap">
                <span class="Step_Number">1.	</span>
              </div>
            </td>
            <td width="100%">
              <div class="B1S-Bullet1Step_inner"><a name="641931">When you log on to the Forcepoint Security Manager, select the appropriate Policy Server instance for the Directory Agent that you want to configure.</a></div>
            </td>
          </tr>
        </table>
      </div>
      <div class="B1S-Bullet1Step_outer" style="margin-left: 18pt">
        <table border="0" cellspacing="0" cellpadding="0" summary="" role="presentation">
          <tr style="vertical-align: baseline">
            <td>
              <div class="B1S-Bullet1Step_inner" style="width: 18pt; white-space: nowrap">
                <span class="Step_Number">2.	</span>
              </div>
            </td>
            <td width="100%">
              <div class="B1S-Bullet1Step_inner"><a name="641935">Go to the </a><span class="B-Bold">Settings&nbsp;&gt; Hybrid Configuration&nbsp;&gt; Shared User Data</span> page.</div>
            </td>
          </tr>
        </table>
      </div>
      <div class="B1S-Bullet1Step_outer" style="margin-left: 18pt">
        <table border="0" cellspacing="0" cellpadding="0" summary="" role="presentation">
          <tr style="vertical-align: baseline">
            <td>
              <div class="B1S-Bullet1Step_inner" style="width: 18pt; white-space: nowrap">
                <span class="Step_Number">3.	</span>
              </div>
            </td>
            <td width="100%">
              <div class="B1S-Bullet1Step_inner"><a name="641937">Under Synchronize User Data, verify the </a><span class="B-Bold">Name or IP address</span> of the Sync Service machine and the <span class="B-Bold">Port</span> used for Sync Service communication (by default, 55832).</div>
            </td>
          </tr>
        </table>
      </div>
      <div class="B1S-Bullet1Step_outer" style="margin-left: 18pt">
        <table border="0" cellspacing="0" cellpadding="0" summary="" role="presentation">
          <tr style="vertical-align: baseline">
            <td>
              <div class="B1S-Bullet1Step_inner" style="width: 18pt; white-space: nowrap">
                <span class="Step_Number">4.	</span>
              </div>
            </td>
            <td width="100%">
              <div class="B1S-Bullet1Step_inner"><a name="641991">Click </a><span class="B-Bold">Test Connection</span> to verify that Directory Agent can send data to Sync Service. The test may take a minute or more.</div>
            </td>
          </tr>
        </table>
      </div>
      <div class="B3-Bullet3_outer" style="margin-left: 36pt">
        <table border="0" cellspacing="0" cellpadding="0" summary="" role="presentation">
          <tr style="vertical-align: baseline">
            <td>
              <div class="B3-Bullet3_inner" style="width: 18pt; white-space: nowrap">
                <img src="b3.png" alt="*" border="0" width="7" height="7" />
              </div>
            </td>
            <td width="100%">
              <div class="B3-Bullet3_inner"><a name="641992">If the connection is made, a success message is displayed.</a></div>
            </td>
          </tr>
        </table>
      </div>
      <div class="B3-Bullet3_outer" style="margin-left: 36pt">
        <table border="0" cellspacing="0" cellpadding="0" summary="" role="presentation">
          <tr style="vertical-align: baseline">
            <td>
              <div class="B3-Bullet3_inner" style="width: 18pt; white-space: nowrap">
                <img src="b3.png" alt="*" border="0" width="7" height="7" />
              </div>
            </td>
            <td width="100%">
              <div class="B3-Bullet3_inner"><a name="641993">If the connection cannot be made, verify the IP address or hostname of the Sync Service machine and the communication port. Also verify that the Sync Service machine is on, that Sync Service is running, and that your network firewall permits connections on the Sync Service port.</a></div>
            </td>
          </tr>
        </table>
      </div>
      <div class="B1S-Bullet1Step_outer" style="margin-left: 18pt">
        <table border="0" cellspacing="0" cellpadding="0" summary="" role="presentation">
          <tr style="vertical-align: baseline">
            <td>
              <div class="B1S-Bullet1Step_inner" style="width: 18pt; white-space: nowrap">
                <span class="Step_Number">5.	</span>
              </div>
            </td>
            <td width="100%">
              <div class="B1S-Bullet1Step_inner"><a name="641966">Click </a><span class="B-Bold">OK</span> to cache your changes, and then click <span class="B-Bold">Save and Deploy</span> to implement them.</div>
            </td>
          </tr>
        </table>
      </div>
      <div class="B-Body"><a name="636644">Directory Agent configuration can not be performed until there is a supported User Service configuration. Changes to User Service configuration may also require you to update your Directory Agent configuration.</a></div>
      <div class="B1-Bullet1_outer" style="margin-left: 0pt">
        <table border="0" cellspacing="0" cellpadding="0" summary="" role="presentation">
          <tr style="vertical-align: baseline">
            <td>
              <div class="B1-Bullet1_inner" style="width: 18pt; white-space: nowrap">
                <img src="b1.png" alt="*" border="0" width="8" height="8" />
              </div>
            </td>
            <td width="100%">
              <div class="B1-Bullet1_inner"><a name="636626">User Service configuration is performed on the Settings&nbsp;&gt; General&nbsp;&gt; Directory Services page (see </a><span class="LEM-LinkEmphasis"><a href="cl_users_groups.aspx" title="Working with users and groups">Working with users and groups</a></span>).</div>
            </td>
          </tr>
        </table>
      </div>
      <div class="B1-Bullet1_outer" style="margin-left: 0pt">
        <table border="0" cellspacing="0" cellpadding="0" summary="" role="presentation">
          <tr style="vertical-align: baseline">
            <td>
              <div class="B1-Bullet1_inner" style="width: 18pt; white-space: nowrap">
                <img src="b1.png" alt="*" border="0" width="8" height="8" />
              </div>
            </td>
            <td width="100%">
              <div class="B1-Bullet1_inner"><a name="636630">Directory Agent configuration is performed on the Settings&nbsp;&gt; Hybrid Configuration&nbsp;&gt; Shared User Data page (see </a><span class="LEM-LinkEmphasis"><a href="h_diragent.aspx" title="Send user and group data to the hybrid service">Send user and group data to the hybrid service</a></span>).</div>
            </td>
          </tr>
        </table>
      </div>
      <div class="B-Body"><a name="636633">You can configure Directory Agent to use a different root context than User Service, and to process its directory data differently than User Service. Also, with Windows Active Directory, if User Service is configured to communicate with multiple global catalog servers, Directory Agent can communicate with all of them.</a></div>
      <div class="B-Body"><a name="642010">Note that if you have multiple Directory Agent instances, each instance must use a unique, non-overlapping root context.</a></div>
    </div>
    <!--googleoff: all-->
    <div class="library_search">
      <form class="support_search" action="/content/kb-search.aspx" method="get">
        <label></label>
        <label></label>
        <input type="text" name="q" value=" Search eSupport" onfocus="if (this.value == ' Search eSupport') {this.value = '';}" onblur="if (this.value == '') {this.value = ' Search eSupport';}"></input>
        <input type="submit" value=" "></input>
      </form>
    </div>
    <br class="clear" />
    <!-- New Navigation DIV -->
    <div class="TL_nav" style="text-align: left;">
      <table cellspacing="0" class="toolBarTable" summary="">
        <!-- End New Navigation DIV -->
        <tr>
          <td>
            <!-- New Go To TOC -->
            <a href="toc.aspx"><img src="images/toc.png" alt="Go to the table of contents" border="0" /></a>
            <!-- End Go To TOC -->
          </td>
          <td>
            <!-- New Previous -->
            <a href="h_dir_agent.aspx"><img src="images/prev.png" alt="Go to the previous page" border="0" /></a>
            <!-- End New Previous -->
          </td>
          <td>
            <!-- New Next (Active) -->
            <a href="h_no_user_id.aspx"><img src="images/next.png" alt="Go to the next page" border="0" /></a>
            <!-- End New Next (Active) -->
          </td>
          <td>
            <!-- New PDF -->
            <a href="web_help.pdf"><img src="images/pdf.png" alt="View or print as PDF" border="0" /></a>
            <!-- End New PDF -->
          </td>
          <!--Start JR breadcrumbs -->
          <td width="20px"></td>
          <td>
            <div class="WebWorks_Breadcrumbs" style="text-align: left;">
              <a class="WebWorks_Breadcrumb_Link" href="user_id.aspx">User Identification for Policy Enforcement</a> &gt; <a class="WebWorks_Breadcrumb_Link" href="h_userid_explain.aspx">Identification and authentication of hybrid users</a> &gt; How Directory Agent works with User Service</div>
          </td>
          <!--End JR breadcrumbs -->
        </tr>
      </table>
    </div>
    <div class="extFooterContainer">
      <div class="extFooter">
        <div align="center">Copyright 2023 Forcepoint. All rights reserved.</div>
      </div>
    </div>
    <SCRIPT>
   function getFileName() {
      //this gets the full url
      var url = document.location.href;
      //this removes the anchor at the end, if there is one
      url = url.substring(0, (url.indexOf("#") == -1) ? url.length : url.indexOf("#"));
      //this removes the query after the file name, if there is one
      url = url.substring(0, (url.indexOf("?") == -1) ? url.length : url.indexOf("?"));
      //this removes everything before the last slash in the path
      url = url.substring(url.lastIndexOf("/") + 1, url.length);
      //return
      return url;
   }

   var url = document.URL;
   var Docname = getFileName()
   s.pageName = "enu:support:technical library:webhelp_v85x:" + Docname;
   s.prop1 = "enu:support";
   s.prop2 = "enu:support:technical library";
   s.channel = "support";
   // <!--
   s.server = "<%= System.Environment.MachineName %>";
   //--></SCRIPT>
    <script language="javascript1.1" type="text/javascript">
   /********Do Not alter below this line ***********/
   var s_code = s.t(); if (s_code) document.write(s_code)
   //--&gt;</script>
  </body>
  <!--"GENERALQUARTERSALLHANDSMANYOURSTATIONS"-->
</html>