<?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[glauth ldap backend]]></title><description><![CDATA[<p dir="auto">Im looking to leverage <a href="https://github.com/glauth/glauth" target="_blank" rel="noopener noreferrer nofollow ugc">glauth</a> for a simple LDAP backend. I have configured this independently in several of the apps but I was hoping to be able to sync this ldap server with cloudron and just sync the apps with the cloudron server users (ldap). However Im getting the following error and I was wondering if there is an easy way to support non paged ldap results.</p>
<pre><code>Nov 09 14:26:02 box:tasks update 10: {"percent":100,"result":null,"error":{"stack":"BoxError: missing paged control\n at SearchPager.&lt;anonymous&gt; (/home/yellowtent/box/src/externalldap.js:122:48)\n at SearchPager.emit (node:events:526:28)\n at SearchPager.emit (/home/yellowtent/box/node_modules/ldapjs/lib/corked_emitter.js:44:33)\n at SearchPager._onEnd (/home/yellowtent/box/node_modules/ldapjs/lib/client/search_pager.js:103:12)\n at EventEmitter.emit (node:events:526:28)\n at sendResult (/home/yellowtent/box/node_modules/ldapjs/lib/client/client.js:1194:22)\n at messageCallback (/home/yellowtent/box/node_modules/ldapjs/lib/client/client.js:1222:16)\n at Parser.onMessage (/home/yellowtent/box/node_modules/ldapjs/lib/client/client.js:888:14)\n at Parser.emit (node:events:526:28)\n at Parser.write (/home/yellowtent/box/node_modules/ldapjs/lib/messages/parser.js:107:8)","name":"BoxError","reason":"External Error","details":{},"message":"missing paged control","nestedError":{"stack":"PagedError: missing paged control\n at SearchPager._onEnd (/home/yellowtent/box/node_modules/ldapjs/lib/client/search_pager.js:93:17)\n at EventEmitter.emit (node:events:526:28)\n at sendResult (/home/yellowtent/box/node_modules/ldapjs/lib/client/client.js:1194:22)\n at messageCallback (/home/yellowtent/box/node_modules/ldapjs/lib/client/client.js:1222:16)\n at Parser.onMessage (/home/yellowtent/box/node_modules/ldapjs/lib/client/client.js:888:14)\n at Parser.emit (node:events:526:28)\n at Parser.write (/home/yellowtent/box/node_modules/ldapjs/lib/messages/parser.js:107:8)\n at Socket.onData (/home/yellowtent/box/node_modules/ldapjs/lib/client/client.js:875:22)\n at Socket.emit (node:events:526:28)\n at addChunk (node:internal/streams/readable:315:12)","name":"PagedError","message":"missing paged control"}}}
missing paged control
at SearchPager.&lt;anonymous&gt; (/home/yellowtent/box/src/externalldap.js:122:48)
at SearchPager.emit (node:events:526:28)
at SearchPager.emit (/home/yellowtent/box/node_modules/ldapjs/lib/corked_emitter.js:44:33)
at SearchPager._onEnd (/home/yellowtent/box/node_modules/ldapjs/lib/client/search_pager.js:103:12)
at EventEmitter.emit (node:events:526:28)
at sendResult (/home/yellowtent/box/node_modules/ldapjs/lib/client/client.js:1194:22)
at messageCallback (/home/yellowtent/box/node_modules/ldapjs/lib/client/client.js:1222:16)
at Parser.onMessage (/home/yellowtent/box/node_modules/ldapjs/lib/client/client.js:888:14)
at Parser.emit (node:events:526:28)
at Parser.write (/home/yellowtent/box/node_modules/ldapjs/lib/messages/parser.js:107:8)
</code></pre>
]]></description><link>https://forum.cloudron.io/topic/7954/glauth-ldap-backend</link><generator>RSS for Node</generator><lastBuildDate>Thu, 11 Jun 2026 13:56:17 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/7954.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 09 Nov 2022 19:40:17 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to glauth ldap backend on Wed, 26 Feb 2025 11:19:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nckne" aria-label="Profile: NCKNE">@<bdi>NCKNE</bdi></a> added in <a href="https://git.cloudron.io/platform/box/-/commit/f78f6634fa29e0ca638f482c8e4f941c885e6301" target="_blank" rel="noopener noreferrer nofollow ugc">https://git.cloudron.io/platform/box/-/commit/f78f6634fa29e0ca638f482c8e4f941c885e6301</a> . It hasn't run through our CI yet, but maybe that works for you already . You can patch server at <code>/home/yellowtent/box/src/externalldap.js</code> .</p>
]]></description><link>https://forum.cloudron.io/post/102350</link><guid isPermaLink="true">https://forum.cloudron.io/post/102350</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Wed, 26 Feb 2025 11:19:58 GMT</pubDate></item><item><title><![CDATA[Reply to glauth ldap backend on Tue, 25 Feb 2025 17:14:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/joseph" aria-label="Profile: joseph">@<bdi>joseph</bdi></a> said in <a href="/post/102279">glauth ldap backend</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nckne" aria-label="Profile: NCKNE">@<bdi>NCKNE</bdi></a> were you able to run that command? trying to see if we can fix the code to simply auto-detect this and disable paging automatically (instead of adding an option) . my understanding is that paging is optional to ldap servers.</p>
</blockquote>
<p dir="auto">That's a great idea! I ran the command but got the following response:</p>
<pre><code>root@ldap-wrapper-r90:~# ldapsearch -x -s base -b "" supportedControl -H ldap://localhost:13389
# extended LDIF
#
# LDAPv3
# base &lt;&gt; with scope baseObject
# filter: (objectclass=*)
# requesting: supportedControl 
#

# domain.de
dn: dc=domain,dc=de

# search result
search: 2
result: 0 Success

# numResponses: 2
# numEntries: 1
</code></pre>
]]></description><link>https://forum.cloudron.io/post/102309</link><guid isPermaLink="true">https://forum.cloudron.io/post/102309</guid><dc:creator><![CDATA[NCKNE]]></dc:creator><pubDate>Tue, 25 Feb 2025 17:14:39 GMT</pubDate></item><item><title><![CDATA[Reply to glauth ldap backend on Tue, 25 Feb 2025 11:16:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nckne" aria-label="Profile: NCKNE">@<bdi>NCKNE</bdi></a> were you able to run that command? trying to see if we can fix the code to simply auto-detect this and disable paging automatically (instead of adding an option) . my understanding is that paging is optional to ldap servers.</p>
]]></description><link>https://forum.cloudron.io/post/102279</link><guid isPermaLink="true">https://forum.cloudron.io/post/102279</guid><dc:creator><![CDATA[joseph]]></dc:creator><pubDate>Tue, 25 Feb 2025 11:16:37 GMT</pubDate></item><item><title><![CDATA[Reply to glauth ldap backend on Tue, 25 Feb 2025 11:15:10 GMT]]></title><description><![CDATA[<p dir="auto">Yes, although I am not using glauth for LDAP, the server does not support paging. There seem to be various configurations that do not support paging, so an option to disable it in the Cloudron LDAP sync config would be nice.</p>
]]></description><link>https://forum.cloudron.io/post/102278</link><guid isPermaLink="true">https://forum.cloudron.io/post/102278</guid><dc:creator><![CDATA[NCKNE]]></dc:creator><pubDate>Tue, 25 Feb 2025 11:15:10 GMT</pubDate></item><item><title><![CDATA[Reply to glauth ldap backend on Tue, 25 Feb 2025 10:00:29 GMT]]></title><description><![CDATA[<p dir="auto">Also <a href="https://github.com/glauth/glauth/issues/272" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/glauth/glauth/issues/272</a> says they don't support paged</p>
]]></description><link>https://forum.cloudron.io/post/102268</link><guid isPermaLink="true">https://forum.cloudron.io/post/102268</guid><dc:creator><![CDATA[joseph]]></dc:creator><pubDate>Tue, 25 Feb 2025 10:00:29 GMT</pubDate></item><item><title><![CDATA[Reply to glauth ldap backend on Tue, 25 Feb 2025 10:00:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nckne" aria-label="Profile: NCKNE">@<bdi>NCKNE</bdi></a> maybe this can be auto-detected. Can you run <code>ldapsearch -x -s base -b "" supportedControl</code> (per chatgpt) . If it has 1.2.840.113556.1.4.319 it means it has paged control extension it seems</p>
]]></description><link>https://forum.cloudron.io/post/102267</link><guid isPermaLink="true">https://forum.cloudron.io/post/102267</guid><dc:creator><![CDATA[joseph]]></dc:creator><pubDate>Tue, 25 Feb 2025 10:00:11 GMT</pubDate></item><item><title><![CDATA[Reply to glauth ldap backend on Tue, 25 Feb 2025 09:13:29 GMT]]></title><description><![CDATA[<p dir="auto">Update: Changing all occurrences of</p>
<pre><code>paged: true
</code></pre>
<p dir="auto">to</p>
<pre><code>paged: false
</code></pre>
<p dir="auto">in</p>
<pre><code>/home/yellowtent/box/src/externalldap.js
</code></pre>
<p dir="auto">Makes LDAP Sync work. Maybe adding a GUI option for paging in the LDAP sync configuration settings would be a good idea?</p>
]]></description><link>https://forum.cloudron.io/post/102264</link><guid isPermaLink="true">https://forum.cloudron.io/post/102264</guid><dc:creator><![CDATA[NCKNE]]></dc:creator><pubDate>Tue, 25 Feb 2025 09:13:29 GMT</pubDate></item><item><title><![CDATA[Reply to glauth ldap backend on Tue, 25 Feb 2025 08:18:27 GMT]]></title><description><![CDATA[<p dir="auto">I am encountering the same error ("missing paged control") when connecting to a ldapjs server:</p>
<pre><code>2025-02-25T07:37:57.542Z box:taskworker Starting task 10372. Logs are at /home/yellowtent/platformdata/logs/tasks/10372.log
2025-02-25T07:37:57.566Z box:taskworker Running task of type syncExternalLdap
2025-02-25T07:37:57.566Z box:tasks update 10372: {"percent":10,"message":"Starting ldap user sync"}
2025-02-25T07:37:59.860Z box:taskworker Task took 2.366 seconds
2025-02-25T07:37:59.860Z box:tasks setCompleted - 10372: {"result":null,"error":{"stack":"BoxError: missing paged control\n    at SearchPager.&lt;anonymous&gt; (/home/yellowtent/box/src/externalldap.js:162:48)\n    at SearchPager.emit (node:events:519:28)\n    at SearchPager.emit (/home/yellowtent/box/node_modules/ldapjs/lib/corked_emitter.js:44:33)\n    at SearchPager._onEnd (/home/yellowtent/box/node_modules/ldapjs/lib/client/search_pager.js:103:12)\n    at EventEmitter.emit (node:events:519:28)\n    at sendResult (/home/yellowtent/box/node_modules/ldapjs/lib/client/client.js:1194:22)\n    at messageCallback (/home/yellowtent/box/node_modules/ldapjs/lib/client/client.js:1222:16)\n    at Parser.onMessage (/home/yellowtent/box/node_modules/ldapjs/lib/client/client.js:888:14)\n    at Parser.emit (node:events:519:28)\n    at Parser.write (/home/yellowtent/box/node_modules/ldapjs/lib/messages/parser.js:107:8)","name":"BoxError","reason":"External Error","details":{},"message":"missing paged control","nestedError":{"stack":"PagedError: missing paged control\n    at SearchPager._onEnd (/home/yellowtent/box/node_modules/ldapjs/lib/client/search_pager.js:93:17)\n    at EventEmitter.emit (node:events:519:28)\n    at sendResult (/home/yellowtent/box/node_modules/ldapjs/lib/client/client.js:1194:22)\n    at messageCallback (/home/yellowtent/box/node_modules/ldapjs/lib/client/client.js:1222:16)\n    at Parser.onMessage (/home/yellowtent/box/node_modules/ldapjs/lib/client/client.js:888:14)\n    at Parser.emit (node:events:519:28)\n    at Parser.write (/home/yellowtent/box/node_modules/ldapjs/lib/messages/parser.js:107:8)\n    at end (/home/yellowtent/box/node_modules/ldapjs/lib/messages/parser.js:62:36)\n    at Parser.write (/home/yellowtent/box/node_modules/ldapjs/lib/messages/parser.js:108:10)\n    at Socket.onData (/home/yellowtent/box/node_modules/ldapjs/lib/client/client.js:875:22)","name":"PagedError","message":"missing paged control"}}}
2025-02-25T07:37:59.861Z box:tasks update 10372: {"percent":100,"result":null,"error":{"stack":"BoxError: missing paged control\n    at SearchPager.&lt;anonymous&gt; (/home/yellowtent/box/src/externalldap.js:162:48)\n    at SearchPager.emit (node:events:519:28)\n    at SearchPager.emit (/home/yellowtent/box/node_modules/ldapjs/lib/corked_emitter.js:44:33)\n    at SearchPager._onEnd (/home/yellowtent/box/node_modules/ldapjs/lib/client/search_pager.js:103:12)\n    at EventEmitter.emit (node:events:519:28)\n    at sendResult (/home/yellowtent/box/node_modules/ldapjs/lib/client/client.js:1194:22)\n    at messageCallback (/home/yellowtent/box/node_modules/ldapjs/lib/client/client.js:1222:16)\n    at Parser.onMessage (/home/yellowtent/box/node_modules/ldapjs/lib/client/client.js:888:14)\n    at Parser.emit (node:events:519:28)\n    at Parser.write (/home/yellowtent/box/node_modules/ldapjs/lib/messages/parser.js:107:8)","name":"BoxError","reason":"External Error","details":{},"message":"missing paged control","nestedError":{"stack":"PagedError: missing paged control\n    at SearchPager._onEnd (/home/yellowtent/box/node_modules/ldapjs/lib/client/search_pager.js:93:17)\n    at EventEmitter.emit (node:events:519:28)\n    at sendResult (/home/yellowtent/box/node_modules/ldapjs/lib/client/client.js:1194:22)\n    at messageCallback (/home/yellowtent/box/node_modules/ldapjs/lib/client/client.js:1222:16)\n    at Parser.onMessage (/home/yellowtent/box/node_modules/ldapjs/lib/client/client.js:888:14)\n    at Parser.emit (node:events:519:28)\n    at Parser.write (/home/yellowtent/box/node_modules/ldapjs/lib/messages/parser.js:107:8)\n    at end (/home/yellowtent/box/node_modules/ldapjs/lib/messages/parser.js:62:36)\n    at Parser.write (/home/yellowtent/box/node_modules/ldapjs/lib/messages/parser.js:108:10)\n    at Socket.onData (/home/yellowtent/box/node_modules/ldapjs/lib/client/client.js:875:22)","name":"PagedError","message":"missing paged control"}}}
BoxError: missing paged control
    at SearchPager.&lt;anonymous&gt; (/home/yellowtent/box/src/externalldap.js:162:48)
    at SearchPager.emit (node:events:519:28)
    at SearchPager.emit (/home/yellowtent/box/node_modules/ldapjs/lib/corked_emitter.js:44:33)
    at SearchPager._onEnd (/home/yellowtent/box/node_modules/ldapjs/lib/client/search_pager.js:103:12)
    at EventEmitter.emit (node:events:519:28)
    at sendResult (/home/yellowtent/box/node_modules/ldapjs/lib/client/client.js:1194:22)
    at messageCallback (/home/yellowtent/box/node_modules/ldapjs/lib/client/client.js:1222:16)
    at Parser.onMessage (/home/yellowtent/box/node_modules/ldapjs/lib/client/client.js:888:14)
    at Parser.emit (node:events:519:28)
    at Parser.write (/home/yellowtent/box/node_modules/ldapjs/lib/messages/parser.js:107:8)
