<?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 ldap-ad authentication and unusual UPN in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/ldap-ad-authentication-and-unusual-upn/m-p/283222#M236352</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello, people&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a little problem, and i'd like to ask from help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm in the process to deploy Alfresco 5 for a client and I am stuck on the authentication part.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me explain : I have already configure my authentication but the client use a strange ADuser format :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;for a user &amp;lt;em&amp;gt;"bob strange"&amp;lt;/em&amp;gt; in the domain &amp;lt;em&amp;gt;"myfirm.fr"&amp;lt;/em&amp;gt; (and not myfirm.local or myfirm.domain)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The SAMAccountName is &amp;lt;em&amp;gt;b.strange&amp;lt;/em&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;The UPN is &amp;lt;em&amp;gt;&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:bobstrange@myfirm.fr" rel="nofollow noopener noreferrer"&gt;bobstrange@myfirm.fr&lt;/A&gt;&lt;SPAN&gt;&amp;lt;/em&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;The mail domain is the same as the AD domain so the mail is &amp;lt;em&amp;gt;&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:bobstrange@myfirm.fr" rel="nofollow noopener noreferrer"&gt;bobstrange@myfirm.fr&lt;/A&gt;&lt;SPAN&gt;&amp;lt;/em&amp;gt; (same as UPN)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess they choosed to format the UPN to mimic the mail (contrary to the usual form where the mail mimic the UPN)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;for the windows session everyone use the old windows login format =&amp;gt; &amp;lt;strong&amp;gt;domain\sammaccountname&amp;lt;/strong&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for the exchange sessions (OWA) they use the UPN but only 1/3 of the users have a mail so they don't want to use it for alfresco because many users are not used to the UPN&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now alfresco is great at getting the UPN but i need to use the SAMAccountName for the authentication and it is not IN the UPN&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So right now, they can login with the prefix of the UPN (something like "bobstrange") and they want to login with the SAMAccountName ("b.strange")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would love to fix this problem without having to modify the .java classes (it complicates the future evolution), so if someone has a better idea, please, share your wisdom…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PS : my configuration of the ldap-ad subsystem is fine, my only concern is getting the AD SAMAccountName attribute in ldap.authentication.userNameFormat instead of the UPN attribute&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Jun 2015 10:17:44 GMT</pubDate>
    <dc:creator>boiss007</dc:creator>
    <dc:date>2015-06-05T10:17:44Z</dc:date>
    <item>
      <title>ldap-ad authentication and unusual UPN</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-ad-authentication-and-unusual-upn/m-p/283222#M236352</link>
      <description>Hello, peopleI have a little problem, and i'd like to ask from help.I'm in the process to deploy Alfresco 5 for a client and I am stuck on the authentication part.Let me explain : I have already configure my authentication but the client use a strange ADuser format :for a user &amp;lt;em&amp;gt;"bob strange</description>
      <pubDate>Fri, 05 Jun 2015 10:17:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-ad-authentication-and-unusual-upn/m-p/283222#M236352</guid>
      <dc:creator>boiss007</dc:creator>
      <dc:date>2015-06-05T10:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: ldap-ad authentication and unusual UPN</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-ad-authentication-and-unusual-upn/m-p/283223#M236353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What are your ldap properties in the property file? Please post them here. &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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 12:21:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-ad-authentication-and-unusual-upn/m-p/283223#M236353</guid>
      <dc:creator>borisstankov</dc:creator>
      <dc:date>2015-06-15T12:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: ldap-ad authentication and unusual UPN</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-ad-authentication-and-unusual-upn/m-p/283224#M236354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello and thanks for answering boris.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So as said, the ldap connexion is already working but here are my config files&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in alfresco-global.properties : &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;### Authentication Chain&lt;BR /&gt;authentication.chain=alfinst:alfrescoNtlm,GLOBAL:ldap-ad,01-AE:ldap-ad,02-DE:ldap-ad&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in &amp;lt;TOMCAT_HOME&amp;gt;/shares/classes/alfresco/extension/subsystems/Authentication/ldap-ad/GLOBAL/ldap-ad-authentication.properties&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;# This flag enables use of this LDAP subsystem for authentication. It may be&lt;BR /&gt;# that this subsytem should only be used for synchronization, in which case&lt;BR /&gt;# this flag should be set to false.&lt;BR /&gt;ldap.authentication.active=true&lt;BR /&gt;&lt;BR /&gt;#&lt;BR /&gt;# This properties file brings together the common options for LDAP authentication rather than editing the bean definitions&lt;BR /&gt;#&lt;BR /&gt;ldap.authentication.allowGuestLogin=false&lt;BR /&gt;&lt;BR /&gt;# How to map the user id entered by the user to taht passed through to LDAP&lt;BR /&gt;# In Active Directory, this can either be the user principal name (UPN) or DN.&lt;BR /&gt;# UPNs are in the form &amp;lt;sAMAccountName&amp;gt;@domain and are held in the userPrincipalName attribute of a user&lt;BR /&gt;ldap.authentication.userNameFormat=%s&lt;BR /&gt;&lt;BR /&gt;# The LDAP context factory to use&lt;BR /&gt;ldap.authentication.java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory&lt;BR /&gt;&lt;BR /&gt;# The URL to connect to the LDAP server &lt;BR /&gt;ldap.authentication.java.naming.provider.url=ldap://AD-Server&lt;BR /&gt;&lt;BR /&gt;#Custom Socket Factory.&lt;BR /&gt;#ldap.java.naming.ldap.factory.socket=org.alfresco.repo.security.authentication.ldap.AlfrescoLdapSSLSocketFactory&lt;BR /&gt;&lt;BR /&gt;# The authentication mechanism to use for password validation&lt;BR /&gt;ldap.authentication.java.naming.security.authentication=simple&lt;BR /&gt;&lt;BR /&gt;# Escape commas entered by the user at bind time&lt;BR /&gt;# Useful when using simple authentication and the CN is part of the DN and contains commas&lt;BR /&gt;ldap.authentication.escapeCommasInBind=false&lt;BR /&gt;&lt;BR /&gt;# Escape commas entered by the user when setting the authenticated user&lt;BR /&gt;# Useful when using simple authentication and the CN is part of the DN and contains commas, and the escaped \, is &lt;BR /&gt;# pulled in as part of an LDAP sync&lt;BR /&gt;# If this option is set to true it will break the default home folder provider as space names can not contain \&lt;BR /&gt;ldap.authentication.escapeCommasInUid=false&lt;BR /&gt;&lt;BR /&gt;# Comma separated list of user names who should be considered administrators by default&lt;BR /&gt;ldap.authentication.defaultAdministratorUserNames=Administrator&lt;BR /&gt;&lt;BR /&gt;# Enable FTP authentication using LDAP&lt;BR /&gt;ldap.authentication.authenticateFTP=true&lt;BR /&gt;&lt;BR /&gt;# This flag enables use of this LDAP subsystem for user and group&lt;BR /&gt;# synchronization. It may be that this subsytem should only be used for &lt;BR /&gt;# authentication, in which case this flag should be set to false.&lt;BR /&gt;ldap.synchronization.active=true&lt;BR /&gt;&lt;BR /&gt;# The authentication mechanism to use for synchronization&lt;BR /&gt;ldap.synchronization.java.naming.security.authentication=simple&lt;BR /&gt;&lt;BR /&gt;# The default principal to bind with (only used for LDAP sync). This should be a UPN or DN&lt;BR /&gt;ldap.synchronization.java.naming.security.principal=mySyncUser&lt;BR /&gt;&lt;BR /&gt;# The password for the default principal (only used for LDAP sync)&lt;BR /&gt;ldap.synchronization.java.naming.security.credentials=password&lt;BR /&gt;&lt;BR /&gt;# If positive, this property indicates that RFC 2696 paged results should be&lt;BR /&gt;# used to split query results into batches of the specified size. This&lt;BR /&gt;# overcomes any size limits imposed by the LDAP server.&lt;BR /&gt;ldap.synchronization.queryBatchSize=1000&lt;BR /&gt;&lt;BR /&gt;# If positive, this property indicates that range retrieval should be used to fetch&lt;BR /&gt;# multi-valued attributes (such as member) in batches of the specified size.&lt;BR /&gt;# Overcomes any size limits imposed by Active Directory.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;ldap.synchronization.attributeBatchSize=1000&lt;BR /&gt;&lt;BR /&gt;# The query to select all objects that represent the groups to import.&lt;BR /&gt;ldap.synchronization.groupQuery=(objectclass\=group)&lt;BR /&gt;&lt;BR /&gt;# The query to select objects that represent the groups to import that have changed since a certain time.&lt;BR /&gt;ldap.synchronization.groupDifferentialQuery=(&amp;amp;(objectclass\=organizational-unit)(!(whenChanged&amp;lt;\={0})))&lt;BR /&gt;&lt;BR /&gt;# The query to select all objects that represent the users to import.&lt;BR /&gt;ldap.synchronization.personQuery=(&amp;amp;(objectclass\=user)(userAccountControl\:1.2.840.113556.1.4.803\:\=512))&lt;BR /&gt;&lt;BR /&gt;# The query to select objects that represent the users to import that have changed since a certain time.&lt;BR /&gt;ldap.synchronization.personDifferentialQuery=(&amp;amp;(objectclass\=user)(userAccountControl\:1.2.840.113556.1.4.803\:\=512)(!(whenChanged&amp;lt;\={0})))&lt;BR /&gt;&lt;BR /&gt;# The group search base restricts the LDAP group query to a sub section of tree on the LDAP server.&lt;BR /&gt;#ldap.synchronization.groupSearchBase=ou\=Security Giroups,ou\=Alfresco,dc=domain&lt;BR /&gt;ldap.synchronization.groupSearchBase=OU\=someOU,dc\=corps,dc=fr&lt;BR /&gt;&lt;BR /&gt;# The user search base restricts the LDAP user query to a sub section of tree on the LDAP server.&lt;BR /&gt;#ldap.synchronization.userSearchBase=ou\=User Accounts,ou=\Alfresco,dc=domain&lt;BR /&gt;ldap.synchronization.userSearchBase=OU\=someOU,dc\=corps,dc=fr&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# The name of the operational attribute recording the last update time for a group or user.&lt;BR /&gt;ldap.synchronization.modifyTimestampAttributeName=whenChanged&lt;BR /&gt;&lt;BR /&gt;# The timestamp format. Unfortunately, this varies between directory servers.&lt;BR /&gt;ldap.synchronization.timestampFormat=yyyyMMddHHmmss'.0Z'&lt;BR /&gt;&lt;BR /&gt;# The attribute name on people objects found in LDAP to use as the uid in Alfresco&lt;BR /&gt;ldap.synchronization.userIdAttributeName=sAMAccountName&lt;BR /&gt;&lt;BR /&gt;# The attribute on person objects in LDAP to map to the first name property in Alfresco&lt;BR /&gt;ldap.synchronization.userFirstNameAttributeName=givenName&lt;BR /&gt;&lt;BR /&gt;# The attribute on person objects in LDAP to map to the last name property in Alfresco&lt;BR /&gt;ldap.synchronization.userLastNameAttributeName=sn&lt;BR /&gt;&lt;BR /&gt;# The attribute on person objects in LDAP to map to the email property in Alfresco&lt;BR /&gt;ldap.synchronization.userEmailAttributeName=mail&lt;BR /&gt;&lt;BR /&gt;# The attribute on person objects in LDAP to map to the organizational id&amp;nbsp; property in Alfresco&lt;BR /&gt;ldap.synchronization.userOrganizationalIdAttributeName=company&lt;BR /&gt;&lt;BR /&gt;# The default home folder provider to use for people created via LDAP import&lt;BR /&gt;ldap.synchronization.defaultHomeFolderProvider=largeHomeFolderProvider&lt;BR /&gt;&lt;BR /&gt;# The attribute on LDAP group objects to map to the authority name property in Alfresco&lt;BR /&gt;ldap.synchronization.groupIdAttributeName=cn&lt;BR /&gt;&lt;BR /&gt;# The attribute on LDAP group objects to map to the authority display name property in Alfresco&lt;BR /&gt;ldap.synchronization.groupDisplayNameAttributeName=displayName&lt;BR /&gt;&lt;BR /&gt;# The group type in LDAP&lt;BR /&gt;ldap.synchronization.groupType=group&lt;BR /&gt;&lt;BR /&gt;# The person type in LDAP&lt;BR /&gt;ldap.synchronization.personType=user&lt;BR /&gt;&lt;BR /&gt;# The attribute in LDAP on group objects that defines the DN for its members&lt;BR /&gt;ldap.synchronization.groupMemberAttributeName=member&lt;BR /&gt;&lt;BR /&gt;# If true progress estimation is enabled. When enabled, the user query has to be run twice in order to count entries.&lt;BR /&gt;ldap.synchronization.enableProgressEstimation=true&lt;BR /&gt;&lt;BR /&gt;# Requests timeout, in miliseconds, use 0 for none (default)&lt;BR /&gt;ldap.authentication.java.naming.read.timeout=0&lt;BR /&gt;&lt;BR /&gt;# LDAPS truststore configuration properties&lt;BR /&gt;#ldap.authentication.truststore.path=&lt;BR /&gt;#ldap.authentication.truststore.passphrase=&lt;BR /&gt;#ldap.authentication.truststore.type=&lt;BR /&gt;# Set to 'ssl' to enable truststore configuration via subsystem's properties&lt;BR /&gt;#ldap.authentication.java.naming.security.protocol=ssl&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&g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SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;^&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But as mentionned, the problem i have is here : &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;# How to map the user id entered by the user to taht passed through to LDAP&lt;BR /&gt;# In Active Directory, this can either be the user principal name (UPN) or DN.&lt;BR /&gt;# UPNs are in the form &amp;lt;sAMAccountName&amp;gt;@domain and are held in the userPrincipalName attribute of a user&lt;BR /&gt;ldap.authentication.userNameFormat=%s&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;because the samaccountname is presumed to be part of the UPN, there doesn't seem to be another way to access it for the authentication…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope&amp;nbsp; it helps clarify, and that it helps you to help me… Because i can see the big changes i'll have to make to the source code if i dont find a "smart" way to pull it off…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Jun 2015 10:59:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-ad-authentication-and-unusual-upn/m-p/283224#M236354</guid>
      <dc:creator>boiss007</dc:creator>
      <dc:date>2015-06-20T10:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: ldap-ad authentication and unusual UPN</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-ad-authentication-and-unusual-upn/m-p/283225#M236355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;HI,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now is nore clear. But just to be sure if I managed to get into your problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I'm part fo you ldap and let's say that I have useraccount: boris.stankov&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And your domain is "example.com".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;I want to login to the system with only typing in "boris.stankov" instead of the whole string "&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:boris.stankov@example.com" rel="nofollow noopener noreferrer"&gt;boris.stankov@example.com&lt;/A&gt;&lt;SPAN&gt;".&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So you should specify the property to be:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;ldap.authentication.userNameFormat=%s@example.com&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Which shoud allow me to login only with "boris.stankov", cause I'm part of the domain.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is what I found in this forum, which is similar to your problem. Check the last post, it's old one, but still valid:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://forums.alfresco.com/forum/installation-upgrades-configuration-integration/configuration/ldap-authentication-active" rel="nofollow noopener noreferrer"&gt;https://forums.alfresco.com/forum/installation-upgrades-configuration-integration/configuration/ldap-authentication-active&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers and hope that helps you resolve the problem.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2015 07:16:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-ad-authentication-and-unusual-upn/m-p/283225#M236355</guid>
      <dc:creator>borisstankov</dc:creator>
      <dc:date>2015-06-22T07:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: ldap-ad authentication and unusual UPN</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-ad-authentication-and-unusual-upn/m-p/283226#M236356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Boiss, did you find a resolution to this? I have a similar problem where I want to use SAMAccountName to authenticate. &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;SAMAccountName = jbloggs&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;UPN = &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:joe.bloggs@example.com" rel="nofollow noopener noreferrer"&gt;joe.bloggs@example.com&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Want user to log into alfresco using jbloggs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2016 07:01:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-ad-authentication-and-unusual-upn/m-p/283226#M236356</guid>
      <dc:creator>kicktrick</dc:creator>
      <dc:date>2016-04-13T07:01:47Z</dc:date>
    </item>
  </channel>
</rss>

