aboutsummaryrefslogtreecommitdiff
path: root/src/backend/libpq/auth.c
Commit message (Collapse)AuthorAge
...
* Major code cleanup following the pg_password insertion...Marc G. Fournier1997-12-09
| | | | | ...malloc/free -> palloc/pfree ...fopen/fclose -> AllocateFile/FreeFile
* From: todd brandys <brandys@eng3.hep.uiuc.edu>Marc G. Fournier1997-12-04
| | | | | An extension to the code to allow for a pg_password authentication database that is *seperate* from the system password file
* Fix compiler complaints about mismatched pointer args using coersions.Thomas G. Lockhart1997-11-17
|
* Used modified version of indent that understands over 100 typedefs.Bruce Momjian1997-09-08
|
* Another PGINDENT run that changes variable indenting and case label ↵Bruce Momjian1997-09-08
| | | | indenting. Also static variable indenting.
* Massive commit to run PGINDENT on all *.c and *.h files.Bruce Momjian1997-09-07
|
* Make functions static where possible, enclose unused functions in #ifdef ↵Bruce Momjian1997-08-19
| | | | NOT_USED.
* Remove more (void) and fix -Wall warnings.Bruce Momjian1997-08-12
|
* Fix pgproc names over 15 chars in output. Add strNcpy() function. remove ↵Bruce Momjian1997-08-12
| | | | some (void) casts that are unnecessary.
* I don't know whether this breaks what the previous person tried toMarc G. Fournier1997-03-25
| | | | | | fix, but figure I"ll know soon enough, eh? Patch submitted by Dan McGuirk
* From: Jun Kuwamura <juk@rccm.co.jp>Marc G. Fournier1997-03-18
| | | | | | | | Subject: [HACKERS] auth.c for kerberos. I made pgsql with eBones(international version of Kerberos4). The following modification was needed. And I added read permition for group to srvtab instead of running postmaster as root.
* From: Dan McGuirk <mcguirk@indirect.com>Marc G. Fournier1997-03-12
| | | | | | | | | | | | | | | | | | | | | | Subject: [HACKERS] password authentication This patch adds support for plaintext password authentication. To use it, you add a line like host all 0.0.0.0 0.0.0.0 password pg_pwd.conf to your pg_hba.conf, where 'pg_pwd.conf' is the name of a file containing the usernames and password hashes in the format of the first two fields of a Unix /etc/passwd file. (Of course, you can use a specific database name or IP instead.) Then, to connect with a password through libpq, you use the PQconnectdb() function, specifying the "password=" tag in the connect string and also adding the tag "authtype=password". I also added a command-line switch '-u' to psql that tells it to prompt for a username and password and use password authentication.
* Add #include <sys/types.h> so it works with Ultrix's in.hBryan Henderson1996-11-16
|
* I'm getting there, slowly :)Marc G. Fournier1996-11-06
|
* Some compile failure fixes from Keith Parks <emkxp01@mtcc.demon.co.uk>Marc G. Fournier1996-11-06
|
* clean up makefileMarc G. Fournier1996-10-31
| | | | add #include "postgres.h"
* Added consistent include file handling for MAXHOSTNAMELEN.Bruce Momjian1996-10-13
| | | | | If I have introduced any syntax errors with this, I will patch them in the morning, and Marc will have a good laugh.
* New host-based authentication with identBryan Henderson1996-10-12
|
* The following patch makes postmaster -D work. -D specifies a different PGDATAMarc G. Fournier1996-08-14
| | | | | | | | | | | directory. The code that looks for the pg_hba file doesn't use it, though, so the postmaster uses the wrong pg_hba file. Also, when the postmaster looks in one directory and the user thinks it is looking in another directory, the error messages don't give enough information to solve the problem. I extended the error message for this. Submitted by: Bryan Henderson <bryanh@giraffe.netgate.net>
* Postgres95 1.01 Distribution - Virgin SourcesPG95-1_01Marc G. Fournier1996-07-09