diff options
| author | Peter Eisentraut | 2000-07-04 16:32:01 +0000 |
|---|---|---|
| committer | Peter Eisentraut | 2000-07-04 16:32:01 +0000 |
| commit | 554e56e6280f380f1c55d487aa4b8ea75fa4daad (patch) | |
| tree | 770d0c47edcf9fa360ef98fde8a75b926803cfa3 /src/include | |
| parent | 1c2f735aa76f2e4bccb02de1cbc7fcc584a35e87 (diff) | |
Expand secondary password file feature, so that you can use these
files to restrict the set of users that can connect to a database
but can still use the pg_shadow password. (You just leave off the
password field in the secondary file.)
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/libpq/crypt.h | 2 | ||||
| -rw-r--r-- | src/include/libpq/password.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/include/libpq/crypt.h b/src/include/libpq/crypt.h index 7827b464081..c3f58ee1639 100644 --- a/src/include/libpq/crypt.h +++ b/src/include/libpq/crypt.h @@ -26,6 +26,6 @@ extern char *crypt_getpwdreloadfilename(void); extern MsgType crypt_salt(const char *user); #endif -extern int crypt_verify(Port *port, const char *user, const char *pgpass); +extern int crypt_verify(const Port *port, const char *user, const char *pgpass); #endif diff --git a/src/include/libpq/password.h b/src/include/libpq/password.h index 9c7421d8935..c704edeb345 100644 --- a/src/include/libpq/password.h +++ b/src/include/libpq/password.h @@ -1,6 +1,6 @@ #ifndef PASSWORD_H #define PASSWORD_H -int verify_password(char *auth_arg, char *user, char *password); +int verify_password(const Port *port, const char *user, const char *password); #endif |
