<?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: LDAP Authentication &amp; Active Directory in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/ldap-authentication-active-directory/m-p/162073#M115976</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I use something like &lt;/SPAN&gt;&lt;STRONG&gt;%s@example.com&lt;/STRONG&gt;&lt;SPAN&gt; as the userNameFormat for the AD domain example.com, which allows me to login with a username that is the same as the value of the sAMAccountName attribute in AD.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Oct 2008 14:15:05 GMT</pubDate>
    <dc:creator>janeerdekens</dc:creator>
    <dc:date>2008-10-24T14:15:05Z</dc:date>
    <item>
      <title>LDAP Authentication &amp; Active Directory</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-authentication-active-directory/m-p/162070#M115973</link>
      <description>Hi guys,I have been through the wikis and forum posts a number of times and get more confused all the time.&amp;nbsp; I simply want to authenticate users against our Active Directory using LDAP.&amp;nbsp; The users exist in Alfresco so only want authentication for now not synchronisation.&amp;nbsp; Firstly, is MSActiveDirecto</description>
      <pubDate>Thu, 17 Jul 2008 12:10:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-authentication-active-directory/m-p/162070#M115973</guid>
      <dc:creator>boneill</dc:creator>
      <dc:date>2008-07-17T12:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP Authentication &amp; Active Directory</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-authentication-active-directory/m-p/162071#M115974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think you mix two things together, which are not exactly the same - and that Active Directory and LDAP protocol. Despite Active Directory exposes ldap-protocol, so you can use ldap-authenticaion, I think it's little inconvenient. There is a better way to use sort of more native AD-authentication, and that is the NTLM authentication configured in ntlm-authentication-context. Here is just enough to specify IP of your domain controller and that's all. While if you use the ldap-authentication it'll be&amp;nbsp; more difficult to configure and also might be even impossible. I was also confused about these things and made ldap-auth working for AD but I had to do some customizations to fit to my purposes. But it was due to my lack of knowledge not knowing about the NTLM. Just consider, that with ldap-protocol you bind/authenticate with string like "cn=%s,ou=marketing,dc= etc" but the CN is in AD usually the real person name and not the loginname. The login name is usually stored in other attribute "sAMAccountName". So how to handle this?? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I just suggest to use ntlm-authentication-context.xml instead of ldap.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Robert&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jul 2008 09:24:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-authentication-active-directory/m-p/162071#M115974</guid>
      <dc:creator>vycitalr</dc:creator>
      <dc:date>2008-07-18T09:24:34Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP Authentication &amp; Active Directory</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-authentication-active-directory/m-p/162072#M115975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Robert,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thankyou very much for your reply.&amp;nbsp; I understand that you can use ntlm but they do not want to do that at my client site as ntlm is not very secure. i.e&amp;nbsp; Any user can access alfresco from a logged in computer.&amp;nbsp;&amp;nbsp; When you were going through the config options did you determine if MS AD and ldap config is supported by alfresco out of the box?&amp;nbsp; Also, assuming I did want to use the sAMAccount name, can I not just include that in the string that gets passed to AD and configure the ldap config as follows:&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"sAMAccountName=%S, ou="marketing, dc= etc etc etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Would appreciate a response from an alfresco SE if possible on this post.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Jul 2008 11:06:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-authentication-active-directory/m-p/162072#M115975</guid>
      <dc:creator>boneill</dc:creator>
      <dc:date>2008-07-19T11:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP Authentication &amp; Active Directory</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-authentication-active-directory/m-p/162073#M115976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I use something like &lt;/SPAN&gt;&lt;STRONG&gt;%s@example.com&lt;/STRONG&gt;&lt;SPAN&gt; as the userNameFormat for the AD domain example.com, which allows me to login with a username that is the same as the value of the sAMAccountName attribute in AD.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Oct 2008 14:15:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-authentication-active-directory/m-p/162073#M115976</guid>
      <dc:creator>janeerdekens</dc:creator>
      <dc:date>2008-10-24T14:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP Authentication &amp; Active Directory</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-authentication-active-directory/m-p/162074#M115977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I use something like &lt;STRONG&gt;%s@example.com&lt;/STRONG&gt; as the userNameFormat for the AD domain example.com, which allows me to login with a username that is the same as the value of the sAMAccountName attribute in AD.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it possible to login using the e-mail address (userPrincipalName)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2008 03:22:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-authentication-active-directory/m-p/162074#M115977</guid>
      <dc:creator>mrojas73</dc:creator>
      <dc:date>2008-10-27T03:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP Authentication &amp; Active Directory</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-authentication-active-directory/m-p/162075#M115978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi mrojas73,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not able to log in using the &lt;/SPAN&gt;&lt;STRONG&gt;userPrincipalName&lt;/STRONG&gt;&lt;SPAN&gt; attribute directly by using it in the &lt;/SPAN&gt;&lt;STRONG&gt;userNameFormat&lt;/STRONG&gt;&lt;SPAN&gt; field as follows &lt;/SPAN&gt;&lt;STRONG&gt;userPrincipalName=%s,CN=Users,Dc=example,dc=com&lt;/STRONG&gt;&lt;SPAN&gt;. But since in my case the combination of the &lt;/SPAN&gt;&lt;STRONG&gt;sAMAccountName&lt;/STRONG&gt;&lt;SPAN&gt; and the AD domain &lt;/SPAN&gt;&lt;STRONG&gt;example.com&lt;/STRONG&gt;&lt;SPAN&gt; is the same as the value of the &lt;/SPAN&gt;&lt;STRONG&gt;userPrincipalName&lt;/STRONG&gt;&lt;SPAN&gt; attribute, it looks like you're logging in using that attribute if I specify in my Alfresco config files that &lt;/SPAN&gt;&lt;STRONG&gt;userNameFormat=%s@example.com&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;AD domain: exmaple.com&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sAMAccountName=john.doe&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:userPrincipalName=john.doe@example.com" rel="nofollow noopener noreferrer"&gt;userPrincipalName=john.doe@example.com&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt; so specifying &lt;/SPAN&gt;&lt;STRONG&gt;userNameFormat=%s@example.com&lt;/STRONG&gt;&lt;SPAN&gt; enables me to log in using the username &lt;/SPAN&gt;&lt;STRONG&gt;john.doe&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In your case, if you would want to log in using a username &lt;/SPAN&gt;&lt;STRONG&gt;john.doe@example.com&lt;/STRONG&gt;&lt;SPAN&gt;, it should suffice to use &lt;/SPAN&gt;&lt;STRONG&gt;userNameFormat=%s&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2008 08:26:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-authentication-active-directory/m-p/162075#M115978</guid>
      <dc:creator>janeerdekens</dc:creator>
      <dc:date>2008-10-27T08:26:33Z</dc:date>
    </item>
  </channel>
</rss>

