[Qgis-user] QGIS for Windows with GSS/Kerberos/Active Directory

Tomas Pospisek tpo2 at sourcepole.ch
Fri Feb 3 07:41:28 PST 2023


When I try to set up a connection to a Postgres/Postgis DB server with 
Active Directory/Kerberos/GSS authentication the QGIS DB setup dialog 
displays this message:

     gssencmode value "require" invalid when GSSAPI support is not 
compiled in

When I check the Postgres source code [1] I see that apparently this 
gets displayed when GSS support is not compiled in.

So it seems QGIS as shipped by qgis.org does not ship with GSS support? 
Is that correct?

Does anybody use QGIS on Windows with GSS? How did you do it?

I could go ahead and download the EDB Postgres ZIP [3] and exctract 
libpq.dll from it and replace the libqq.dll shipped by the QGIS 
installer with it, but I'm not sure if that would work at all, if that 
would be robust and it'll certainly be a pain to maintain.

Any pointers/suggestions/help?
*t

[1] https://doxygen.postgresql.org/fe-connect_8c_source.html#l01357
[2] https://qgis.org/de/site/forusers/download.html#windows
[3] https://www.enterprisedb.com/downloads/postgres-postgresql-downloads


More information about the QGIS-User mailing list