<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Anyone can connect on LDAP, no user's password verification  in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/anyone-can-connect-on-ldap-no-user-s-password-verification/m-p/199270#M152400</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;could you provide your LDAP settings ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Aug 2015 14:25:53 GMT</pubDate>
    <dc:creator>vasile_dirla</dc:creator>
    <dc:date>2015-08-07T14:25:53Z</dc:date>
    <item>
      <title>Anyone can connect on LDAP, no user's password verification</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/anyone-can-connect-on-ldap-no-user-s-password-verification/m-p/199268#M152398</link>
      <description>Hello all,I finally succeed to integrate Activiti with Ldap but unfortunately, when doing a random test I knew that anyone who know just the usersID can log in successfully by inserting a random password. Why Activiti / LDAP is not checking the passwords ? How can I fix this please ? Thank you for y</description>
      <pubDate>Fri, 07 Aug 2015 10:44:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/anyone-can-connect-on-ldap-no-user-s-password-verification/m-p/199268#M152398</guid>
      <dc:creator>potitius</dc:creator>
      <dc:date>2015-08-07T10:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone can connect on LDAP, no user's password verification</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/anyone-can-connect-on-ldap-no-user-s-password-verification/m-p/199269#M152399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Got some other bad news, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;inserting just a random password without a username will lead to a successful authentification. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 11:15:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/anyone-can-connect-on-ldap-no-user-s-password-verification/m-p/199269#M152399</guid>
      <dc:creator>potitius</dc:creator>
      <dc:date>2015-08-07T11:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone can connect on LDAP, no user's password verification</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/anyone-can-connect-on-ldap-no-user-s-password-verification/m-p/199270#M152400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;could you provide your LDAP settings ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 14:25:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/anyone-can-connect-on-ldap-no-user-s-password-verification/m-p/199270#M152400</guid>
      <dc:creator>vasile_dirla</dc:creator>
      <dc:date>2015-08-07T14:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone can connect on LDAP, no user's password verification</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/anyone-can-connect-on-ldap-no-user-s-password-verification/m-p/199271#M152401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Attached you will find my LDAP Config. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 15:41:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/anyone-can-connect-on-ldap-no-user-s-password-verification/m-p/199271#M152401</guid>
      <dc:creator>potitius</dc:creator>
      <dc:date>2015-08-07T15:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone can connect on LDAP, no user's password verification</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/anyone-can-connect-on-ldap-no-user-s-password-verification/m-p/199272#M152402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just tested and I get this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;javax.naming.AuthenticationException: [LDAP: error code 49 - INVALID_CREDENTIALS: Bind failed: Cannot authenticate user …]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;try adding a breakpoint here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LDAPConnectionUtil.java&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;public static InitialDirContext createDirectoryContext(LDAPConfigurator ldapConfigurator, String principal, String credentials) {…}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and with the debugger you'll see step by step what's happening when bind operation is done.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And now the most important part &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;just check your ldap server configuration (maybe is not secured and just allow anyone to access it):&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://www.yolinux.com/TUTORIALS/LinuxTutorialLDAP-BindPW.html" rel="nofollow noopener noreferrer"&gt;http://www.yolinux.com/TUTORIALS/LinuxTutorialLDAP-BindPW.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Aug 2015 06:42:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/anyone-can-connect-on-ldap-no-user-s-password-verification/m-p/199272#M152402</guid>
      <dc:creator>vasile_dirla</dc:creator>
      <dc:date>2015-08-08T06:42:34Z</dc:date>
    </item>
  </channel>
</rss>

