mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-13 01:47:05 +08:00
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.)
This commit is contained in:
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Reference in New Issue
Block a user