<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[External Directory synchronisation]]></title><description><![CDATA[<p dir="auto">We are trying to link Univention LDAP as External Directory and I noticed that it doesn't import group memberships properly.</p>
<p dir="auto">It looks like it's case sensitive issue, when I import <code>test.test</code> user, it puts the user into a group properly.</p>
<pre><code>Mar 30 12:50:12 box:externalldap syncUsers: [adding user] username=test.test email=test.test@dev.mynet displayName=test test
Mar 30 12:50:12 box:externalldap syncUsers: done
...

Mar 30 12:50:12 box:tasks update 4074: {"percent":68,"message":"Syncing... uni-all-cloudron-users"}
Mar 30 12:50:12 box:externalldap syncGroups: [up-to-date group] groupname=uni-all-cloudron-users
Mar 30 12:50:12 box:externalldap syncGroups: sync done
...
Mar 30 12:50:12 box:externalldap syncGroupUsers: Sync users for group uni-all-cloudron-users
Mar 30 12:50:12 box:externalldap syncGroupUsers: Group uni-all-cloudron-users has 2 members.
Mar 30 12:50:12 box:externalldap ldapGetByDN: Get object at uid=test.test,ou=Users,dc=dev,dc=mynet
Mar 30 12:50:12 box:externalldap syncGroupUsers: Found member object at uid=test.test,ou=Users,dc=dev,dc=mynet adding to group uni-all-cloudron-users
</code></pre>
<p dir="auto">If I rename it to <code>Test.Test</code> it fails to import.</p>
<pre><code>Mar 30 12:12:37 box:tasks update 4068: {"percent":30,"message":"Syncing... Test.Test"}
Mar 30 12:12:37 box:externalldap syncUsers: [adding user] username=Test.Test email=test.test@dev.mynet displayName=test test
Mar 30 12:12:37 box:externalldap syncUsers: done
...
Mar 30 12:12:37 box:externalldap syncGroupUsers: Group uni-all-cloudron-users has 2 members.
Mar 30 12:12:37 box:externalldap ldapGetByDN: Get object at uid=Test.Test,ou=Users,dc=dev,dc=mynet
Mar 30 12:12:37 box:externalldap syncGroupUsers: Found member object at uid=Test.Test,ou=Users,dc=dev,dc=mynet adding to group uni-all-cloudron-users
Mar 30 12:12:37 box:externalldap syncGroupUsers: Failed to get user by username Test.Test User not found
</code></pre>
<p dir="auto">I can get the same data using <code>ldapsearch</code> using both <code>test.test</code> and <code>Test.Test</code> from Univention LDAP.</p>
<p dir="auto">We need to make External Directory synchronisation working with usernames in <code>Test.Test</code> format.</p>
]]></description><link>https://forum.cloudron.io/topic/6732/external-directory-synchronisation</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 01:13:06 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/6732.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 30 Mar 2022 09:18:50 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to External Directory synchronisation on Sat, 23 Apr 2022 09:24:44 GMT]]></title><description><![CDATA[<p dir="auto">I finally managed to get around reproducing and debugging this and it is fixed for next release: <a href="https://git.cloudron.io/cloudron/box/-/commit/0cd48bd239b13a6edec04974031ffdfed4688e08" target="_blank" rel="noopener noreferrer nofollow ugc">https://git.cloudron.io/cloudron/box/-/commit/0cd48bd239b13a6edec04974031ffdfed4688e08</a></p>
]]></description><link>https://forum.cloudron.io/post/46513</link><guid isPermaLink="true">https://forum.cloudron.io/post/46513</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Sat, 23 Apr 2022 09:24:44 GMT</pubDate></item><item><title><![CDATA[Reply to External Directory synchronisation on Tue, 05 Apr 2022 13:11:24 GMT]]></title><description><![CDATA[<p dir="auto">Maybe the following this is old news, but ldap is in general not case sensitive, so while users may create entries even in camel case a case insensitive search (and Cloudron sided conversion to lowercase) should always give the same results.</p>
]]></description><link>https://forum.cloudron.io/post/45703</link><guid isPermaLink="true">https://forum.cloudron.io/post/45703</guid><dc:creator><![CDATA[fbartels]]></dc:creator><pubDate>Tue, 05 Apr 2022 13:11:24 GMT</pubDate></item><item><title><![CDATA[Reply to External Directory synchronisation on Tue, 05 Apr 2022 11:40:28 GMT]]></title><description><![CDATA[<p dir="auto">@vladimir-d the group assignment fails, since for some reason in your Cloudron the username is not lowercased. This seems to be the root cause we need to track down and fix.</p>
]]></description><link>https://forum.cloudron.io/post/45701</link><guid isPermaLink="true">https://forum.cloudron.io/post/45701</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Tue, 05 Apr 2022 11:40:28 GMT</pubDate></item><item><title><![CDATA[Reply to External Directory synchronisation on Tue, 05 Apr 2022 11:08:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> I used 'Syncronize' button nothing else.<br />
Did you have a chance to reproduce the group assignment issue on our server?</p>
]]></description><link>https://forum.cloudron.io/post/45699</link><guid isPermaLink="true">https://forum.cloudron.io/post/45699</guid><dc:creator><![CDATA[vladimir.d]]></dc:creator><pubDate>Tue, 05 Apr 2022 11:08:53 GMT</pubDate></item><item><title><![CDATA[Reply to External Directory synchronisation on Fri, 01 Apr 2022 18:32:53 GMT]]></title><description><![CDATA[<p dir="auto">@vladimir-d Did you happen to add users to the database directly? Atleast in code, usernames are always lower cased. I am unable to see how usernames can have non-lower case.</p>
]]></description><link>https://forum.cloudron.io/post/45579</link><guid isPermaLink="true">https://forum.cloudron.io/post/45579</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Fri, 01 Apr 2022 18:32:53 GMT</pubDate></item><item><title><![CDATA[Reply to External Directory synchronisation on Fri, 01 Apr 2022 10:48:00 GMT]]></title><description><![CDATA[<p dir="auto">@vladimir-d so Cloudron will always lowercase the username, this is required also to be compatible with apps and how they handle usernames. The question here is, why the syncer manages to create a Cloudron user record with uppercase usernames. I have to debug this further. Once this is solved, the group assignment will work as expected.</p>
]]></description><link>https://forum.cloudron.io/post/45558</link><guid isPermaLink="true">https://forum.cloudron.io/post/45558</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Fri, 01 Apr 2022 10:48:00 GMT</pubDate></item><item><title><![CDATA[Reply to External Directory synchronisation on Fri, 01 Apr 2022 06:05:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/luckow" aria-label="Profile: luckow">@<bdi>luckow</bdi></a> we have created <code>Cloudron users</code> group in UCS and put some users to the group.<br />
<img src="/assets/uploads/files/1648791574364-screenshot-2022-04-01-at-09.35.54.png" alt="Screenshot 2022-04-01 at 09.35.54.png" class="img-markdown  img-fluid" /></p>
<p dir="auto">On the Connect an External Directory section on Cloudron we have configured to import users and groups from UCS.</p>
<p dir="auto"><img src="/assets/uploads/files/1648791729337-screenshot-2022-04-01-at-09.41.46.png" alt="Screenshot 2022-04-01 at 09.41.46.png" class="img-markdown  img-fluid" /></p>
<p dir="auto">Users and Groups are imported in Cloudron.</p>
<p dir="auto"><img src="/assets/uploads/files/1648792987484-screenshot-2022-04-01-at-09.46.15.png" alt="Screenshot 2022-04-01 at 09.46.15.png" class="img-markdown  img-fluid" /></p>
<p dir="auto"><img src="/assets/uploads/files/1648792997714-screenshot-2022-04-01-at-09.52.02.png" alt="Screenshot 2022-04-01 at 09.52.02.png" class="img-markdown  img-fluid" /></p>
<p dir="auto">But it fails to assign <code>Test.Test1</code> user to groups. If we rename <code>Test.Test1</code> username to lowercase as <code>test.test1</code>, it starts working properly - see <code>test.test</code> user on the screenshots.<br />
I suspect there is a bug or misconfiguration somewhere in Cloudron.</p>
<p dir="auto">We cannot rename real usernames to lower case due to our company policy.</p>
]]></description><link>https://forum.cloudron.io/post/45548</link><guid isPermaLink="true">https://forum.cloudron.io/post/45548</guid><dc:creator><![CDATA[vladimir.d]]></dc:creator><pubDate>Fri, 01 Apr 2022 06:05:12 GMT</pubDate></item><item><title><![CDATA[Reply to External Directory synchronisation on Thu, 31 Mar 2022 19:58:54 GMT]]></title><description><![CDATA[<p dir="auto">@vladimir-d to be fair: I never used groups in UCS. Do you mean this admin screen where you put users into groups?</p>
<p dir="auto"><img src="/assets/uploads/files/1648756664137-a0038cdc-ed7c-4c6b-8e51-83a6fd792ff1-image-resized.png" alt="a0038cdc-ed7c-4c6b-8e51-83a6fd792ff1-image.png" class="img-markdown  img-fluid" /></p>
]]></description><link>https://forum.cloudron.io/post/45538</link><guid isPermaLink="true">https://forum.cloudron.io/post/45538</guid><dc:creator><![CDATA[luckow]]></dc:creator><pubDate>Thu, 31 Mar 2022 19:58:54 GMT</pubDate></item></channel></rss>