<?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 ldapS configuration for samba-ad in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/ldaps-configuration-for-samba-ad/m-p/483814#M39485</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;is there someone who can validate a configuration with ldapS to connection to a samba-ad ??&lt;BR /&gt;Alfresco made me mad, because I just want connection by ldapS without synchronization,&lt;BR /&gt;but I'm not enable to. I changed and try many parameters, but always "simple bind failed"&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;here my Alfresco 23.2 docker-compose conf&lt;/P&gt;&lt;P&gt;-Dldap.authentication.active=true&lt;BR /&gt;-Dldap.authentication.casesensitive=false&lt;BR /&gt;-Dldap.authentication.active-directory.enabled=true&lt;BR /&gt;-Dldap.authentication.active-directory.domain=my.domain&lt;BR /&gt;-Dldap.authentication.truststore.path=/etc/java/datastore/keystore.jks&lt;BR /&gt;-Dldap.authentication.truststore.passphrase=storepass&lt;BR /&gt;-Dldap.authentication.truststore.type=JKS&lt;BR /&gt;-Dldap.authentication.userNameFormat=%s@my.domain&lt;BR /&gt;-Dldap.authentication.java.naming.provider.url=ldaps://my.domain:636&lt;BR /&gt;-Dldap.synchronization.active=false&lt;BR /&gt;-Dldap.authentication.allowGuestLogin=false&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;2024-10-25T08:48:49,390 [] ERROR [authentication.ldap.LDAPInitialDirContextFactoryImpl] [main] Unable to connect to LDAP Server; check LDAP configuration&lt;BR /&gt;javax.naming.CommunicationException: simple bind failed: my.domain:636&lt;BR /&gt;&lt;BR /&gt;with tcpdump, I see that alfresco communicates with my samba-ad, but no messages in samba logs,and no more in alfresco and no file global properties&lt;BR /&gt;&lt;BR /&gt;my developper make a java pgm to test connection with user and keystore&lt;BR /&gt;and once connected in the docker:&lt;BR /&gt;[root@fefaed26eb8d datastore]# java -cp connectorLDAP.jar com.lusis.alb.connectors.ConnectorLDAP ldaps://my.domain:636 user@my.domain ldappassd /etc/java/datastore/keystore.jks storepass&lt;BR /&gt;LDAP connected: true&lt;/P&gt;&lt;P&gt;All works fine if I log in with my alfresco passwd ....&lt;/P&gt;&lt;P&gt;if someone can help me....&lt;/P&gt;</description>
    <pubDate>Fri, 25 Oct 2024 12:34:25 GMT</pubDate>
    <dc:creator>davidgobe</dc:creator>
    <dc:date>2024-10-25T12:34:25Z</dc:date>
    <item>
      <title>ldapS configuration for samba-ad</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ldaps-configuration-for-samba-ad/m-p/483814#M39485</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;is there someone who can validate a configuration with ldapS to connection to a samba-ad ??&lt;BR /&gt;Alfresco made me mad, because I just want connection by ldapS without synchronization,&lt;BR /&gt;but I'm not enable to. I changed and try many parameters, but always "simple bind failed"&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;here my Alfresco 23.2 docker-compose conf&lt;/P&gt;&lt;P&gt;-Dldap.authentication.active=true&lt;BR /&gt;-Dldap.authentication.casesensitive=false&lt;BR /&gt;-Dldap.authentication.active-directory.enabled=true&lt;BR /&gt;-Dldap.authentication.active-directory.domain=my.domain&lt;BR /&gt;-Dldap.authentication.truststore.path=/etc/java/datastore/keystore.jks&lt;BR /&gt;-Dldap.authentication.truststore.passphrase=storepass&lt;BR /&gt;-Dldap.authentication.truststore.type=JKS&lt;BR /&gt;-Dldap.authentication.userNameFormat=%s@my.domain&lt;BR /&gt;-Dldap.authentication.java.naming.provider.url=ldaps://my.domain:636&lt;BR /&gt;-Dldap.synchronization.active=false&lt;BR /&gt;-Dldap.authentication.allowGuestLogin=false&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;2024-10-25T08:48:49,390 [] ERROR [authentication.ldap.LDAPInitialDirContextFactoryImpl] [main] Unable to connect to LDAP Server; check LDAP configuration&lt;BR /&gt;javax.naming.CommunicationException: simple bind failed: my.domain:636&lt;BR /&gt;&lt;BR /&gt;with tcpdump, I see that alfresco communicates with my samba-ad, but no messages in samba logs,and no more in alfresco and no file global properties&lt;BR /&gt;&lt;BR /&gt;my developper make a java pgm to test connection with user and keystore&lt;BR /&gt;and once connected in the docker:&lt;BR /&gt;[root@fefaed26eb8d datastore]# java -cp connectorLDAP.jar com.lusis.alb.connectors.ConnectorLDAP ldaps://my.domain:636 user@my.domain ldappassd /etc/java/datastore/keystore.jks storepass&lt;BR /&gt;LDAP connected: true&lt;/P&gt;&lt;P&gt;All works fine if I log in with my alfresco passwd ....&lt;/P&gt;&lt;P&gt;if someone can help me....&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2024 12:34:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ldaps-configuration-for-samba-ad/m-p/483814#M39485</guid>
      <dc:creator>davidgobe</dc:creator>
      <dc:date>2024-10-25T12:34:25Z</dc:date>
    </item>
  </channel>
</rss>