</code></pre>
<p dir="auto">The ldapjs server that is being queried logs the following in debug mode:</p>
<pre><code>DEBUG: 2025-02-25T07:37:59.816Z:  %s: sending: %j 1.2.3.4:54938 { status: 0, matchedDN: '', diagnosticMessage: '', referrals: [] }
TRACE: 2025-02-25T07:37:59.883Z:  %s shutdown 1.2.3.4:54938
TRACE: 2025-02-25T07:37:59.884Z:  %s close; had_err=%j 1.2.3.4:54938 false
</code></pre>
<p dir="auto">Could this be related to paging? Can paging be disabled in Cloudron to test if that is the cause?</p>
]]></description><link>https://forum.cloudron.io/post/102262</link><guid isPermaLink="true">https://forum.cloudron.io/post/102262</guid><dc:creator><![CDATA[NCKNE]]></dc:creator><pubDate>Tue, 25 Feb 2025 08:18:27 GMT</pubDate></item><item><title><![CDATA[Reply to glauth ldap backend on Wed, 23 Nov 2022 21:30:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/prusaman" aria-label="Profile: prusaman">@<bdi>prusaman</bdi></a> not really, we haven't made a release past 2-3 weeks.</p>
]]></description><link>https://forum.cloudron.io/post/56916</link><guid isPermaLink="true">https://forum.cloudron.io/post/56916</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Wed, 23 Nov 2022 21:30:02 GMT</pubDate></item><item><title><![CDATA[Reply to glauth ldap backend on Wed, 23 Nov 2022 21:26:45 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> anything changed recently related to this? I patched glauth and authentication was working for the last few days. I rebooted the system to update OS packages and now auth is no longer working. Nothing else has changed. Just trying to limit variables and preserve the limited hair I have remaining.</p>
<p dir="auto">Cheers</p>
]]></description><link>https://forum.cloudron.io/post/56915</link><guid isPermaLink="true">https://forum.cloudron.io/post/56915</guid><dc:creator><![CDATA[prusaman]]></dc:creator><pubDate>Wed, 23 Nov 2022 21:26:45 GMT</pubDate></item><item><title><![CDATA[Reply to glauth ldap backend on Mon, 14 Nov 2022 16:28:07 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> yeah this exactly. I can use the DN instead of the UID but the problem then became the tolower() function on the cloudron side would fail. Currently I patched glauth to stop checking for bindDN being part of the baseDN but I dont think its the ideal long term solution. Im not sure what portion of your user base is using glauth and imagine its probably fairly small but it would be a big quality of life improvement for me.</p>
<p dir="auto">Cheers for the assistance</p>
]]></description><link>https://forum.cloudron.io/post/56085</link><guid isPermaLink="true">https://forum.cloudron.io/post/56085</guid><dc:creator><![CDATA[prusaman]]></dc:creator><pubDate>Mon, 14 Nov 2022 16:28:07 GMT</pubDate></item><item><title><![CDATA[Reply to glauth ldap backend on Mon, 14 Nov 2022 15:39:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/prusaman" aria-label="Profile: prusaman">@<bdi>prusaman</bdi></a> not 100% sure I get the issue. But it seems like the user bind from Cloudron to your glauth instance fails. Generally what our (in this case client side) implementation does is to search for a user record, after a potential admin bind if needed. Then once a user record is found, we take the<code>dn</code> of that record (which was delivered from your server in the previous search call) and just use it as bind identifier. So maybe you can reconfigure your glauth instance to return a <code>dn</code> in the user record which matches what your bind call expects?</p>
]]></description><link>https://forum.cloudron.io/post/56079</link><guid isPermaLink="true">https://forum.cloudron.io/post/56079</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Mon, 14 Nov 2022 15:39:43 GMT</pubDate></item><item><title><![CDATA[Reply to glauth ldap backend on Fri, 11 Nov 2022 16:18:07 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></p>
<p dir="auto"><code>wget https://raw.githubusercontent.com/glauth/glauth/e7195ed983715383bd5df1dc521f8c17d34d6a50/v2/sample-simple.cfg -O /tmp/ldap.cfg</code></p>
<p dir="auto">the releases section has precompiled bins here <a href="https://github.com/glauth/glauth/releases/" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/glauth/glauth/releases/</a></p>
<p dir="auto">if using docker<br />
<code>docker run -d --name glauth -p 389:3893 -v /tmp/ldap.cfg:/app/config/config.cfg glauth/glauth-plugins</code></p>
<p dir="auto">inside cloudron</p>
<pre><code>Provider: other
Server URL: ldap://127.0.0.1:389
BseDN: dc=glauth,dc=com
Filter: (objectClass=posixAccount)
Username Field: uid
Bind DN: serviceuser,dc=glauth,dc=com | cn=serviceuser,ou=svcaccts,dc=glauth,dc=com # either work
Bind Password: mysecret
</code></pre>
<p dir="auto">save and synchronize</p>
<p dir="auto">user accounts load into users section correctly. Logging into the accounts produces the following error in glauth:</p>
<pre><code>15:52:23.394913 findUser ▶ WARN 00c  "level"=2 "msg"="BindDN not part of our BaseDN"  "basedn"="dc=glauth,dc=com" "binddn"="johndoe"
</code></pre>
<p dir="auto">pcap:</p>
<pre><code>15:52:23.394496 IP localhost.60316 &gt; localhost.ldap: Flags [P.], seq 1:28, ack 1, win 512, options [nop,nop,TS val 293
1810893 ecr 2931810893], length 27
0x0000:  4500 004f 6b42 4000 4006 d164 7f00 0001  E..OkB@.@..d....
0x0010:  7f00 0001 eb9c 0185 6c39 a418 9a16 2259  ........l9...."Y
0x0020:  8018 0200 fe43 0000 0101 080a aebf e24d  .....C.........M
0x0030:  aebf e24d 3019 0201 0160 1402 0103 0407  ...M0....`......
0x0040:  6a6f 686e 646f 6580 0664 6f67 6f6f 64    johndoe..dogood
</code></pre>
<p dir="auto"><code>ldapsearch -LLL -H ldap://localhost:389 -D serviceuser,dc=glauth,dc=com -w mysecret -x -bdc=glauth,dc=com</code><br />
succeeds</p>
<p dir="auto"><code>ldapsearch -LLL -H ldap://localhost:389 -D serviceuser -w mysecret -x -bdc=glauth,dc=com</code><br />
ldap_bind: Invalid credentials (49)</p>
<p dir="auto"><code>ldapsearch -LLL -H ldap://localhost:3893 -D johndoe,dc=glauth,dc=com -w dogood -x -bdc=glauth,dc=com '(objectClass=posixAccount)'</code><br />
succeeds if I add</p>
<pre><code>&lsqb;&lsqb;users.capabilities&rsqb;&rsqb;
    action = "search"
    object = "*"
</code></pre>
<p dir="auto">but I still get</p>
<p dir="auto"><code>ldapsearch -LLL -H ldap://localhost:389 -D johndoe -w dogood -x -bdc=glauth,dc=com '(objectClass=posixAccount)'</code><br />
ldap_bind: Invalid credentials (49)</p>
<p dir="auto">What Im looking at is potentially adding an External Directory Provider that simply appends "dc=glauth,dc=com" to the result of the search prior to the bind.</p>
<p dir="auto">ie: <strong>johndoe@dc=glauth,dc=com</strong> or <strong><a href="mailto:johndoe@glauth.com" target="_blank" rel="noopener noreferrer nofollow ugc">johndoe@glauth.com</a></strong> rather than just <strong>johndoe</strong></p>
]]></description><link>https://forum.cloudron.io/post/55915</link><guid isPermaLink="true">https://forum.cloudron.io/post/55915</guid><dc:creator><![CDATA[prusaman]]></dc:creator><pubDate>Fri, 11 Nov 2022 16:18:07 GMT</pubDate></item><item><title><![CDATA[Reply to glauth ldap backend on Thu, 10 Nov 2022 21:18:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/prusaman" aria-label="Profile: prusaman">@<bdi>prusaman</bdi></a> what is the dn of user's in glauth? The externalldap logic first tries to locate a user with the filter <code>username=&lt;username&gt;</code>. Then, it will authenticate using the dn from the previous search.</p>
<p dir="auto">The baseDN is only used for searching and not for auth.</p>
]]></description><link>https://forum.cloudron.io/post/55859</link><guid isPermaLink="true">https://forum.cloudron.io/post/55859</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Thu, 10 Nov 2022 21:18:57 GMT</pubDate></item><item><title><![CDATA[Reply to glauth ldap backend on Thu, 10 Nov 2022 20:58:45 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> because I have such a low user count currently, I think I should be OK with my pagination workaround.</p>
<p dir="auto">However, Im having a bit of a time trying to get the LDAP authentication to succeed. It works for the user I specify as the BindDN/username portion of the Connect to External Directory when this user is in the form of <strong>user@domain.tld</strong>. The search succeeds and returns the user account for testing authentication but the subsequent bind to validate authentication fails as I cannot specify <strong>user@domain.tld</strong> but instead it attempts to authenticate as just <strong>user</strong>.</p>
<p dir="auto">On the glauth side it fails as its looking for the the BindDN to contain the BaseDN string. Is the BaseDN field in the LDAP authentication getting applied because it appears it is not when looking at <code>/home/yellowtent/box/src/externalldap.js</code>.</p>
<p dir="auto">Is there anyway to append the BaseDn to the BindDn in these cases?</p>
]]></description><link>https://forum.cloudron.io/post/55857</link><guid isPermaLink="true">https://forum.cloudron.io/post/55857</guid><dc:creator><![CDATA[prusaman]]></dc:creator><pubDate>Thu, 10 Nov 2022 20:58:45 GMT</pubDate></item><item><title><![CDATA[Reply to glauth ldap backend on Thu, 10 Nov 2022 13:43:39 GMT]]></title><description><![CDATA[<p dir="auto">Yeah, we haven't tested it against glauth. Looks like it may not support pagination from my reading of the logs. Maybe you can open a feature request to support this because without testing it's hard to tell what issues one might face.</p>
]]></description><link>https://forum.cloudron.io/post/55810</link><guid isPermaLink="true">https://forum.cloudron.io/post/55810</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Thu, 10 Nov 2022 13:43:39 GMT</pubDate></item><item><title><![CDATA[Reply to glauth ldap backend on Wed, 09 Nov 2022 19:57:11 GMT]]></title><description><![CDATA[<p dir="auto">The users are synchronizing but authentication is failing and Im not sure why, but I guess its a step in the right direction</p>
]]></description><link>https://forum.cloudron.io/post/55765</link><guid isPermaLink="true">https://forum.cloudron.io/post/55765</guid><dc:creator><![CDATA[prusaman]]></dc:creator><pubDate>Wed, 09 Nov 2022 19:57:11 GMT</pubDate></item><item><title><![CDATA[Reply to glauth ldap backend on Wed, 09 Nov 2022 19:49:43 GMT]]></title><description><![CDATA[<p dir="auto">Ignore me. Modifying the following lines in <code>/home/yellowtent/box/src/externalldap.js</code>:</p>
<p dir="auto">138:  paged: <s>true</s>false,<br />
157:  paged: <s>true</s>false,<br />
178:  paged: <s>true</s>false,</p>
<p dir="auto">This produced the results Im looking for. I think ....</p>
]]></description><link>https://forum.cloudron.io/post/55764</link><guid isPermaLink="true">https://forum.cloudron.io/post/55764</guid><dc:creator><![CDATA[prusaman]]></dc:creator><pubDate>Wed, 09 Nov 2022 19:49:43 GMT</pubDate></item></channel></rss>