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
Showing
- configure.in 25 additions, 2 deletionsconfigure.in
- doc/src/sgml/client-auth.sgml 22 additions, 1 deletiondoc/src/sgml/client-auth.sgml
- src/backend/libpq/auth.c 224 additions, 9 deletionssrc/backend/libpq/auth.c
- src/backend/libpq/hba.c 5 additions, 2 deletionssrc/backend/libpq/hba.c
- src/backend/libpq/pg_hba.conf.sample 6 additions, 1 deletionsrc/backend/libpq/pg_hba.conf.sample
- src/include/libpq/hba.h 4 additions, 1 deletionsrc/include/libpq/hba.h
- src/include/pg_config.h.in 4 additions, 1 deletionsrc/include/pg_config.h.in
Loading
Please register or sign in to comment