Re: Add a hook to allow modification of the ldapbindpasswd
От | Andrew Dunstan |
---|---|
Тема | Re: Add a hook to allow modification of the ldapbindpasswd |
Дата | |
Msg-id | 9f03c88b-3f7f-d9b7-c61c-dfc63a4deffd@dunslane.net обсуждение исходный текст |
Ответ на | Re: Add a hook to allow modification of the ldapbindpasswd (Andrew Dunstan <andrew@dunslane.net>) |
Список | pgsql-hackers |
On 2023-03-15 We 18:18, Andrew Dunstan wrote:
On 2023-03-15 We 17:50, Tom Lane wrote:Andrew Dunstan <andrew@dunslane.net> writes:pushed.drongo is not happy with this, but I'm kind of baffled as to why: "c:\\prog\\bf\\root\\HEAD\\pgsql.build\\pgsql.sln" (default target) (1) -> "c:\\prog\\bf\\root\\HEAD\\pgsql.build\\ldap_password_func.vcxproj" (default target) (60) -> (Link target) -> ldap_password_func.obj : error LNK2001: unresolved external symbol __imp_ldap_password_hook [c:\\prog\\bf\\root\\HEAD\\pgsql.build\\ldap_password_func.vcxproj] .\\Release\\ldap_password_func\\ldap_password_func.dll : fatal error LNK1120: 1 unresolved externals [c:\\prog\\bf\\root\\HEAD\\pgsql.build\\ldap_password_func.vcxproj] The only obvious explanation for a link problem would be if the variable's declaration were missing PGDLLIMPORT; but it's not.
Ugh. Not batting 1000 today. Will investigate.
The issue was apparently that I had neglected to suppress building the test module on MSVC if not configured to build with LDAP, since the hook is only defined in that case. I have pushed a fix for that and drongo is happy once more.
cheers
andrew
-- Andrew Dunstan EDB: https://www.enterprisedb.com
В списке pgsql-hackers по дате отправления: