<?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 Problem in LDAP-AD Process and Doubt in workflow in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/problem-in-ldap-ad-process-and-doubt-in-workflow/m-p/75714#M24033</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class=""&gt;&lt;P&gt;Hey guys,&lt;/P&gt;&lt;P&gt;I stuck in LDAP-AD Integration since I'm new to alfresco. I followed as below.&lt;/P&gt;&lt;P&gt;Please confirm me the work flow which I've done is whether right or wrong. &lt;/P&gt;&lt;P&gt;In the first,&lt;/P&gt;&lt;P&gt;1. Added the authentication-chain in alfresc-global.properties file.&lt;/P&gt;&lt;P&gt;2. Created a ldap-authentication.properties file and ldap-authentication-context.xml file under the [C:\alfresco-community\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\subsystems\Authentication\ldap-ad\ldap-ad1] folder.&lt;/P&gt;&lt;P&gt;This is my current work for LDAP-AD Integration.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;So, my doubt is, should I add any files other than the above .properties files and .xml file.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;If so please let me know, what files I should add and where I'm supposed to add. [i.e. folder path]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm getting the below errors:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; 1. &lt;/STRONG&gt;ERROR [org.alfresco.repo.security.authentication.ldap.LDAPInitialDirContextFactoryImpl] [localhost-startStop-1] Unable to connect to LDAP Server; check LDAP configuration&lt;BR /&gt;javax.naming.CommunicationException: domaincontroller.company.com:389 [Root exception is java.net.ConnectException: Connection timed out: connect]&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2. &lt;/STRONG&gt;ERROR [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [localhost-startStop-1] Synchronization aborted due to error&lt;BR /&gt;org.alfresco.repo.security.authentication.AuthenticationException: 04030019 Failed to communicate with ldap://domaincontroller.company.com:389. Reason javax.naming.CommunicationException, domaincontroller.company.com:389, java.net.ConnectException, Connection timed out: connect&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;Below is the properties which I'm running for LDAP-AD Integration.&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;The below code written in alfresco-gloabl.properties file:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;authentication.chain=ldap-ad1:ldap-ad, alfinst:alfrescoNtlm&lt;BR /&gt;synchronization.import.cron=0 0 18 * * ?&lt;BR /&gt;synchronization.synchronizeChangeOnly=false&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;The below code written in ldap-authentication.properties file:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;ldap.authentication.active=true&lt;BR /&gt;ldap.authentication.allowGuestLogin=true&lt;BR /&gt;&lt;A class="jive-link-email-small" href="https://migration33.stage.lithium.com/" rel="nofollow noopener noreferrer"&gt;ldap.authentication.userNameFormat=%s@xyz.com&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;ldap.authentication.java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory&lt;BR /&gt;# IP address or name of your LDAP server - (port 389 is the default for LDAP)&lt;BR /&gt;ldap.authentication.java.naming.provider.url=ldap://svr01.xyz.com:389&lt;BR /&gt;ldap.authentication.java.naming.security.authentication=simple&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ldap.authentication.escapeCommasInBind=false&lt;BR /&gt;ldap.authentication.escapeCommasInUid=false&lt;BR /&gt;ldap.authentication.defaultAdministratorUserNames=admin&lt;BR /&gt;ldap.authentication.authenticateFTP=true&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# Enable synchronisation ..&lt;BR /&gt;ldap.synchronization.active=true&lt;BR /&gt;ldap.synchronization.java.naming.security.authentication=simple&lt;BR /&gt;ldap.synchronization.java.naming.security.principal=uid=admin,ou=system&lt;BR /&gt;ldap.synchronization.java.naming.security.credentials=secret&lt;BR /&gt;# synchronization.syncOnStartup=true&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ldap.synchronization.queryBatchSize=500&lt;BR /&gt;ldap.synchronization.attributeBatchSize=0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# Group, person Query and Differential Query&lt;BR /&gt;ldap.synchronization.groupQuery=(objectclass\=groupOfUniqueNames)&lt;BR /&gt;ldap.synchronization.groupDifferentialQuery=(&amp;amp;(objectclass\=groupOfUniqueNames)(!(modifyTimestamp&amp;lt;\={0})))&lt;BR /&gt;ldap.synchronization.personQuery=(objectclass\=inetOrgPerson)&lt;BR /&gt;ldap.synchronization.personDifferentialQuery=(&amp;amp;(objectclass\=inetOrgPerson)(!(modifyTimestamp&amp;lt;\={0})))&lt;BR /&gt;# Search and Timestamp&lt;BR /&gt;ldap.synchronization.groupSearchBase=dc\=xyz,dc\=com&lt;BR /&gt;ldap.synchronization.userSearchBase=ou\=users,dc\=xyz,dc\=com&lt;BR /&gt;ldap.synchronization.modifyTimestampAttributeName=modifyTimestamp&lt;BR /&gt;ldap.synchronization.timestampFormat=yyyyMMddHHmmss'Z'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# The attribute name on people objects to use as the uid in Alfresco&lt;BR /&gt;ldap.synchronization.userIdAttributeName=uid&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;# 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;# 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;ldap.synchronization.userOrganizationalIdAttributeName=o&lt;BR /&gt;ldap.synchronization.defaultHomeFolderProvider=userHomesHomeFolderProvider&lt;BR /&gt;# The attribute on group objects to map to the authority name property in Alfresco&lt;BR /&gt;ldap.synchronization.groupIdAttributeName=cn&lt;BR /&gt;# The attribute on group objects to map to the authority display name property in Alfresco&lt;BR /&gt;ldap.synchronization.groupDisplayNameAttributeName=cn&lt;BR /&gt;# The group type&lt;BR /&gt;ldap.synchronization.groupType=groupOfUniqueNames&lt;BR /&gt;# The person type&lt;BR /&gt;ldap.synchronization.personType=inetOrgPerson&lt;BR /&gt;# The attribute on group objects that defines the DN for its members&lt;BR /&gt;ldap.synchronization.groupMemberAttributeName=uniqueMember&lt;BR /&gt;ldap.synchronization.enableProgressEstimation=true&lt;BR /&gt;ldap.authentication.java.naming.read.timeout=0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the xml files are attached.&lt;/P&gt;&lt;P&gt;[fyi: These two xml files are located in ldap-ad1 folder only.]&lt;/P&gt;&lt;P&gt;Any help is appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Cesar Capillas&lt;/B&gt;‌ You're veteran in LDAP-AD Integration. [ I followed as you suggested me in last post but it didn't work: fyi &lt;A _jive_internal="true" class="link-titled" href="https://community.alfresco.com/message/831826-re-not-able-to-login-during-ldap-ad-integration?commentID=831826&amp;amp;et=watches.email.outcome#comment-831826" title="https://community.alfresco.com/message/831826-re-not-able-to-login-during-ldap-ad-integration?commentID=831826&amp;amp;et=watches.email.outcome#comment-831826" rel="nofollow noopener noreferrer"&gt;https://community.alfresco.com/message/831826-re-not-able-to-login-during-ldap-ad-integration?commentID=831826&amp;amp;et=watche…&lt;/A&gt;&amp;nbsp; ] Please help me out sir. &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://connect.hyland.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt; &lt;IMG src="https://connect.hyland.com/legacyfs/online/alfresco/emoticons/cry.png" /&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raghu&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 May 2018 08:36:03 GMT</pubDate>
    <dc:creator>raghunandangowd</dc:creator>
    <dc:date>2018-05-03T08:36:03Z</dc:date>
    <item>
      <title>Problem in LDAP-AD Process and Doubt in workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/problem-in-ldap-ad-process-and-doubt-in-workflow/m-p/75714#M24033</link>
      <description>Hey guys,I stuck in LDAP-AD Integration since I'm new to alfresco. I followed as below.Please confirm me the work flow which I've done is whether right or wrong. In the first,1. Added the authentication-chain in alfresc-global.properties file.2. Created a ldap-authentication.properties file and ldap</description>
      <pubDate>Thu, 03 May 2018 08:36:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/problem-in-ldap-ad-process-and-doubt-in-workflow/m-p/75714#M24033</guid>
      <dc:creator>raghunandangowd</dc:creator>
      <dc:date>2018-05-03T08:36:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in LDAP-AD Process and Doubt in workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/problem-in-ldap-ad-process-and-doubt-in-workflow/m-p/75715#M24034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking at error you shared, connection is not happening and getting timeout.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First check point for you should be to verify connection detail you mentioned in&amp;nbsp;ldap-authentication.properties file.&lt;/P&gt;&lt;P&gt;You may try same host, port, principle and credential with some LDAP client to confirm its working and you are able to connect.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2018 09:02:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/problem-in-ldap-ad-process-and-doubt-in-workflow/m-p/75715#M24034</guid>
      <dc:creator>jayesh_prajapat</dc:creator>
      <dc:date>2018-05-03T09:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in LDAP-AD Process and Doubt in workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/problem-in-ldap-ad-process-and-doubt-in-workflow/m-p/75716#M24035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I hope following links give you some more idea,&lt;/P&gt;&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/thread/168730"&gt;Cannot get LDAP Synch to work with AD&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;A href="https://migration33.stage.lithium.com/thread/192174"&gt;I need help in integrating AD with alfresco&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://docs.alfresco.com/community5.0/concepts/auth-ldap-intro.html" title="https://docs.alfresco.com/community5.0/concepts/auth-ldap-intro.html" rel="nofollow noopener noreferrer"&gt;Configuring LDAP | Alfresco Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2018 09:07:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/problem-in-ldap-ad-process-and-doubt-in-workflow/m-p/75716#M24035</guid>
      <dc:creator>jayesh_prajapat</dc:creator>
      <dc:date>2018-05-03T09:07:58Z</dc:date>
    </item>
  </channel>
</rss>

