<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>KB-1212 "Unable to bind to LDAP server" error thrown when attempting to run a test filter</title><link>https://community.appian.com/support/w/kb/427/kb-1212-unable-to-bind-to-ldap-server-error-thrown-when-attempting-to-run-a-test-filter</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>KB-1212 "Unable to bind to LDAP server" error thrown when attempting to run a test filter</title><link>https://community.appian.com/support/w/kb/427/kb-1212-unable-to-bind-to-ldap-server-error-thrown-when-attempting-to-run-a-test-filter</link><pubDate>Mon, 06 Mar 2017 20:54:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:72a222fe-dd59-4156-a822-2bd203d839c2</guid><dc:creator>Nick Vigilante</dc:creator><comments>https://community.appian.com/support/w/kb/427/kb-1212-unable-to-bind-to-ldap-server-error-thrown-when-attempting-to-run-a-test-filter#comments</comments><description>Current Revision posted to Appian Knowledge Base by Nick Vigilante on 3/6/2017 8:54:10 PM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When configuring the LDAP Sync application, users will attempt to run a test filter but will not be able to due to an authentication failure:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Unable to bind to LDAP server: javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C0903A8, comment: AcceptSecurityContext error, data 52e, v1db1 ]
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The LDAP Sync tool requires a successful run of a test filter so users will not be able to progress further than this point.&lt;/p&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;There is an issue with the third-party credential mapped to the LDAP Tools plug-in.&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;p&gt;Please be sure to double check the username and password fields of the third-party credential.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Take note&lt;/strong&gt;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;You must use the key value, not the name, to reference the third-party credential in the LDAP Sync configuration form.&lt;/li&gt;
&lt;li&gt;In the third-party credential:
&lt;ul&gt;
&lt;li&gt;There should be two fields with names &amp;quot;username&amp;quot; and &amp;quot;password&amp;quot;, all lower-case.&lt;/li&gt;
&lt;li&gt;The &amp;quot;username&amp;quot; may need to be the full distinguished name.&lt;/li&gt;
&lt;li&gt;The &amp;quot;password&amp;quot; is case sensitive.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Refer to the &lt;a href="https://docs.appian.com/suite/help/latest/LDAP_Synchronization.html"&gt;LDAP Synchronization&lt;/a&gt; documentation for more information.&lt;/p&gt;
&lt;p&gt;You can also refer to the Microsoft documentation on LDAP distinguished names here:&lt;a href="https://msdn.microsoft.com/en-us/library/aa366101(v=vs.85).aspx"&gt;https://msdn.microsoft.com/en-us/library/aa366101(v=vs.85).aspx&lt;/a&gt;&lt;/p&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 7.10 and later.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed: March 2017&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: administration, LDAP, authentication&lt;/div&gt;
</description></item></channel></rss>