postgresql/src/backend
Bruce Momjian 9cab13c42e I've been having also sorts of fun trying to get kerberos 4
authentifica
tion
working with postgresql-6.4.2 and  KTH-KRB Ebones
(http://www.pdc.kth.se/kth-kr
b) on a dec alpha running DU 4.0D using the native compiler. The
following
patch does the trick.

The rationale behind this is as follows. The KTH-KRB code header files
defines
lots of lengths like INST_SZ,REALM_SZ and KRB_SENDAUTH_VLEN. It also has
a
habit of doing things like

        chararray[LENGTH] = '\0'

to ensure null terminated strings. In my instance this just happens to
blat
the kerberos principal instance string leading to error like

        pg_krb4_recvauth: kerberos error: Can't decode authenticator
(krb_rd_req
)

The application code that comes with KTH-KRB uses "KRB_SENDAUTH_VLEN +
1" and
sometimes uses "INST_SZ + 1" so it seems safest to put that 1 char
buffer in
the appropriate place.


Rodney McDuff
1999-03-14 16:06:43 +00:00
..
access Enclosed below I have a patch to allow a btree index on the int8 type. 1999-03-14 05:09:05 +00:00
bootstrap
catalog Clean up error messages. 1999-02-23 07:54:03 +00:00
commands Hello, 1999-03-14 05:23:12 +00:00
executor We have to return dummy tuple for empty targetlist! 1999-03-10 12:16:09 +00:00
lib
libpq I've been having also sorts of fun trying to get kerberos 4 1999-03-14 16:06:43 +00:00
main
nodes Partial fix for copied-plan bugs reported by Hiroshi Inoue: 1999-03-03 00:02:42 +00:00
optimizer Fix OR index selectivity problem. 1999-03-08 14:01:57 +00:00
parser I have a problem with Access97 not working properly when entering new 1999-03-14 05:15:08 +00:00
port We have tested the patches on three platforms: 1999-03-14 16:03:33 +00:00
postmaster
regex
rewrite Final optimizer cleanups. 1999-02-22 05:26:58 +00:00
storage We have tested the patches on three platforms: 1999-03-14 16:03:33 +00:00
tcop Remove reference to recipe.h. 1999-02-25 17:25:47 +00:00
tioga
utils We have tested the patches on three platforms: 1999-03-14 16:03:33 +00:00
Makefile Export include/utils/mcxt.h so that external stuff can include 1999-03-07 23:05:57 +00:00