Created attachment 31861 [details] Add AuthDBDFullAuthQuery to mod_authn_dbd.c I'm using this to extend mod_authn_dbd for novel auth queries that don't fit in to the pattern of - fetch password and compare to provided password. In particular, cases where you need to compare to an encoded password, especially passwords encoded with non-standard means (like base64 + sha2 with mysql which turns out to be a complicated query). AuthDBDFullAuthQuery lets you provide a full query that will take two parameters, a username and a password and will let the query do the authentication work.