<?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 Authentication and synchronisation of Alfresco 23 with Active Directory in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/authentication-and-synchronisation-of-alfresco-23-with-active/m-p/120849#M33175</link>
    <description>&lt;P&gt;Hallo,&lt;/P&gt;&lt;P&gt;I use Alfresco with docker-compose and try to configure it for Active Directory:&lt;/P&gt;&lt;P&gt;-Dauthentication.chain="ldap-ad1:ldap-ad,alfrescoNtlm1:alfrescoNtlm"&lt;BR /&gt;-Dalfresco.authentication.allowGuestLogin=false&lt;BR /&gt;-Dldap.authentication.active=true&lt;BR /&gt;-Dldap.authentication.enabled=true&lt;BR /&gt;-Dldap.authentication.java.naming.provider.url=ldap://myadserver.net:389&lt;BR /&gt;-Dldap.authentication.allowGuestLogin=false&lt;BR /&gt;-Dldap.synchronization.active=true&lt;BR /&gt;-Dldap.synchronization.java.naming.security.principal="CN=myapp_user,OU=LDAP_ReadOnlyUser,OU=My-Service-User,OU=Mx-Service,DC=myadserver,DC=net"&lt;BR /&gt;-Dldap.synchronization.java.naming.security.credentials="mypassword"&lt;BR /&gt;-Dldap.synchronization.java.naming.security.authentication=simple&lt;/P&gt;&lt;P&gt;The URL and the principal exists and the password is also correct.&lt;BR /&gt;&lt;BR /&gt;But I get this error message:&lt;BR /&gt;Synchronization aborted due to error org.alfresco.error.AlfrescoRuntimeException: 06240036 Error during LDAP Search. Reason:domain:389&lt;BR /&gt;&lt;BR /&gt;In the deepness of the stacktrace I found :&lt;BR /&gt;Caused by: java.net.UnknownHostException: domain&lt;BR /&gt;at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:567)&lt;BR /&gt;at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327)&lt;BR /&gt;at java.base/java.net.Socket.connect(Socket.java:633)&lt;BR /&gt;at java.naming/com.sun.jndi.ldap.Connection.createSocket(Connection.java:336)&lt;BR /&gt;at java.naming/com.sun.jndi.ldap.Connection.&amp;lt;init&amp;gt;(Connection.java:232)&lt;BR /&gt;at java.naming/com.sun.jndi.ldap.LdapClient.&amp;lt;init&amp;gt;(LdapClient.java:137&lt;/P&gt;&lt;P&gt;What is wrong?&lt;/P&gt;&lt;P&gt;Thanks for any hint.&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&amp;nbsp; Peter Schütt&lt;/P&gt;</description>
    <pubDate>Wed, 24 Jul 2024 15:58:22 GMT</pubDate>
    <dc:creator>pschuett</dc:creator>
    <dc:date>2024-07-24T15:58:22Z</dc:date>
    <item>
      <title>Authentication and synchronisation of Alfresco 23 with Active Directory</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/authentication-and-synchronisation-of-alfresco-23-with-active/m-p/120849#M33175</link>
      <description>&lt;P&gt;Hallo,&lt;/P&gt;&lt;P&gt;I use Alfresco with docker-compose and try to configure it for Active Directory:&lt;/P&gt;&lt;P&gt;-Dauthentication.chain="ldap-ad1:ldap-ad,alfrescoNtlm1:alfrescoNtlm"&lt;BR /&gt;-Dalfresco.authentication.allowGuestLogin=false&lt;BR /&gt;-Dldap.authentication.active=true&lt;BR /&gt;-Dldap.authentication.enabled=true&lt;BR /&gt;-Dldap.authentication.java.naming.provider.url=ldap://myadserver.net:389&lt;BR /&gt;-Dldap.authentication.allowGuestLogin=false&lt;BR /&gt;-Dldap.synchronization.active=true&lt;BR /&gt;-Dldap.synchronization.java.naming.security.principal="CN=myapp_user,OU=LDAP_ReadOnlyUser,OU=My-Service-User,OU=Mx-Service,DC=myadserver,DC=net"&lt;BR /&gt;-Dldap.synchronization.java.naming.security.credentials="mypassword"&lt;BR /&gt;-Dldap.synchronization.java.naming.security.authentication=simple&lt;/P&gt;&lt;P&gt;The URL and the principal exists and the password is also correct.&lt;BR /&gt;&lt;BR /&gt;But I get this error message:&lt;BR /&gt;Synchronization aborted due to error org.alfresco.error.AlfrescoRuntimeException: 06240036 Error during LDAP Search. Reason:domain:389&lt;BR /&gt;&lt;BR /&gt;In the deepness of the stacktrace I found :&lt;BR /&gt;Caused by: java.net.UnknownHostException: domain&lt;BR /&gt;at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:567)&lt;BR /&gt;at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327)&lt;BR /&gt;at java.base/java.net.Socket.connect(Socket.java:633)&lt;BR /&gt;at java.naming/com.sun.jndi.ldap.Connection.createSocket(Connection.java:336)&lt;BR /&gt;at java.naming/com.sun.jndi.ldap.Connection.&amp;lt;init&amp;gt;(Connection.java:232)&lt;BR /&gt;at java.naming/com.sun.jndi.ldap.LdapClient.&amp;lt;init&amp;gt;(LdapClient.java:137&lt;/P&gt;&lt;P&gt;What is wrong?&lt;/P&gt;&lt;P&gt;Thanks for any hint.&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&amp;nbsp; Peter Schütt&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2024 15:58:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/authentication-and-synchronisation-of-alfresco-23-with-active/m-p/120849#M33175</guid>
      <dc:creator>pschuett</dc:creator>
      <dc:date>2024-07-24T15:58:22Z</dc:date>
    </item>
  </channel>
</rss>

