mirror of
https://github.com/postgres/postgres.git
synced 2025-11-04 20:11:56 +03:00
Authentication improvements:
A new pg_hba.conf column, USER Allow specifiction of lists of users separated by commas Allow group names specified by + Allow include files containing lists of users specified by @ Allow lists of databases, and database files Allow samegroup in database column to match group name matching dbname Removal of secondary password files Remove pg_passwd utility Lots of code cleanup in user.c and hba.c New data/global/pg_pwd format New data/global/pg_group file
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: crypt.h,v 1.19 2001/11/12 01:52:46 momjian Exp $
|
||||
* $Id: crypt.h,v 1.20 2002/04/04 04:25:53 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -15,8 +15,6 @@
|
||||
|
||||
#include "libpq/libpq-be.h"
|
||||
|
||||
#define CRYPT_PWD_FILE_SEPSTR "\t"
|
||||
|
||||
/* Also defined in interfaces/odbc/md5.h */
|
||||
#define MD5_PASSWD_LEN 35
|
||||
|
||||
@@ -24,9 +22,6 @@
|
||||
strlen(passwd) == MD5_PASSWD_LEN)
|
||||
|
||||
|
||||
extern char *crypt_getpwdfilename(void);
|
||||
extern void load_password_cache(void);
|
||||
|
||||
extern int md5_crypt_verify(const Port *port, const char *user,
|
||||
const char *pgpass);
|
||||
extern bool md5_hash(const void *buff, size_t len, char *hexsum);
|
||||
|
||||
Reference in New Issue
Block a user