<?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[rootDSE (still) not readable]]></title><description><![CDATA[<p dir="auto">While trying to use the LDAP for authentication from a bunch of macOS clients, I ran into a problem. Apparently, the rootDSE is still not readable (or empty), despite running a current version of Cloudron. I know there was a fix for this issue in 7.2, but either it isn't fixed for all cases or the fix did not work for our specific instance for some unknown reason.</p>
<p dir="auto">I verified that the server is actually reachable from the client machine, ldapsearch returns the expected user table. But for the reasons stated above, opendirectoryd deems the server unreachable since the initial reading of the rootDSE returns an empty result.</p>
<p dir="auto">Is there a way to fix the access privileges manually?</p>
<p dir="auto">I'd appreciate your help.</p>
]]></description><link>https://forum.cloudron.io/topic/7787/rootdse-still-not-readable</link><generator>RSS for Node</generator><lastBuildDate>Sat, 08 Aug 2026 07:32:53 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/7787.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 12 Oct 2022 14:53:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to rootDSE (still) not readable on Wed, 12 Oct 2022 20:38:35 GMT]]></title><description><![CDATA[<p dir="auto">That's great! Thank you very much.</p>
]]></description><link>https://forum.cloudron.io/post/54361</link><guid isPermaLink="true">https://forum.cloudron.io/post/54361</guid><dc:creator><![CDATA[klongeiger]]></dc:creator><pubDate>Wed, 12 Oct 2022 20:38:35 GMT</pubDate></item><item><title><![CDATA[Reply to rootDSE (still) not readable on Wed, 12 Oct 2022 20:16:56 GMT]]></title><description><![CDATA[<p dir="auto">I have now added rootDSE support for the directory server (the exposed LDAP) as well in <a href="https://git.cloudron.io/cloudron/box/-/commit/6d8c3febac04e20141719174ca2a2cb76ecab9eb" target="_blank" rel="noopener noreferrer nofollow ugc">https://git.cloudron.io/cloudron/box/-/commit/6d8c3febac04e20141719174ca2a2cb76ecab9eb</a></p>
<p dir="auto">Will be part of next patch release then. The example to run is:</p>
<pre><code># ldapsearch -b '' -s base -H ldaps://my.&lt;cloudron.com&gt;:636 -x
# extended LDIF
#
# LDAPv3
# base &lt;&gt; with scope baseObject
# filter: (objectclass=*)
# requesting: ALL
#

#
dn:
objectclass: RootDSE
objectclass: top
objectclass: OpenLDAProotDSE
supportedLDAPVersion: 3
vendorName: Cloudron LDAP
vendorVersion: 1.0.0

# search result
search: 2
result: 0 Success

# numResponses: 2
# numEntries: 1
</code></pre>
]]></description><link>https://forum.cloudron.io/post/54360</link><guid isPermaLink="true">https://forum.cloudron.io/post/54360</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Wed, 12 Oct 2022 20:16:56 GMT</pubDate></item><item><title><![CDATA[Reply to rootDSE (still) not readable on Wed, 12 Oct 2022 19:53:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/klongeiger" aria-label="Profile: klongeiger">@<bdi>klongeiger</bdi></a> ah right, this was only implemented for the ldap server, which is serving the apps installed on that Cloudron. Looks like you are referring to the user directory feature, which exposes LDAP features to the public. That however is a different ldap server internally and does not have the rootDSE implemented. I will add that for the next release then.</p>
]]></description><link>https://forum.cloudron.io/post/54359</link><guid isPermaLink="true">https://forum.cloudron.io/post/54359</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Wed, 12 Oct 2022 19:53:10 GMT</pubDate></item><item><title><![CDATA[Reply to rootDSE (still) not readable on Wed, 12 Oct 2022 17:24:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> The way I understand it, issuing a search with</p>
<pre><code>ldapsearch -b '' -s base -H ldaps://&lt;actualhostname&gt;:636
</code></pre>
<p dir="auto">should return the rootDSE from the ldap server. According to specs, this should work without prior authentication as it exposes required information to the client. On our Cloudron instance, this search returns</p>
<pre><code>ldap_sasl_interactive_bind_s: No such object (32)
	additional info: No tree found for: 
</code></pre>
<p dir="auto">Running the example from the Cloudron Docs</p>
<pre><code>ldapsearch  -x -b "ou=users,dc=cloudron" -D "cn=admin,ou=system,dc=cloudron" -W -H ldaps://&lt;actualhostname&gt;:636
</code></pre>
<p dir="auto">works fine, the user data is returned, so the host is reachable and auth works as well. Changing the original query to include authentication returns the same error 32.</p>
<p dir="auto">I ran the search against an open test server and it worked as expected (even though it required auth):</p>
<pre><code>ldapsearch -H ldap://ldap.forumsys.com:389 -D "cn=read-only-admin,dc=example,dc=com" -W -b '' -s base        
Enter LDAP Password: 
# extended LDIF
#
# LDAPv3
# base &lt;&gt; with scope baseObject
# filter: (objectclass=*)
# requesting: ALL
#

#
dn:
objectClass: top
objectClass: OpenLDAProotDSE

# search result
search: 2
result: 0 Success

# numResponses: 2
# numEntries: 1
</code></pre>
<p dir="auto">The actual problem is that the opendirectoryd process on the client interprets the error 32 reply as an unreachable server, even if the actual user data would be available.</p>
<p dir="auto">The release notes for Cloudron 7.2 lists "respond to rootDSE" under Various fixes, so I assumed that the fix didn't work for our specific instance and hoped that there was a way to fix the (probable) configuration error on our end manually.</p>
]]></description><link>https://forum.cloudron.io/post/54352</link><guid isPermaLink="true">https://forum.cloudron.io/post/54352</guid><dc:creator><![CDATA[klongeiger]]></dc:creator><pubDate>Wed, 12 Oct 2022 17:24:25 GMT</pubDate></item><item><title><![CDATA[Reply to rootDSE (still) not readable on Wed, 12 Oct 2022 15:20:19 GMT]]></title><description><![CDATA[<p dir="auto">I don't think we have implemented this, at least I am not sure how exactly such a LDAP query looks like.  After reading <a href="https://ldapwiki.com/wiki/RootDSE" target="_blank" rel="noopener noreferrer nofollow ugc">https://ldapwiki.com/wiki/RootDSE</a> I am not fully sure what this all means. Looks like so far no one had required this, despite it apparently being a must have.</p>
<p dir="auto">If you can explain in more detail what is expected, most likely we can add this to the next patch release.</p>
]]></description><link>https://forum.cloudron.io/post/54349</link><guid isPermaLink="true">https://forum.cloudron.io/post/54349</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Wed, 12 Oct 2022 15:20:19 GMT</pubDate></item></channel></rss>