mirror of
https://github.com/postgres/postgres.git
synced 2026-03-01 12:50:55 -05:00
krb_srvname is actually not available anymore as a parameter server-side, since with gssapi we accept all principals in our keytab. It's still used in libpq for client side specification. In passing remove declaration of krb_server_hostname, where all the functionality was already removed. Noted by Stephen Frost, though a different solution than his suggestion
29 lines
838 B
C
29 lines
838 B
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* auth.h
|
|
* Definitions for network authentication routines
|
|
*
|
|
*
|
|
* Portions Copyright (c) 1996-2014, PostgreSQL Global Development Group
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
*
|
|
* src/include/libpq/auth.h
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
#ifndef AUTH_H
|
|
#define AUTH_H
|
|
|
|
#include "libpq/libpq-be.h"
|
|
|
|
extern char *pg_krb_server_keyfile;
|
|
extern bool pg_krb_caseins_users;
|
|
extern char *pg_krb_realm;
|
|
|
|
extern void ClientAuthentication(Port *port);
|
|
|
|
/* Hook for plugins to get control in ClientAuthentication() */
|
|
typedef void (*ClientAuthentication_hook_type) (Port *, int);
|
|
extern PGDLLIMPORT ClientAuthentication_hook_type ClientAuthentication_hook;
|
|
|
|
#endif /* AUTH_H */
|