summaryrefslogtreecommitdiff
path: root/src/backend/libpq/crypt.c
Commit message (Collapse)AuthorAgeFilesLines
* Back-patch password leak fix for Vaschenko.REL7_0_PATCHESTom Lane2001-02-071-1/+5
|
* Move some system includes into c.h, and remove duplicates.Bruce Momjian1999-07-171-4/+1
|
* Final cleanup.Bruce Momjian1999-07-161-3/+4
|
* Remove unused #includes in *.c files.Bruce Momjian1999-07-151-2/+1
|
* Clean up #include in /include directory. Add scripts for checking includes.Bruce Momjian1999-07-151-2/+1
|
* Cleanup of /include #include's, for 6.6 only.Bruce Momjian1999-07-141-1/+2
|
* Fix for crypt memory leak, from James ThompsonBruce Momjian1999-05-271-4/+4
|
* pgindent run over code.Bruce Momjian1999-05-251-38/+21
|
* Fix some miscellaneous places that were using raw open() orTom Lane1999-05-091-2/+2
| | | | fopen(), instead of going through fd.c ... naughty naughty.
* Change my-function-name-- to my_function_name, and optimizer renames.Bruce Momjian1999-02-131-2/+2
|
* Apply Win32 patch from Horak Daniel.Bruce Momjian1999-01-171-1/+5
|
* Many more cleanups...Marc G. Fournier1998-12-141-70/+56
|
* Remove un-needed braces around single statements.Bruce Momjian1998-06-151-2/+0
|
* pgindent run before 6.3 release, with Thomas' requested changes.Bruce Momjian1998-02-261-209/+260
|
* From: Jan Wieck <jwieck@debis.com>Marc G. Fournier1998-02-251-2/+2
| | | | | | | | | | seems that my last post didn't make it through. That's good since the diff itself didn't covered the renaming of pg_user.h to pg_shadow.h and it's new content. Here it's again. The complete regression test passwd with only some float diffs. createuser and destroyuser work. pg_shadow cannot be read by ordinary user.
* 1. "#ifdef 0" is bad C. ifdef is for checking a macro and 0 isMarc G. Fournier1998-02-011-1/+1
| | | | | | an illegal macro name. Correct syntax is "#if 0". This is in... From: Darren King <darrenk@insightdist.com>
* From: Phil Thompson <phil@river-bank.demon.co.uk>Marc G. Fournier1998-01-311-1/+1
| | | | | | | | | I haven't had final confirmation from Peter yet, but the attached patch needs to be applied for the Beta otherwise password and crypt authentication just won't work. It puts back the loop in libpq and also fixes a couple of problems with maintaining compatability with pre-6.3 drivers.
* From: Phil Thompson <phil@river-bank.demon.co.uk>Marc G. Fournier1998-01-261-4/+13
| | | | | | | | | | | | | | | | | | | I've completed the patch to fix the protocol and authentication issues I was discussing a couple of weeks ago. The particular changes are: - the protocol has a version number - network byte order is used throughout - the pg_hba.conf file is used to specify what method is used to authenticate a frontend (either password, ident, trust, reject, krb4 or krb5) - support for multiplexed backends is removed - appropriate changes to man pages - the -a switch to many programs to specify an authentication service no longer has any effect - the libpq.so version number has changed to 1.1 The new backend still supports the old protocol so old interfaces won't break.
* Slightly delayed patches from Todd...damn holidays :)Marc G. Fournier1997-12-301-53/+151
| | | | | | | | | | | | o A new patch that contains the following changes: -- The pg_pwd file is now cached in the postmaster's memory. -- pg_pwd is reloaded when the postmaster detects a flag file creat()'ed by a backend. -- qsort() is used to sort loaded password entries, and bsearch() is is used to find entries in the pg_pwd cache. -- backends now copy the pg_user relation to pg_pwd.pid, and then rename the temp file to be pg_pwd. -- The delimiter for pg_pwd has been changed to a tab character.
* Make password null on startup.Bruce Momjian1997-12-121-1/+2
|
* Remove PGDATA setting and use DataDir.Bruce Momjian1997-12-111-9/+2
|
* Major code cleanup following the pg_password insertion...Marc G. Fournier1997-12-091-20/+22
| | | | | ...malloc/free -> palloc/pfree ...fopen/fclose -> AllocateFile/FreeFile
* Add error check on getenv("DATADIR")Marc G. Fournier1997-12-071-1/+5
| | | | Add code to set DATADIR in postmaster.c if -D is used
* Missed a few files from Todd's patch...oops :)Marc G. Fournier1997-12-041-0/+182