]> git.ipfire.org Git - thirdparty/postgresql.git/commit
PAM authentication:
authorBruce Momjian <bruce@momjian.us>
Thu, 6 Sep 2001 03:23:38 +0000 (03:23 +0000)
committerBruce Momjian <bruce@momjian.us>
Thu, 6 Sep 2001 03:23:38 +0000 (03:23 +0000)
commit04c1f729202b00cf053535587820cd913dbddfc1
tree3afd9375fb29892a03e9688f05fd9e966501d13f
parent2a34134b6c5a46d8f905a82af51c55a7ec91ecac
PAM authentication:

> pam_strerror() should be used a few more times, rather than just saying
> "Error!".  Also, the configure.in snippet seems wrong.  You add
> -I$pam_prefix/include/security to $INCLUDES and then you #include
> <security/pam_appl.h>.  This whole thing is probably unnecessary, since
> PAM is a system library on the systems where it exists, so the headers
> and libraries are found automatically, unlike OpenSSL and
> Kerberos.

See attached revised patch. (I'm sure the configure.in stuff can be done
right/better, I'm just not enough of a autoconf guru to know what to
change it to.)

Dominic J. Eidson
configure.in
doc/src/sgml/client-auth.sgml
src/backend/libpq/auth.c
src/backend/libpq/hba.c
src/backend/libpq/pg_hba.conf.sample
src/include/libpq/hba.h
src/include/pg_config.h.in