Peter Eisentraut
Peter Eisentraut
Take a look at the SCRAM patch, which is the most recent instance of a new authentication method being added. Also study the PAM code, the way it runs authentication...
The Kerberos test suite in the PostgreSQL source tree (`src/test/kerberos/`) might give some ideas.
I'm not qualified to review this code in detail, but cleaning up these warnings is highly welcome.
What version of PgBouncer do you have and what DNS library is it compiled with? (`pgbouncer --version` might answer both of these questions.)
$ dpkg -s pgbouncer | grep Depends or $ ldd /usr/sbin/pgbouncer
The immediate problem is that `gai.conf` is a glibc file, but your pgbouncer build does not use glibc for address resolution. (It uses c-ares.) So if you rebuild pgbouncer appropriately,...
> bash: ./autogen.sh: /bin/sh^M: bad interpreter: No such file or directory This looks like you checked out the git repository with Windows-style line endings.