Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Jan 1998 09:56:51 -0800 (PST)
From:      Andreas Klemm <andreas@FreeBSD.ORG>
To:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-ports@FreeBSD.ORG
Subject:   cvs commit: ports/databases/postgresql/patches patch-ai
Message-ID:  <199801311756.JAA00729@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
andreas     1998/01/31 09:56:50 PST

  Added files:
    databases/postgresql/patches patch-ai 
  Log:
  From the author of the patch:
  
  "Problem: when using the password USERAUTH in pg_hba.conf, the backend
   does not 'recognize' your password from the configured file.
  
   This is caused by postgresql-6.2/src/backend/libpq/password.c not using
   the correct salt (length) in crypt()'ing the plain text password which
   in turn results in a failing comparison.
  
   Problem:  the pg_passwd utility complains about incorrect length.
   It assumes a length of 13. The max length from <pwd.h> is 128.
  
   The original code will probably work fine in an DES environment.
   If time allows it, please review the following patches for both DES/MD5,
   and correct me where wrong (very likely;-) :"
  
  Please test folks, if it works for you well, then I will close the PR.
  
  PR:	4808
  Submitted by:	Jeroen Hogeveen <albast@xs4all.nl>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801311756.JAA00729>