<?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[ldap user auth doesn't work after update to actual version]]></title><description><![CDATA[<p dir="auto">Hi everyone, I have a strange problem. I updated our XO from sources last week, and now LDAP auth is not working anymore <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f61e.png?v=566b705aef6" class="not-responsive emoji emoji-android emoji--disappointed" style="height:1.4em;width:auto;vertical-align:middle" title=":(" alt="😞" /></p>
<p dir="auto">Interesting part is: when I try it on CLI it works <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=566b705aef6" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
<pre><code>/opt/xo/xo-builds/xen-orchestra-202507030450/packages/xo-server-auth-ldap/dist# node test-cli.js
? URI ldap://company.zone
? fill optional Certificate Authorities? No
? fill optional Check certificate? No
? fill optional Use StartTLS? No
? Base DC=company,DC=zone
? fill optional Credentials? Yes
? Credentials &gt; dn user@company.zone
? Credentials &gt; password XXX
? fill optional User filter? Yes
? User filter (sAMAccountName={{name}})
? ID attribute (sAMAccountName={{name}})
? fill optional Synchronize groups? No
configuration saved in ./ldap.cache.conf
? Username rgi
? Password [hidden]
2025-07-07T09:37:18.624Z xo:xo-server-auth-ldap DEBUG attempting to bind with as user@company.zone...
2025-07-07T09:37:18.668Z xo:xo-server-auth-ldap DEBUG successfully bound as user@company.zone
2025-07-07T09:37:18.669Z xo:xo-server-auth-ldap DEBUG searching for entries...
2025-07-07T09:37:18.682Z xo:xo-server-auth-ldap DEBUG 1 entries found
2025-07-07T09:37:18.682Z xo:xo-server-auth-ldap DEBUG attempting to bind as CN=bla blubb,OU=company,DC=company,DC=zone
2025-07-07T09:37:18.686Z xo:xo-server-auth-ldap INFO successfully bound as CN=bla blubb,OU=company,DC=company,DC=zone =&gt; rgi authenticated
2025-07-07T09:37:18.687Z xo:xo-server-auth-ldap DEBUG {
...
</code></pre>
<p dir="auto">But in the web interface with the same configuration, I get an error <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f61e.png?v=566b705aef6" class="not-responsive emoji emoji-android emoji--disappointed" style="height:1.4em;width:auto;vertical-align:middle" title=":(" alt="😞" /></p>
<p dir="auto"><img src="/forum/assets/uploads/files/1751882298803-screenshot-2025-07-07-at-17.56.50.png" alt="Screenshot 2025-07-07 at 17.56.50.png" class="img-markdown  img-fluid" width="1922" height="1418" /></p>
<pre><code>Code: -32000

Message: could not authenticate user

{
  "message": "could not authenticate user",
  "name": "Error",
  "stack": "Error: could not authenticate user\n    at /opt/xo/xo-builds/xen-orchestra-202507030450/packages/xo-server-auth-ldap/src/index.js:246:15\n    at default.testPlugin (file:///opt/xo/xo-builds/xen-orchestra-202507030450/packages/xo-server/src/xo-mixins/plugins.mjs:290:5)\n    at Xo.test (file:///opt/xo/xo-builds/xen-orchestra-202507030450/packages/xo-server/src/api/plugin.mjs:109:3)\n    at Task.runInside (/opt/xo/xo-builds/xen-orchestra-202507030450/@vates/task/index.js:175:22)\n    at Task.run (/opt/xo/xo-builds/xen-orchestra-202507030450/@vates/task/index.js:159:20)\n    at Api.#callApiMethod (file:///opt/xo/xo-builds/xen-orchestra-202507030450/packages/xo-server/src/xo-mixins/api.mjs:469:18)"
}
</code></pre>
<p dir="auto">any ideas what could be the problem?</p>
<p dir="auto">cheers Ringo</p>
]]></description><link>https://xcp-ng.org/forum/topic/11040/ldap-user-auth-doesn-t-work-after-update-to-actual-version</link><generator>RSS for Node</generator><lastBuildDate>Mon, 09 Nov 2026 09:30:32 GMT</lastBuildDate><atom:link href="https://xcp-ng.org/forum/topic/11040.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 07 Jul 2025 09:53:21 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to ldap user auth doesn't work after update to actual version on Wed, 01 Oct 2025 13:40:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/vmpr" aria-label="Profile: vmpr">@<bdi>vmpr</bdi></a> hello, to be able to address the problem more clearly can you give me the version of your XO please? and if you are on stable or latest? XO v5.111.0 has been publicly released in latest channel yesterday.</p>
]]></description><link>https://xcp-ng.org/forum/post/98012</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/98012</guid><dc:creator><![CDATA[lsouai-vates]]></dc:creator><pubDate>Wed, 01 Oct 2025 13:40:58 GMT</pubDate></item><item><title><![CDATA[Reply to ldap user auth doesn't work after update to actual version on Wed, 01 Oct 2025 13:36:18 GMT]]></title><description><![CDATA[<p dir="auto">Let me reping <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/pdonias" aria-label="Profile: pdonias">@<bdi>pdonias</bdi></a> and adding <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/lsouai-vates" aria-label="Profile: lsouai-vates">@<bdi>lsouai-vates</bdi></a></p>
]]></description><link>https://xcp-ng.org/forum/post/98010</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/98010</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Wed, 01 Oct 2025 13:36:18 GMT</pubDate></item><item><title><![CDATA[Reply to ldap user auth doesn't work after update to actual version on Wed, 01 Oct 2025 13:27:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a> or <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/pdonias" aria-label="Profile: pdonias">@<bdi>pdonias</bdi></a> did u find any time to look into that problem? cheers Ringo</p>
]]></description><link>https://xcp-ng.org/forum/post/98007</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/98007</guid><dc:creator><![CDATA[vmpr]]></dc:creator><pubDate>Wed, 01 Oct 2025 13:27:01 GMT</pubDate></item><item><title><![CDATA[Reply to ldap user auth doesn't work after update to actual version on Wed, 09 Jul 2025 13:57:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a> thanks! for the info <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/pdonias" aria-label="Profile: pdonias">@<bdi>pdonias</bdi></a> do you have any idea what could be wrong? cheers Ringo</p>
]]></description><link>https://xcp-ng.org/forum/post/95133</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/95133</guid><dc:creator><![CDATA[vmpr]]></dc:creator><pubDate>Wed, 09 Jul 2025 13:57:46 GMT</pubDate></item><item><title><![CDATA[Reply to ldap user auth doesn't work after update to actual version on Mon, 07 Jul 2025 13:28:18 GMT]]></title><description><![CDATA[<p dir="auto">All in all, it's likely related to the fix we did on it "recently" (like 1 or 2 months ago tops).</p>
<p dir="auto">Is anyone from XO team could assist? Maybe <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/pdonias" aria-label="Profile: pdonias">@<bdi>pdonias</bdi></a> since I think you fixed it? (I can be mistaken though)</p>
]]></description><link>https://xcp-ng.org/forum/post/94945</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/94945</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Mon, 07 Jul 2025 13:28:18 GMT</pubDate></item><item><title><![CDATA[Reply to ldap user auth doesn't work after update to actual version on Mon, 07 Jul 2025 13:17:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a> sadly that didn't help <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f61e.png?v=566b705aef6" class="not-responsive emoji emoji-android emoji--disappointed" style="height:1.4em;width:auto;vertical-align:middle" title=":(" alt="😞" /></p>
]]></description><link>https://xcp-ng.org/forum/post/94939</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/94939</guid><dc:creator><![CDATA[vmpr]]></dc:creator><pubDate>Mon, 07 Jul 2025 13:17:11 GMT</pubDate></item><item><title><![CDATA[Reply to ldap user auth doesn't work after update to actual version on Mon, 07 Jul 2025 10:24:33 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Can you double check the case for the base and not use caps? (like <code>dc</code> instead of <code>DC</code>)</p>
]]></description><link>https://xcp-ng.org/forum/post/94921</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/94921</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Mon, 07 Jul 2025 10:24:33 GMT</pubDate></item></channel></rss>