<?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-1286 LDAP authentication test in Admin Console displays "Invalid Base DN"</title><link>https://community.appian.com/support/w/kb/549/kb-1286-ldap-authentication-test-in-admin-console-displays-invalid-base-dn</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>KB-1286 LDAP authentication test in Admin Console displays "Invalid Base DN"</title><link>https://community.appian.com/support/w/kb/549/kb-1286-ldap-authentication-test-in-admin-console-displays-invalid-base-dn</link><pubDate>Mon, 12 Jun 2017 13:53:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:dd1904f7-c884-4e44-9c5c-1e6cff672258</guid><dc:creator>Nick Vigilante</dc:creator><comments>https://community.appian.com/support/w/kb/549/kb-1286-ldap-authentication-test-in-admin-console-displays-invalid-base-dn#comments</comments><description>Current Revision posted to Appian Knowledge Base by Nick Vigilante on 6/12/2017 1:53:02 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;When setting up LDAP Authentication in the Admin Console and a user clicks on &amp;lsquo;Test&amp;rsquo;, the configuration fails and the result is &amp;lsquo;Invalid Base DN&amp;rsquo;:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-11/0815.image01.png"&gt;&lt;img src="/resized-image/__size/1200x0/__key/communityserver-wikis-components-files/00-00-00-00-11/0815.image01.png" alt=" " /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;After setting the &lt;code&gt;log4j.logger.org.springframework.security&lt;/code&gt; logger to &lt;code&gt;DEBUG&lt;/code&gt; in &lt;strong&gt;appian_log4j.properties&lt;/strong&gt; (located in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/ear/suite.ear/resources&lt;/code&gt;), the following error is printed in the application server log:&lt;/p&gt;
&lt;pre&gt;&lt;span style="font-weight:400;"&gt;DEBUG org.springframework.security.ldap.authentication.BindAuthenticator - Retrieving attributes...&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;When testing the LDAP configuration in the Administration Console, Appian binds as the user currently logged in to Appian and then attempts to query the LDAP directory to retrieve attributes associated with that user. The configuration fails to query the directory or to retrieve the user&amp;rsquo;s attributes due to lack of privileges/permissions, which manifests through an &amp;lsquo;Invalid Base DN&amp;rsquo;.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt;Using an LDAP Client (like Apache Directory Studio) bind as user1.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt;Browse the LDAP tree and see if user1 is listed and if you can view its attributes. If not, the Appian LDAP configuration validation will fail.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt; Grant this user privileges to query the LDAP directory and its own attributes.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;This article applies to Appian 7.10 and later.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;Last Reviewed:&amp;nbsp;April 2017&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: LDAP, admin console, authentication&lt;/div&gt;
</description></item><item><title>KB-1286 LDAP authentication test in Admin Console displays ‘Invalid Base DN’</title><link>https://community.appian.com/support/w/kb/549/kb-1286-ldap-authentication-test-in-admin-console-displays-invalid-base-dn/revision/4</link><pubDate>Mon, 17 Apr 2017 15:10:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:dd1904f7-c884-4e44-9c5c-1e6cff672258</guid><dc:creator>Nick Vigilante</dc:creator><comments>https://community.appian.com/support/w/kb/549/kb-1286-ldap-authentication-test-in-admin-console-displays-invalid-base-dn#comments</comments><description>Revision 4 posted to Appian Knowledge Base by Nick Vigilante on 4/17/2017 3:10:40 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;When setting up LDAP Authentication in the Admin Console and a user clicks on &amp;lsquo;Test&amp;rsquo;, the configuration fails and the result is &amp;lsquo;Invalid Base DN&amp;rsquo;:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-11/0815.image01.png"&gt;&lt;img src="/resized-image/__size/1200x0/__key/communityserver-wikis-components-files/00-00-00-00-11/0815.image01.png" alt=" " /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;After setting the &lt;code&gt;log4j.logger.org.springframework.security&lt;/code&gt; logger to &lt;code&gt;DEBUG&lt;/code&gt; in &lt;strong&gt;appian_log4j.properties&lt;/strong&gt; (located in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/ear/suite.ear/resources&lt;/code&gt;), the following error is printed in the application server log:&lt;/p&gt;
&lt;pre&gt;&lt;span style="font-weight:400;"&gt;DEBUG org.springframework.security.ldap.authentication.BindAuthenticator - Retrieving attributes...&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;When testing the LDAP configuration in the Administration Console, Appian binds as the user currently logged in to Appian and then attempts to query the LDAP directory to retrieve attributes associated with that user. The configuration fails to query the directory or to retrieve the user&amp;rsquo;s attributes due to lack of privileges/permissions, which manifests through an &amp;lsquo;Invalid Base DN&amp;rsquo;.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt;Using an LDAP Client (like Apache Directory Studio) bind as user1.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt;Browse the LDAP tree and see if user1 is listed and if you can view its attributes. If not, the Appian LDAP configuration validation will fail.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt; Grant this user privileges to query the LDAP directory and its own attributes.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;This article applies to Appian 7.10 and later.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;Last Reviewed:&amp;nbsp;April 2017&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: LDAP, admin console, authentication&lt;/div&gt;
</description></item><item><title>KB-1286 LDAP authentication test in Admin Console displays ‘Invalid Base DN’</title><link>https://community.appian.com/support/w/kb/549/kb-1286-ldap-authentication-test-in-admin-console-displays-invalid-base-dn/revision/3</link><pubDate>Mon, 17 Apr 2017 11:10:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:dd1904f7-c884-4e44-9c5c-1e6cff672258</guid><dc:creator>Nick Vigilante</dc:creator><comments>https://community.appian.com/support/w/kb/549/kb-1286-ldap-authentication-test-in-admin-console-displays-invalid-base-dn#comments</comments><description>Revision 3 posted to Appian Knowledge Base by Nick Vigilante on 4/17/2017 11:10:40 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;When setting up LDAP Authentication in the Admin Console and a user clicks on &amp;lsquo;Test&amp;rsquo;, the configuration fails and the result is &amp;lsquo;Invalid Base DN&amp;rsquo;:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-13/0815.image01.png"&gt;&lt;img src="/resized-image/__size/1200x0/__key/communityserver-wikis-components-files/00-00-00-00-13/0815.image01.png" alt=" " /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;After setting the &lt;code&gt;log4j.logger.org.springframework.security&lt;/code&gt; logger to &lt;code&gt;DEBUG&lt;/code&gt; in &lt;strong&gt;appian_log4j.properties&lt;/strong&gt; (located in &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/ear/suite.ear/resources&lt;/code&gt;), the following error is printed in the application server log:&lt;/p&gt;
&lt;pre&gt;&lt;span style="font-weight:400;"&gt;DEBUG org.springframework.security.ldap.authentication.BindAuthenticator - Retrieving attributes...&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;When testing the LDAP configuration in the Administration Console, Appian binds as the user currently logged in to Appian and then attempts to query the LDAP directory to retrieve attributes associated with that user. The configuration fails to query the directory or to retrieve the user&amp;rsquo;s attributes due to lack of privileges/permissions, which manifests through an &amp;lsquo;Invalid Base DN&amp;rsquo;.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt;Using an LDAP Client (like Apache Directory Studio) bind as user1.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt;Browse the LDAP tree and see if user1 is listed and if you can view its attributes. If not, the Appian LDAP configuration validation will fail.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt; Grant this user privileges to query the LDAP directory and its own attributes.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;This article applies to Appian 7.10 and later.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;Last Reviewed:&amp;nbsp;April 2017&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

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