<?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 Re: Alfresco + Zimbra LDAP in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-zimbra-ldap/m-p/220815#M173945</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you everyone for help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I got first results.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've done following steps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Downloaded from Alfresco.com "Alfresco-Community-3.2-MacOS-X-Install" and install it w/o WCM and SharePoint protocol.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Created fresh MySQL DB.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Than I added following lines to&amp;nbsp; /opt/Alfresco/tomcat/shared/classes/alfresco-global.properties&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;===============================================================&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;authentication.chain=ldap1:ldap&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.authentication.active=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.authentication.java.naming.security.authentication=simple&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.authentication.allowGuestLogin=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.authentication.userNameFormat=uid=%s,ou=people,dc=zimbra,dc=local&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.authentication.java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.authentication.java.naming.provider.url=ldap://zimbra.local:389&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.authentication.java.naming.security.authentication=simple&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.authentication.escapeCommasInBind=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.authentication.escapeCommasInUid=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.authentication.defaultAdministratorUserNames=vasisualy&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.active=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.queryBatchSize=1000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.java.naming.security.principal=uid=zimbra,cn=admins,cn=zimbra&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.java.naming.security.credentials=Password&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.modifyTimestampAttributeName=modifyTimestamp&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.timestampFormat=yyyyMMddHHmmss'Z'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.userSearchBase=dc=zimbra,dc=local&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.userIdAttributeName=zimbraMailDeliveryAddress&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.userFirstNameAttributeName=givenName&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.userLastNameAttributeName=sn&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.userEmailAttributeName=mail&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.userOrganizationalIdAttributeName=company&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.defaultHomeFolderProvider=userHomesHomeFolderProvider&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.personQuery=(&amp;amp;(objectClass=organizationalPerson)(zimbraMailStatus=enabled))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.personDifferentialQuery=(&amp;amp;(objectClass=organizationalPerson)(zimbraMailStatus=enabled)(!(modifyTimestamp&amp;lt;={0})))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.personType=organizationalPerson&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.groupSearchBase=dc=zimbra,dc=local&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.groupQuery=(&amp;amp;(objectclass=zimbraDistributionList)(zimbraMailStatus=enabled))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.groupDifferentialQuery=(&amp;amp;(objectclass=zimbraDistributionList)(zimbraMailStatus=enabled)(!(modifyTimestamp&amp;lt;={0})))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.groupIdAttributeName=cn&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.groupType=zimbraDistributionList&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.groupMemberAttributeName=zimbraMailForwardingAddress&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;synchronization.synchronizeChangesOnly=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;synchronization.syncOnStartup=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;synchronization.syncWhenMissingPeopleLogIn=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;synchronization.autoCreatePeopleOnLogin=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# every 5 minutes&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#ldap.synchronization.import.cron=0 * * * * ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;============================================&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Alfresco started and on login I see in catalina.out following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;19:45:09,697&amp;nbsp; INFO&amp;nbsp; [security.sync.ChainingUserRegistrySynchronizer] Synchronizing users and groups with user registry 'ldap1'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;19:45:09,698&amp;nbsp; INFO&amp;nbsp; [security.sync.ChainingUserRegistrySynchronizer] Retrieving all users from user registry 'AUTH.EXT.ldap1'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;19:45:10,265&amp;nbsp; INFO&amp;nbsp; [security.sync.ChainingUserRegistrySynchronizer] Creating user 'admin@zimbra.local'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;19:45:10,661&amp;nbsp; INFO&amp;nbsp; [security.sync.ChainingUserRegistrySynchronizer] Creating user 'wiki@zimbra.local'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;19:45:11,016&amp;nbsp; INFO&amp;nbsp; [security.sync.ChainingUserRegistrySynchronizer] Creating user 'spam.gq9grspa@zimbra.local'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;19:45:11,257&amp;nbsp; INFO&amp;nbsp; [security.sync.ChainingUserRegistrySynchronizer] Creating user 'ham.gftvdq5ag@zimbra.local'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;19:45:11,470&amp;nbsp; INFO&amp;nbsp; [security.sync.ChainingUserRegistrySynchronizer] Creating user 'vasisualy@zimbra.local'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;19:45:11,753&amp;nbsp; INFO&amp;nbsp; [security.sync.ChainingUserRegistrySynchronizer] Retrieving all groups from user registry 'AUTH.EXT.ldap1'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;19:45:11,782&amp;nbsp; INFO&amp;nbsp; [security.sync.ChainingUserRegistrySynchronizer] Creating group 'All Users'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;19:45:11,916&amp;nbsp; INFO&amp;nbsp; [security.sync.ChainingUserRegistrySynchronizer] Finished synchronizing users and groups with user registry 'AUTH.EXT.ldap1'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;19:45:11,918&amp;nbsp; INFO&amp;nbsp; [security.sync.ChainingUserRegistrySynchronizer] 5 user(s) and 1 group(s) processed&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;User logged in and everything seems Ok.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But users synced in tricky way. Please see attached picture.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;A href="http://tinypic.com/r/27xecf5/3" rel="nofollow noopener noreferrer"&gt;http://tinypic.com/r/27xecf5/3&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;or [img]&lt;/SPAN&gt;&lt;A href="http://i27.tinypic.com/27xecf5.jpg" rel="nofollow noopener noreferrer"&gt;http://i27.tinypic.com/27xecf5.jpg&lt;/A&gt;&lt;SPAN&gt;[/img]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need an advice is the any way to point Alfresco that I logs as vasisualy and it corresponds to "Vasily Pupkin" and do not make&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2 different user records: vasisualy and "Vasily Pupkin"&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Sep 2009 16:56:53 GMT</pubDate>
    <dc:creator>vasisualy</dc:creator>
    <dc:date>2009-09-14T16:56:53Z</dc:date>
    <item>
      <title>Alfresco + Zimbra LDAP</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-zimbra-ldap/m-p/220808#M173938</link>
      <description>Dear all, Im trying to combine Alfresco with my existing Zimbra server.My idea is to use zimba's LDAP server as the only one authentication mechanism. It means that every Zimbra's user may login into Alfresco with the same credentials and the home folders as his/her full name.As I see for this purpo</description>
      <pubDate>Sat, 12 Sep 2009 00:02:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-zimbra-ldap/m-p/220808#M173938</guid>
      <dc:creator>vasisualy</dc:creator>
      <dc:date>2009-09-12T00:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco + Zimbra LDAP</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-zimbra-ldap/m-p/220809#M173939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;By taking a quick look at the zimbra wiki I would say that zimbraDistributionList is equivalent to a group. Create one, add some members to it and then run some LDAP queries to map correct values. BTW, if you manage to get this all together, please post your configs.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Sep 2009 09:56:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-zimbra-ldap/m-p/220809#M173939</guid>
      <dc:creator>ivan_plestina</dc:creator>
      <dc:date>2009-09-12T09:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco + Zimbra LDAP</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-zimbra-ldap/m-p/220810#M173940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you, Ivan, for replay.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately Zimbra's distribution list is not an equivalent of user group.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;It's the same as aliases for mailing lists like &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:info@company.com" rel="nofollow noopener noreferrer"&gt;info@company.com&lt;/A&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:support@company.com" rel="nofollow noopener noreferrer"&gt;support@company.com&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I will try add custom group parameter to existing schema and make setup.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway following parameters still are not clear for me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.groupQuery=&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.groupSearchBase= &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.groupType=&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.groupIdAttributeName=&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.groupMemberAttributeName=&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could someone explain it for me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Sep 2009 18:01:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-zimbra-ldap/m-p/220810#M173940</guid>
      <dc:creator>vasisualy</dc:creator>
      <dc:date>2009-09-12T18:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco + Zimbra LDAP</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-zimbra-ldap/m-p/220811#M173941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&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=groups,dc=company,dc=com&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 attribute in LDAP on group objects that defines the DN for its members&lt;BR /&gt;ldap.synchronisation.groupMemberAttributeName=member&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Sync-ing a group is pretty much the same as sync-ing a user. groupQuery is just a proper LDAP query with a proper objectclass - very similar to the personQuery. This is why I said you could use zimbraDistributionList in a way that you put all target group members into a distribution list and then use something like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;ldap.synchronisation.groupQuery=(objectclass=zimbraDistributionList)&lt;BR /&gt;ldap.synchronisation.groupMemberAttributeName=member&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;SPAN&gt;&lt;SPAN&gt;where 'member' field in LDAP should contain the person's userIdAttributeName that you defined in user's sync. So to conclude, if you settle that your username in Alfresco should be for example your email &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:vasisualy@domain.com" rel="nofollow noopener noreferrer"&gt;vasisualy@domain.com&lt;/A&gt;&lt;SPAN&gt;, and that email is also member of a zimbraDistributionList then you could have both users and groups in this way.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you post results of a LDAP query that describes zimbraDistributionList I could be more concrete…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Sep 2009 19:41:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-zimbra-ldap/m-p/220811#M173941</guid>
      <dc:creator>ivan_plestina</dc:creator>
      <dc:date>2009-09-12T19:41:33Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco + Zimbra LDAP</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-zimbra-ldap/m-p/220812#M173942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here is LDIF record of Zimbra's Distribution list.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This list contain only one member.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Members are listed in zimbraMailForwardingAddress.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;=============================&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;dn: uid=all_users,ou=people,dc=zimbra,dc=local&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;zimbraMailStatus: enabled&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;zimbraId: 88fb2bcb-bfd1-4806-8c28-a87d005831b1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;displayName: All Users&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mail: all_users@zimbra.local&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;uid: all_users&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;objectClass: zimbraDistributionList&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;objectClass: zimbraMailRecipient&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;zimbraMailAlias: all_users@zimbra.local&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;cn: All Users&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;description: All users in Zimbra&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;zimbraHideInGal: TRUE&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;zimbraMailForwardingAddress: vasisualy@zimbra.local&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Sep 2009 18:20:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-zimbra-ldap/m-p/220812#M173942</guid>
      <dc:creator>vasisualy</dc:creator>
      <dc:date>2009-09-13T18:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco + Zimbra LDAP</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-zimbra-ldap/m-p/220813#M173943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok so something like this should work if you settle with username@zombra.local form of usernames (and modify the user sync accordingly):&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;ldap.synchronisation.groupQuery=(objectclass=zimbraDistributionList)&lt;BR /&gt;ldap.synchronisation.groupSearchBase=dc=zimbra,dc=local&lt;BR /&gt;ldap.synchronisation.groupIdAttributeName=cn&lt;BR /&gt;ldap.synchronisation.groupType=zimbraDistributionList&lt;BR /&gt;ldap.synchronisation.groupMemberAttributeName=zimbraMailForwardingAddress&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Sep 2009 19:15:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-zimbra-ldap/m-p/220813#M173943</guid>
      <dc:creator>ivan_plestina</dc:creator>
      <dc:date>2009-09-13T19:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco + Zimbra LDAP</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-zimbra-ldap/m-p/220814#M173944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Please note that vasisualy's original question was regarding the v3.2 LDAP properties which all use the letter 'z' in their name and are documented here.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Alfresco_Authentication_Subsystems#LDAP" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Alfresco_Authentication_Subsystems#LDAP&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2009 08:30:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-zimbra-ldap/m-p/220814#M173944</guid>
      <dc:creator>dward</dc:creator>
      <dc:date>2009-09-14T08:30:50Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco + Zimbra LDAP</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-zimbra-ldap/m-p/220815#M173945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you everyone for help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I got first results.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've done following steps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Downloaded from Alfresco.com "Alfresco-Community-3.2-MacOS-X-Install" and install it w/o WCM and SharePoint protocol.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Created fresh MySQL DB.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Than I added following lines to&amp;nbsp; /opt/Alfresco/tomcat/shared/classes/alfresco-global.properties&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;===============================================================&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;authentication.chain=ldap1:ldap&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.authentication.active=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.authentication.java.naming.security.authentication=simple&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.authentication.allowGuestLogin=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.authentication.userNameFormat=uid=%s,ou=people,dc=zimbra,dc=local&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.authentication.java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.authentication.java.naming.provider.url=ldap://zimbra.local:389&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.authentication.java.naming.security.authentication=simple&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.authentication.escapeCommasInBind=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.authentication.escapeCommasInUid=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.authentication.defaultAdministratorUserNames=vasisualy&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.active=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.queryBatchSize=1000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.java.naming.security.principal=uid=zimbra,cn=admins,cn=zimbra&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.java.naming.security.credentials=Password&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.modifyTimestampAttributeName=modifyTimestamp&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.timestampFormat=yyyyMMddHHmmss'Z'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.userSearchBase=dc=zimbra,dc=local&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.userIdAttributeName=zimbraMailDeliveryAddress&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.userFirstNameAttributeName=givenName&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.userLastNameAttributeName=sn&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.userEmailAttributeName=mail&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.userOrganizationalIdAttributeName=company&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.defaultHomeFolderProvider=userHomesHomeFolderProvider&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.personQuery=(&amp;amp;(objectClass=organizationalPerson)(zimbraMailStatus=enabled))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.personDifferentialQuery=(&amp;amp;(objectClass=organizationalPerson)(zimbraMailStatus=enabled)(!(modifyTimestamp&amp;lt;={0})))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.personType=organizationalPerson&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.groupSearchBase=dc=zimbra,dc=local&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.groupQuery=(&amp;amp;(objectclass=zimbraDistributionList)(zimbraMailStatus=enabled))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.groupDifferentialQuery=(&amp;amp;(objectclass=zimbraDistributionList)(zimbraMailStatus=enabled)(!(modifyTimestamp&amp;lt;={0})))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.groupIdAttributeName=cn&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.groupType=zimbraDistributionList&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.groupMemberAttributeName=zimbraMailForwardingAddress&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;synchronization.synchronizeChangesOnly=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;synchronization.syncOnStartup=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;synchronization.syncWhenMissingPeopleLogIn=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;synchronization.autoCreatePeopleOnLogin=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# every 5 minutes&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#ldap.synchronization.import.cron=0 * * * * ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;============================================&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Alfresco started and on login I see in catalina.out following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;19:45:09,697&amp;nbsp; INFO&amp;nbsp; [security.sync.ChainingUserRegistrySynchronizer] Synchronizing users and groups with user registry 'ldap1'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;19:45:09,698&amp;nbsp; INFO&amp;nbsp; [security.sync.ChainingUserRegistrySynchronizer] Retrieving all users from user registry 'AUTH.EXT.ldap1'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;19:45:10,265&amp;nbsp; INFO&amp;nbsp; [security.sync.ChainingUserRegistrySynchronizer] Creating user 'admin@zimbra.local'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;19:45:10,661&amp;nbsp; INFO&amp;nbsp; [security.sync.ChainingUserRegistrySynchronizer] Creating user 'wiki@zimbra.local'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;19:45:11,016&amp;nbsp; INFO&amp;nbsp; [security.sync.ChainingUserRegistrySynchronizer] Creating user 'spam.gq9grspa@zimbra.local'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;19:45:11,257&amp;nbsp; INFO&amp;nbsp; [security.sync.ChainingUserRegistrySynchronizer] Creating user 'ham.gftvdq5ag@zimbra.local'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;19:45:11,470&amp;nbsp; INFO&amp;nbsp; [security.sync.ChainingUserRegistrySynchronizer] Creating user 'vasisualy@zimbra.local'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;19:45:11,753&amp;nbsp; INFO&amp;nbsp; [security.sync.ChainingUserRegistrySynchronizer] Retrieving all groups from user registry 'AUTH.EXT.ldap1'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;19:45:11,782&amp;nbsp; INFO&amp;nbsp; [security.sync.ChainingUserRegistrySynchronizer] Creating group 'All Users'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;19:45:11,916&amp;nbsp; INFO&amp;nbsp; [security.sync.ChainingUserRegistrySynchronizer] Finished synchronizing users and groups with user registry 'AUTH.EXT.ldap1'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;19:45:11,918&amp;nbsp; INFO&amp;nbsp; [security.sync.ChainingUserRegistrySynchronizer] 5 user(s) and 1 group(s) processed&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;User logged in and everything seems Ok.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But users synced in tricky way. Please see attached picture.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;A href="http://tinypic.com/r/27xecf5/3" rel="nofollow noopener noreferrer"&gt;http://tinypic.com/r/27xecf5/3&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;or [img]&lt;/SPAN&gt;&lt;A href="http://i27.tinypic.com/27xecf5.jpg" rel="nofollow noopener noreferrer"&gt;http://i27.tinypic.com/27xecf5.jpg&lt;/A&gt;&lt;SPAN&gt;[/img]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need an advice is the any way to point Alfresco that I logs as vasisualy and it corresponds to "Vasily Pupkin" and do not make&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2 different user records: vasisualy and "Vasily Pupkin"&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2009 16:56:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-zimbra-ldap/m-p/220815#M173945</guid>
      <dc:creator>vasisualy</dc:creator>
      <dc:date>2009-09-14T16:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco + Zimbra LDAP</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-zimbra-ldap/m-p/220816#M173946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You need to set&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.userIdAttributeName=uid&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;zimbraMailDeliveryAddress was the wrong attribute to use, as it contains the @zimbra.local suffix.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2009 17:04:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-zimbra-ldap/m-p/220816#M173946</guid>
      <dc:creator>dward</dc:creator>
      <dc:date>2009-09-14T17:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco + Zimbra LDAP</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-zimbra-ldap/m-p/220817#M173947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;You need to set&lt;BR /&gt;&lt;BR /&gt;ldap.synchronization.userIdAttributeName=uid&lt;BR /&gt;&lt;BR /&gt;zimbraMailDeliveryAddress was the wrong attribute to use, as it contains the @zimbra.local suffix.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Wiki states:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.groupMemberAttributeName&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; The name of the multi-valued attribute on an LDAP group object that lists its members. If the value of this attribute parses as a Distinguished Name (DN) then the exporter will resolve the member name and type by looking up that DN, determining its object class (user or group) and getting the appropriate name attribute. This strategy will work with the groupOfNames class, for example. &lt;/SPAN&gt;&lt;SPAN style="text-decoration: underline;"&gt;Otherwise, the attribute value is assumed to contain a user ID.&lt;/SPAN&gt;&lt;SPAN&gt; This strategy will work with the posixGroup class, for example. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, in order to use zimbraDistributionList as a "virtual group" (if I understood vasisualy correctly there are no real groups in zimbra LDAP scheme), he must also use email addresses as UIDs in Alfresco to map users to groups correctly. I would have put the same config as vasisualy.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I understand this is some black magic we're trying here but it would be great if Alfresco and Zimbra could integrate this way and we are very close to the solution.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2009 19:03:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-zimbra-ldap/m-p/220817#M173947</guid>
      <dc:creator>ivan_plestina</dc:creator>
      <dc:date>2009-09-14T19:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco + Zimbra LDAP</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-zimbra-ldap/m-p/220818#M173948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Oh and btw, it looks to me that LDAP sync worked perfectly but authentication messed things up by creating another user… Can you try to modify:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;ldap.authentication.userNameFormat=uid=%s,ou=people,dc=zimbra,dc=local&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;to&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;ldap.authentication.userNameFormat=%s@zimbra.local&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Not sure if you'll need to escape that '@' with a '\'. This definately works with AD LDAP i.e. you can authenticate with your email. %s is what you type into the login form, and @zimbra.local is appended in the background automatically. No idea will it work for zimbra but it should solve the double users problem.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2009 19:25:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-zimbra-ldap/m-p/220818#M173948</guid>
      <dc:creator>ivan_plestina</dc:creator>
      <dc:date>2009-09-14T19:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco + Zimbra LDAP</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-zimbra-ldap/m-p/220819#M173949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ivan, your suggeston won't work because zimbraMailDeliveryAddress is not part of the DN, and therefore it won't be able to resolve the entered user ID to a DN.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;BUT, a change I am about to check in to HEAD will allow you to use any user attribute, including email address, as the user ID attribute, because we are going to support search based DN resolution when ldap.authentication.userNameFormat is empty.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So I'm afraid it's not possible now, but it will be just as soon as HEAD is open for check ins again.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2009 19:42:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-zimbra-ldap/m-p/220819#M173949</guid>
      <dc:creator>dward</dc:creator>
      <dc:date>2009-09-14T19:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco + Zimbra LDAP</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-zimbra-ldap/m-p/220820#M173950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I started to write&amp;nbsp; this replay 2 hour late before yours.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway I will put it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I will try your advices and report soon. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;You need to set&lt;BR /&gt;ldap.synchronization.userIdAttributeName=uid&lt;BR /&gt;zimbraMailDeliveryAddress was the wrong attribute to use, as it contains the @zimbra.local suffix.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;I see. But zimbra's DistributionList contains in zimbraMailForwardingAddressattribute only e-mails not UIDS.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I set ldap.synchronization.userIdAttributeName=uid it will conflict with Groups which contain e-mail not UIDs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Am I wrong?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2009 20:03:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-zimbra-ldap/m-p/220820#M173950</guid>
      <dc:creator>vasisualy</dc:creator>
      <dc:date>2009-09-14T20:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco + Zimbra LDAP</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-zimbra-ldap/m-p/220821#M173951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear mates,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I changed setting to ldap.synchronization.userIdAttributeName=uid&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As expected duplicated users are gone.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;part of Alfresco log:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;23:54:40,416&amp;nbsp; INFO&amp;nbsp; [security.sync.ChainingUserRegistrySynchronizer] Creating user 'wiki'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;23:54:40,613&amp;nbsp; INFO&amp;nbsp; [security.sync.ChainingUserRegistrySynchronizer] Creating user 'spam.gq9grspa'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;23:54:40,854&amp;nbsp; INFO&amp;nbsp; [security.sync.ChainingUserRegistrySynchronizer] Creating user 'ham.gftvdq5ag'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;23:54:41,080&amp;nbsp; INFO&amp;nbsp; [security.sync.ChainingUserRegistrySynchronizer] Creating user 'vasisualy'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;23:54:41,278&amp;nbsp; INFO&amp;nbsp; [security.sync.ChainingUserRegistrySynchronizer] Retrieving all groups from user registry 'AUTH.EXT.ldap1'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;23:54:41,300&amp;nbsp; INFO&amp;nbsp; [security.sync.ChainingUserRegistrySynchronizer] Creating group 'All Users'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;23:54:41,352&amp;nbsp; INFO&amp;nbsp; [security.sync.ChainingUserRegistrySynchronizer] Finished synchronizing users and groups with user registry 'AUTH.EXT.ldap1'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;23:54:41,353&amp;nbsp; INFO&amp;nbsp; [security.sync.ChainingUserRegistrySynchronizer] 5 user(s) and 1 group(s) processed&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Group 'All Users' was created as empty.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[img]&lt;/SPAN&gt;&lt;A href="http://i27.tinypic.com/dwxs9u.png" rel="nofollow noopener noreferrer"&gt;http://i27.tinypic.com/dwxs9u.png&lt;/A&gt;&lt;SPAN&gt;[/img]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think I need some manipulations on Zimbra side to achieve really good group integration.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Only few parameters are stii not clear for me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.groupType=&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.personType=&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What does it really mean?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And is the any additional parameters in Alfresco configs to import persons attributes from LDAP?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;like Organization: Job Title: Location: Presence Provider: , etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2009 21:17:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-zimbra-ldap/m-p/220821#M173951</guid>
      <dc:creator>vasisualy</dc:creator>
      <dc:date>2009-09-14T21:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco + Zimbra LDAP</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-zimbra-ldap/m-p/220822#M173952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I think I need some manipulations on Zimbra side to achieve really good group integration.&lt;BR /&gt;&lt;BR /&gt;Only few parameters are stii not clear for me.&lt;BR /&gt;ldap.synchronization.groupType=&lt;BR /&gt;ldap.synchronization.personType=&lt;BR /&gt;What does it really mean?&lt;BR /&gt;&lt;BR /&gt;And is the any additional parameters in Alfresco configs to import persons attributes from LDAP?&lt;BR /&gt;like Organization: Job Title: Location: Presence Provider: , etc.&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;I believe dward's changes once in HEAD will fix things for you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;groupType and personType are mappings to the objectclass name in LDAP for groups and users. For example in AD groupType=group, in OpenLDAP it's groupOfNames and similar.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2009 06:33:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-zimbra-ldap/m-p/220822#M173952</guid>
      <dc:creator>ivan_plestina</dc:creator>
      <dc:date>2009-09-15T06:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco + Zimbra LDAP</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-zimbra-ldap/m-p/220823#M173953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've done myself a little tricky script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;This script based on script written by Carlos Vidal &amp;lt;&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:cvidal@whitehatmail.fr" rel="nofollow noopener noreferrer"&gt;cvidal@whitehatmail.fr&lt;/A&gt;&lt;SPAN&gt;&amp;gt; and found on Zimbra support forum&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It modifies Zimbra's LDAP. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;Zimbra distribution list &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:alfresco_users@hansa.com.ua" rel="nofollow noopener noreferrer"&gt;alfresco_users@hansa.com.ua&lt;/A&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:group1@company.com" rel="nofollow noopener noreferrer"&gt;group1@company.com&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:user5@company.com" rel="nofollow noopener noreferrer"&gt;user5@company.com&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Run script as zimbra user&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;zimbra$ python /opt/bin/dl2groups.py -a -d -p `zmlocalconfig -s -m nokey zimbra_ldap_password`&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Removing all existing group CNs from LDAP&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Expanding and Processing DistributionLists and it's members &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Done.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It makes LDAP records like&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;cn=alfresco_users,ou=groups,dc=company,dc=com&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; objectClass: groupOfNames (structural)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; objectClass: top (abstract)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; cn: alfresco_users&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; member: uid=user1,ou=people,dc=company,dc=com&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; member: uid=user1,ou=people,dc=company,dc=com&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; member: uid=user1,ou=people,dc=company,dc=com&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; description: desc&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; o: Alfresco users&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Script parameters:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Parameters: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-a, –add&amp;nbsp; :add group CN records according DistributionLists &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-d, –del&amp;nbsp; :remove all existing group CN records &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-p, –print : print proposed changes&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-u=name, –user=name :LDAP login as uid=name,cn=admins,cn=zimbra&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :defaulf login is uid=zimbra,cn=admins,cn=zimbra &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-p=, –pass=, –passwd=, password=&amp;nbsp; :LDAP password&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-b=, –base=&amp;nbsp; :LDAP search base&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-h, –help&amp;nbsp;&amp;nbsp; : this help screen message&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-l, –list&amp;nbsp;&amp;nbsp;&amp;nbsp; :list possible changes (for tesing)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This script accepts nested distribution lists and duplicated uses.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To add it to the Zimbra's crontab to run it hourly run (for detals see &lt;/SPAN&gt;&lt;A href="https://help.ubuntu.com/community/CronHowto" rel="nofollow noopener noreferrer"&gt;https://help.ubuntu.com/community/CronHowto&lt;/A&gt;&lt;SPAN&gt; )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;zimbra@:~$ crontab -e&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and add lines to the end of file&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# ZIMBRAEND – DO NOT EDIT ANYTHING BETWEEN THIS LINE AND ZIMBRASTART&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Zimbra LDAP groups mirroring&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;*/15 * * * * /usr/bin/python /opt/bin/dl2groups.py -a -d -p `/opt/zimbra/bin/zmlocalconfig -s -m nokey zimbra_ldap_password` &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Update: I just updates last line. Now it works. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I know that this script is not perfect. Hope someone improve and contribute it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Warning: this script tested only on my own zimbra instance. Please do proper backups procedures before running it first time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I pasted dl2groups.py on&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://pastebin.com/RgJsn6PD" rel="nofollow noopener noreferrer"&gt;http://pastebin.com/RgJsn6PD&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I will be glad for your response.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Apr 2010 16:32:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-zimbra-ldap/m-p/220823#M173953</guid>
      <dc:creator>vasisualy</dc:creator>
      <dc:date>2010-04-13T16:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco + Zimbra LDAP</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-zimbra-ldap/m-p/220824#M173954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Wow, that looks promising for us Zimbra users.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does this change existing groups? Are you also using Zimbra for posix/samba authentication as well?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;I'd love to have an "alfresco users" group to prevent my dummy accounts like "&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:serveralerts@domain.com" rel="nofollow noopener noreferrer"&gt;serveralerts@domain.com&lt;/A&gt;&lt;SPAN&gt;" from populating in Alfresco.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 15:40:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-zimbra-ldap/m-p/220824#M173954</guid>
      <dc:creator>jimmykirk</dc:creator>
      <dc:date>2010-04-14T15:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco + Zimbra LDAP</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-zimbra-ldap/m-p/220825#M173955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;As you probably know Zimbra does not use traditional ou=group structure.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It uses distribution lists as uid=distribution_list&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This script makes groups according distribution lists.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Apr 2010 20:10:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-zimbra-ldap/m-p/220825#M173955</guid>
      <dc:creator>vasisualy</dc:creator>
      <dc:date>2010-04-19T20:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco + Zimbra LDAP</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-zimbra-ldap/m-p/220826#M173956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi i'm getting the below error when itried to run the script on my zimbra server, pls help me to find out a solution…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;zimbra@localhost$;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color:#4040FF;"&gt;python /tmp/dl2groups.py -a -d -p `zmlocalconfig -s -m nokey zimbra_ldap_password`&lt;BR /&gt;Removing all existing group CNs from LDAP&lt;BR /&gt;Expanding and Processing DistributionLists and it's members&lt;BR /&gt; createCnGroup: error for&amp;nbsp; cn=test,ou=groups,dc=testmail,dc=example,dc=com&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;&amp;nbsp; File "dl2groups.py", line 367, in ?&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; createCnGroup(l,grp,realmembs)&lt;BR /&gt;&amp;nbsp; File "dl2groups.py", line 234, in createCnGroup&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if type(e.message) == dict and e.message.has_key('desc'):&lt;BR /&gt;AttributeError: NAMING_VIOLATION instance has no attribute 'message'&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jun 2010 19:07:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-zimbra-ldap/m-p/220826#M173956</guid>
      <dc:creator>scyonix</dc:creator>
      <dc:date>2010-06-10T19:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco + Zimbra LDAP</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-zimbra-ldap/m-p/220827#M173957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry for late response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As I see script can not create ou=groups. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I use more than one mail domain in my Zimbra configuration.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How many mail domains do you use?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Try to change in script &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LDAP_BASE = 'dc=local'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Try to run &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;zimbra&amp;gt; python dl2groups.py&amp;nbsp; -l -p `zmlocalconfig -s -m nokey zimbra_ldap_password`&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does it print correct changes?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jul 2010 17:19:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-zimbra-ldap/m-p/220827#M173957</guid>
      <dc:creator>vasisualy</dc:creator>
      <dc:date>2010-07-05T17:19:25Z</dc:date>
    </item>
  </channel>
</rss>

