<?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[Problem with setting up LDAP in ProGet]]></title><description><![CDATA[<p dir="auto">Hi there,</p>
<p dir="auto">I followed the documentation here:</p>
<p dir="auto"><a href="https://docs.inedo.com/docs/installation/security-ldap-active-directory/various-ldap-openldap" rel="nofollow">https://docs.inedo.com/docs/installation/security-ldap-active-directory/various-ldap-openldap</a></p>
<p dir="auto">Unfortunately, I have not been able to get the connection working so far.</p>
<p dir="auto">The LDAP test dialog looks like this:</p>
<p dir="auto"><img src="/assets/uploads/files/1779114116501-a3cd4474-e815-46a3-85fb-ea7239590c1b-image.png" alt="a3cd4474-e815-46a3-85fb-ea7239590c1b-image.png" class="img-responsive img-markdown" /></p>
<p dir="auto">From what I can tell, it seems to fail somewhere around this code path:</p>
<p dir="auto"><a href="https://github.com/Inedo/inedox-inedocore/blob/master/InedoCore/InedoExtension/UserDirectories/Clients/NovellLdapClient.cs#L33" rel="nofollow">https://github.com/Inedo/inedox-inedocore/blob/master/InedoCore/InedoExtension/UserDirectories/Clients/NovellLdapClient.cs#L33</a></p>
<p dir="auto">The container logs only show the following:</p>
<pre><code class="language-plain">2026-05-18T14:20:14.414550674Z Begin LDAP Get Search Results
2026-05-18T14:20:14.448461026Z LdapReferralException
2026-05-18T14:20:14.448488541Z LdapReferralException
2026-05-18T14:20:14.448603052Z LdapReferralException
2026-05-18T14:20:14.448612606Z End LDAP Get Search Results
</code></pre>
<p dir="auto">The main problem is that the logs do not contain the actual exception message or stack trace. They only show <code>LdapReferralException</code>, so it is difficult to understand what exactly is going wrong or how to fix the LDAP configuration.</p>
<p dir="auto">I have a few questions:</p>
<ol>
<li><strong>Where should ProGet container logs be written?</strong><br />
The container has a mounted volume at:</li>
</ol>
<pre><code class="language-plain">/var/proget/logs
</code></pre>
<p dir="auto">However, this directory is empty. Is this expected behavior for the container image, or should ProGet write log files there?</p>
<ol start="2">
<li>
<p dir="auto"><strong>How can I increase the log level?</strong><br />
I found this forum thread:</p>
<p dir="auto"><a href="https://forums.inedo.com/topic/3060/defining-log-level/4?_=1779106499495">https://forums.inedo.com/topic/3060/defining-log-level/4?_=1779106499495</a></p>
<p dir="auto">But I was not able to get more detailed LDAP error output.</p>
</li>
<li>
<p dir="auto"><strong>Why is the Administration Logs page empty?</strong><br />
I also checked:</p>
</li>
</ol>
<pre><code class="language-plain">https://some-proget-url/administration/logs
</code></pre>
<p dir="auto">but that page is empty as well. Should LDAP test errors appear there, or are they only written to container stdout/stderr?</p>
<ol start="4">
<li>
<p dir="auto"><strong>How can I troubleshoot the LDAP/AD connection further?</strong><br />
Since the current output only shows <code>LdapReferralException</code>, I’m not sure whether this is caused by:</p>
<ul>
<li>LDAP referrals not being followed,</li>
<li>an incorrect base DN,</li>
<li>domain controller behavior,</li>
<li>missing bind permissions,</li>
<li>TLS/LDAPS issues,</li>
<li>or something else.</li>
</ul>
<p dir="auto">Is there a recommended way to get the full LDAP exception message and stack trace from ProGet?</p>
</li>
<li>
<p dir="auto"><strong>How should ProGet logs be forwarded to Grafana/Loki?</strong><br />
Since ProGet would be a central part of our infrastructure, we would like to monitor it properly, including:</p>
<ul>
<li>application errors,</li>
<li>authentication/authorization failures,</li>
<li>LDAP/AD issues,</li>
<li>package publishing/deletion events,</li>
<li>audit-relevant events,</li>
<li>alerting on failures.</li>
</ul>
<p dir="auto">What is the recommended approach for forwarding ProGet logs from the container to a central logging system such as <strong>Grafana Loki</strong>? Should this be done via container stdout, mounted log files, a logging driver, or another supported mechanism?</p>
</li>
</ol>
<p dir="auto">Thanks in advance for any help or pointers.</p>
]]></description><link>https://forums.inedo.com/topic/5753/problem-with-setting-up-ldap-in-proget</link><generator>RSS for Node</generator><lastBuildDate>Tue, 19 May 2026 05:24:02 GMT</lastBuildDate><atom:link href="https://forums.inedo.com/topic/5753.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 18 May 2026 14:37:12 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Problem with setting up LDAP in ProGet on Mon, 18 May 2026 14:37:12 GMT]]></title><description><![CDATA[<p dir="auto">Hi there,</p>
<p dir="auto">I followed the documentation here:</p>
<p dir="auto"><a href="https://docs.inedo.com/docs/installation/security-ldap-active-directory/various-ldap-openldap" rel="nofollow">https://docs.inedo.com/docs/installation/security-ldap-active-directory/various-ldap-openldap</a></p>
<p dir="auto">Unfortunately, I have not been able to get the connection working so far.</p>
<p dir="auto">The LDAP test dialog looks like this:</p>
<p dir="auto"><img src="/assets/uploads/files/1779114116501-a3cd4474-e815-46a3-85fb-ea7239590c1b-image.png" alt="a3cd4474-e815-46a3-85fb-ea7239590c1b-image.png" class="img-responsive img-markdown" /></p>
<p dir="auto">From what I can tell, it seems to fail somewhere around this code path:</p>
<p dir="auto"><a href="https://github.com/Inedo/inedox-inedocore/blob/master/InedoCore/InedoExtension/UserDirectories/Clients/NovellLdapClient.cs#L33" rel="nofollow">https://github.com/Inedo/inedox-inedocore/blob/master/InedoCore/InedoExtension/UserDirectories/Clients/NovellLdapClient.cs#L33</a></p>
<p dir="auto">The container logs only show the following:</p>
<pre><code class="language-plain">2026-05-18T14:20:14.414550674Z Begin LDAP Get Search Results
2026-05-18T14:20:14.448461026Z LdapReferralException
2026-05-18T14:20:14.448488541Z LdapReferralException
2026-05-18T14:20:14.448603052Z LdapReferralException
2026-05-18T14:20:14.448612606Z End LDAP Get Search Results
</code></pre>
<p dir="auto">The main problem is that the logs do not contain the actual exception message or stack trace. They only show <code>LdapReferralException</code>, so it is difficult to understand what exactly is going wrong or how to fix the LDAP configuration.</p>
<p dir="auto">I have a few questions:</p>
<ol>
<li><strong>Where should ProGet container logs be written?</strong><br />
The container has a mounted volume at:</li>
</ol>
<pre><code class="language-plain">/var/proget/logs
</code></pre>
<p dir="auto">However, this directory is empty. Is this expected behavior for the container image, or should ProGet write log files there?</p>
<ol start="2">
<li>
<p dir="auto"><strong>How can I increase the log level?</strong><br />
I found this forum thread:</p>
<p dir="auto"><a href="https://forums.inedo.com/topic/3060/defining-log-level/4?_=1779106499495">https://forums.inedo.com/topic/3060/defining-log-level/4?_=1779106499495</a></p>
<p dir="auto">But I was not able to get more detailed LDAP error output.</p>
</li>
<li>
<p dir="auto"><strong>Why is the Administration Logs page empty?</strong><br />
I also checked:</p>
</li>
</ol>
<pre><code class="language-plain">https://some-proget-url/administration/logs
</code></pre>
<p dir="auto">but that page is empty as well. Should LDAP test errors appear there, or are they only written to container stdout/stderr?</p>
<ol start="4">
<li>
<p dir="auto"><strong>How can I troubleshoot the LDAP/AD connection further?</strong><br />
Since the current output only shows <code>LdapReferralException</code>, I’m not sure whether this is caused by:</p>
<ul>
<li>LDAP referrals not being followed,</li>
<li>an incorrect base DN,</li>
<li>domain controller behavior,</li>
<li>missing bind permissions,</li>
<li>TLS/LDAPS issues,</li>
<li>or something else.</li>
</ul>
<p dir="auto">Is there a recommended way to get the full LDAP exception message and stack trace from ProGet?</p>
</li>
<li>
<p dir="auto"><strong>How should ProGet logs be forwarded to Grafana/Loki?</strong><br />
Since ProGet would be a central part of our infrastructure, we would like to monitor it properly, including:</p>
<ul>
<li>application errors,</li>
<li>authentication/authorization failures,</li>
<li>LDAP/AD issues,</li>
<li>package publishing/deletion events,</li>
<li>audit-relevant events,</li>
<li>alerting on failures.</li>
</ul>
<p dir="auto">What is the recommended approach for forwarding ProGet logs from the container to a central logging system such as <strong>Grafana Loki</strong>? Should this be done via container stdout, mounted log files, a logging driver, or another supported mechanism?</p>
</li>
</ol>
<p dir="auto">Thanks in advance for any help or pointers.</p>
]]></description><link>https://forums.inedo.com/post/19677</link><guid isPermaLink="true">https://forums.inedo.com/post/19677</guid><dc:creator><![CDATA[pg_user_8607]]></dc:creator><pubDate>Mon, 18 May 2026 14:37:12 GMT</pubDate></item><item><title><![CDATA[Reply to Problem with setting up LDAP in ProGet on Mon, 18 May 2026 15:59:30 GMT]]></title><description><![CDATA[<p dir="auto">Regarding <strong>How should ProGet logs be forwarded to Grafana/Loki?</strong> one way would be to forward the docker logs to Loki. But the layout of the log lines is not consistent. It looks like there are different loggers writing the stdout in different formats.</p>
]]></description><link>https://forums.inedo.com/post/19679</link><guid isPermaLink="true">https://forums.inedo.com/post/19679</guid><dc:creator><![CDATA[pg_user_8607]]></dc:creator><pubDate>Mon, 18 May 2026 15:59:30 GMT</pubDate></item><item><title><![CDATA[Reply to Problem with setting up LDAP in ProGet on Mon, 18 May 2026 16:46:32 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="https://forums.inedo.com/uid/3911">@pg_user_8607</a> ,</p>
<p dir="auto">Unfortunately, the only information we receive from the underlying library is <code>LdapReferralException</code>, so there's nothing else we can log. My understand is that the server is limiting the information and you ought to see more information from the LDAP/AD server's query logs (they are like HTTP access logs). That's the absolute best place to look.</p>
<p dir="auto">In our experience, a referral typically means the domain name is incorrect (e.g. <a href="mailto:user@domain.com" rel="nofollow">user@domain.com</a> instead of user@domain.local), but it could be any of the things you mentioned to. Unfortunately, LDAP/AD configuration can be a pain in rare cases (which it sounds like you are), and there's just no way around that.</p>
<p dir="auto">As for monitoring, here is what we recommend:</p>
<ul>
<li>periodic monitoring of the <code>/health</code>  endpoint (every 5 minutes)</li>
<li>(optional) HTTP access logs (retain for 7 days)</li>
</ul>
<p dir="auto">There's nothing required beyond that. Those "container logs" (i.e. proget console output) that you see are primarily intended for us (product engineers) to troubleshoot problems and there's not much value in trying to use/storing them.</p>
<p dir="auto">For a tool like ProGet, trying to do extract/monitor detailed metrics is counter productive and leads to information overload. Many "errors" are not problems are a total waste of everyone's time to troubleshoot.</p>
<p dir="auto">For auditing, ProGet maintains internal audit logs (you can query them from the database if you really want to "export" them), or you can use webhooks if you want to publish events. But again, we don't think that's productive; they just become a "secondary log" that no one looks because it's harder to query than ProGet database.</p>
<p dir="auto">For authentication-related information, a combination of HTTP log monitoring (403 errors) and LDAP/AD server is the best thing to check.</p>
<p dir="auto">Cheers,<br />
Steve</p>
]]></description><link>https://forums.inedo.com/post/19681</link><guid isPermaLink="true">https://forums.inedo.com/post/19681</guid><dc:creator><![CDATA[stevedennis]]></dc:creator><pubDate>Mon, 18 May 2026 16:46:32 GMT</pubDate></item></channel></rss>