<div dir="ltr"><div dir="ltr">Tomas and list,<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Feb 3, 2023 at 9:25 AM Tomas Pospisek via QGIS-User <<a href="mailto:qgis-user@lists.osgeo.org">qgis-user@lists.osgeo.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 03.02.23 18:02, chris hermansen wrote:<br>
> Tomas and list,<br>
> <br>
> On Fri, Feb 3, 2023 at 8:11 AM Tomas Pospisek via QGIS-User <br>
> <<a href="mailto:qgis-user@lists.osgeo.org" target="_blank">qgis-user@lists.osgeo.org</a> <mailto:<a href="mailto:qgis-user@lists.osgeo.org" target="_blank">qgis-user@lists.osgeo.org</a>>> wrote:<br>
> <br>
>     When I try to set up a connection to a Postgres/Postgis DB server with<br>
>     Active Directory/Kerberos/GSS authentication the QGIS DB setup dialog<br>
>     displays this message:<br>
> <br>
>           gssencmode value "require" invalid when GSSAPI support is not<br>
>     compiled in<br>
> <br>
>     When I check the Postgres source code [1] I see that apparently this<br>
>     gets displayed when GSS support is not compiled in.<br>
> <br>
>     So it seems QGIS as shipped by <a href="http://qgis.org" rel="noreferrer" target="_blank">qgis.org</a> <<a href="http://qgis.org" rel="noreferrer" target="_blank">http://qgis.org</a>> does not<br>
>     ship with GSS support?<br>
>     Is that correct?<br>
> <br>
>     Does anybody use QGIS on Windows with GSS? How did you do it?<br>
> <br>
>     I could go ahead and download the EDB Postgres ZIP [3] and exctract<br>
>     libpq.dll from it and replace the libqq.dll shipped by the QGIS<br>
>     installer with it, but I'm not sure if that would work at all, if that<br>
>     would be robust and it'll certainly be a pain to maintain.<br>
> <br>
>     Any pointers/suggestions/help?<br>
> <br>
> <br>
> Maybe this is the proverbial dumb question... but why not install your <br>
> EDB PostgreSQL on your windows machine and run it on a different port?  <br>
> And then connect to it from your QGIS instance, on that different port <br>
> of course?<br>
<br>
Thanks for your answer Chris, but I can't see how you your reply relates <br>
to my question. I need QGIS to authenticate users with Active <br>
Directory/Kerberos. That QGIS/libpq fails to do so doesn't have anything <br>
to do with ports but with the fact that GSS support is not compiled into <br>
the libpq that is furnished with QGIS.<br><br></blockquote><div><br></div><div>Sorry I was somehow thinking that by using a different PostgreSQL installation "in its entirety" you could avoid using the libqq.dll (or is it libpq.dll) that QGIS installs.  I guess I'm too used to (spoiled by?) apt based installations on Linux where applications tend to use what's in the distro's repositories for this kind of stuff.</div><div><br></div><div>My apologies for contributing nothing useful to the solution of your problem.<br></div></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Chris Hermansen · clhermansen "at" gmail "dot" com<br><br>C'est ma façon de parler.</div></div></div>