<?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 OpenLDAP in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/openldap/m-p/194416#M147546</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;SPAN&gt;i have&amp;nbsp; a openldap server and i'm trying to configure Alfresco Labs3 with the OpenLDAP.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But i'm having some problems… in the log it gives me something like this &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;02:48:00,269 DEBUG [org.alfresco.repo.security.authentication.ldap.LDAPPersonExportSource] Adding user for teste&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but i can't login with the user….&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap-synchronisation.properties&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;# This properties file is used to configure LDAP syncronisation&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;# The query to find the people to import&lt;BR /&gt;ldap.synchronisation.personQuery=(objectclass=inetOrgPerson)&lt;BR /&gt;&lt;BR /&gt;# The search base of the query to find people to import&lt;BR /&gt;ldap.synchronisation.personSearchBase=OU=utilizadores,DC=server,DC=pt&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.synchronisation.userIdAttributeName=uid&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.synchronisation.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.synchronisation.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.synchronisation.userEmailAttributeName=mail&lt;BR /&gt;&lt;BR /&gt;# The attribute on person objects in LDAP to map to the organizational id property in Alfresco&lt;BR /&gt;ldap.synchronisation.userOrganizationalIdAttributeName=o&lt;BR /&gt;&lt;BR /&gt;# The default home folder provider to use for people created via LDAP import&lt;BR /&gt;ldap.synchronisation.defaultHomeFolderProvider=personalHomeFolderProvider&lt;BR /&gt;&lt;BR /&gt;# The query to find group objects&lt;BR /&gt;ldap.synchronisation.groupQuery=(objectclass=groupofnames)&lt;BR /&gt;&lt;BR /&gt;# The search base to use to find group objects&lt;BR /&gt;ldap.synchronisation.groupSearchBase=OU=grupos,DC=server,DC=pt&lt;BR /&gt;&lt;BR /&gt;# The attribute on LDAP group objects to map to the gid property in Alfrecso&lt;BR /&gt;ldap.synchronisation.groupIdAttributeName=cn&lt;BR /&gt;&lt;BR /&gt;# The group type in LDAP&lt;BR /&gt;ldap.synchronisation.groupType=groupofnames&lt;BR /&gt;&lt;BR /&gt;# The person type in LDAP&lt;BR /&gt;ldap.synchronisation.personType=inetOrgPerson&lt;BR /&gt;&lt;BR /&gt;# The attribute in LDAP on group objects that defines the DN for its members&lt;BR /&gt;ldap.synchronisation.groupMemberAttributeName=member&lt;BR /&gt;&lt;BR /&gt;# The cron expression defining when people imports should take place&lt;BR /&gt;ldap.synchronisation.import.person.cron=0 0 * * * ?&lt;BR /&gt;&lt;BR /&gt;# The cron expression defining when group imports should take place&lt;BR /&gt;ldap.synchronisation.import.group.cron=0 30 * * * ?&lt;BR /&gt;&lt;BR /&gt;# Should all groups be cleared out at import time?&lt;BR /&gt;# - this is safe as groups are not used in Alfresco for other things (unlike person objects which you should never clear out during an import)&lt;BR /&gt;# - setting this to true means old group definitions will be tidied up.&lt;BR /&gt;ldap.synchronisation.import.group.clearAllChildren=true&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&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&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap-authentication.properties&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&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;&lt;BR /&gt;# How to map the user id entered by the user to taht passed through to LDAP&lt;BR /&gt;# - simple&lt;BR /&gt;# - this must be a DN and would be something like&lt;BR /&gt;# CN=%s,DC=company,DC=com&lt;BR /&gt;# - digest&lt;BR /&gt;# - usually pass through what is entered&lt;BR /&gt;# %s&lt;BR /&gt;ldap.authentication.userNameFormat=uid=%s,DC=server,DC=pt&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://192.168.100.1:389&lt;BR /&gt;&lt;BR /&gt;# The authentication mechanism to use&lt;BR /&gt;ldap.authentication.java.naming.security.authentication=SIMPLE&lt;BR /&gt;#ldap.authentication.java.naming.security.authentication=DIGEST-MD5&lt;BR /&gt;&lt;BR /&gt;# The default principal to use (only used for LDAP sync)&lt;BR /&gt;ldap.authentication.java.naming.security.principal=CN=admin,DC=server,DC=pt&lt;BR /&gt;&lt;BR /&gt;# The password for the default principal (only used for LDAP sync)&lt;BR /&gt;ldap.authentication.java.naming.security.credentials=password&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;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&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Mar 2009 15:52:41 GMT</pubDate>
    <dc:creator>trkpower</dc:creator>
    <dc:date>2009-03-27T15:52:41Z</dc:date>
    <item>
      <title>OpenLDAP</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/openldap/m-p/194416#M147546</link>
      <description>Hi,i have&amp;nbsp; a openldap server and i'm trying to configure Alfresco Labs3 with the OpenLDAP.But i'm having some problems… in the log it gives me something like this 02:48:00,269 DEBUG [org.alfresco.repo.security.authentication.ldap.LDAPPersonExportSource] Adding user for testebut i can't login with th</description>
      <pubDate>Fri, 27 Mar 2009 15:52:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/openldap/m-p/194416#M147546</guid>
      <dc:creator>trkpower</dc:creator>
      <dc:date>2009-03-27T15:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: OpenLDAP</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/openldap/m-p/194417#M147547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is this a typo?&amp;nbsp; grupo?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronisation.groupSearchBase=OU=grupos,DC=server,DC=pt&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you tried searching openldap from your app server via the command line?&amp;nbsp; The config looks right at first glance.&amp;nbsp; By chance is iptables or tcpwrappers getting in the way?&amp;nbsp; I missed hosts.allow the first time I tried it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;John&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2009 20:00:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/openldap/m-p/194417#M147547</guid>
      <dc:creator>johna</dc:creator>
      <dc:date>2009-03-27T20:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: OpenLDAP</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/openldap/m-p/194418#M147548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;just solve onde part of the problem &lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;in the ldap-authentication.properties was missing something an OU&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.authentication.userNameFormat=uid=%s,OU=users,DC=server,DC=pt&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the dn of my users in the ldap are cn=user,ou=users,dc=ser,dc=pt&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;they have an attribute uid. i would like to if it's possible to use that attribute to make the logins in alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2009 21:53:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/openldap/m-p/194418#M147548</guid>
      <dc:creator>trkpower</dc:creator>
      <dc:date>2009-03-27T21:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: OpenLDAP</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/openldap/m-p/194419#M147549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi trkpower,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm also facing the same problem… Don't know how to achieve this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;can you please post your .ldif file and ldap-authentication.properties files.. or send them to me as my private messages..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;waiting 4 ur reply..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2009 06:32:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/openldap/m-p/194419#M147549</guid>
      <dc:creator>javauser007</dc:creator>
      <dc:date>2009-04-21T06:32:21Z</dc:date>
    </item>
  </channel>
</rss>

