
postgresql.conf. --------------------------------------------------------------------------- Here's an updated version of the patch, with the following changes: 1) No longer uses "service name" as "application version". It's instead hardcoded as "postgres". It could be argued that this part should be backpatched to 8.0, but it doesn't make a big difference until you can start changing it with GUC / connection parameters. This change only affects kerberos 5, not 4. 2) Now downcases kerberos usernames when the client is running on win32. 3) Adds guc option for "krb_caseins_users" to make the server ignore case mismatch which is required by some KDCs such as Active Directory. Off by default, per discussion with Tom. This change only affects kerberos 5, not 4. 4) Updated so it doesn't conflict with the rendevouz/bonjour patch already in ;-) Magnus Hagander
34 lines
979 B
C
34 lines
979 B
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* auth.h
|
|
* Definitions for network authentication routines
|
|
*
|
|
*
|
|
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
*
|
|
* $PostgreSQL: pgsql/src/include/libpq/auth.h,v 1.27 2005/06/04 20:42:42 momjian Exp $
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
#ifndef AUTH_H
|
|
#define AUTH_H
|
|
|
|
#include "libpq/libpq-be.h"
|
|
|
|
/*----------------------------------------------------------------
|
|
* Common routines and definitions
|
|
*----------------------------------------------------------------
|
|
*/
|
|
|
|
extern void ClientAuthentication(Port *port);
|
|
|
|
#define PG_KRB4_VERSION "PGVER4.1" /* at most KRB_SENDAUTH_VLEN chars */
|
|
#define PG_KRB5_VERSION "PGVER5.1"
|
|
|
|
extern char *pg_krb_server_keyfile;
|
|
extern char *pg_krb_srvnam;
|
|
extern bool pg_krb_caseins_users;
|
|
|
|
#endif /* AUTH_H */
|