postgresql-7.1beta5 with Heimdal-0.3e

Dmitry G. Mastrukov Дмитрий Геннадьевич Мастрюков <dmitry@taurussoft.org>

From: "Dmitry G . Mastrukov" <dmitry@taurussoft.org>
To: pgsql-bugs@postgresql.org
Date: 2001-02-26T10:43:15Z
Lists: pgsql-bugs

Attachments

============================================================================
                        POSTGRESQL BUG REPORT TEMPLATE
============================================================================


Your name		:	Dmitry G. Mastrukov
Your email address	: dmitry@taurussoft.org


System Configuration
---------------------
  Architecture (example: Intel Pentium)  	: Intel Pentium

  Operating System (example: Linux 2.0.26 ELF) 	: Linux 2.4.2
ELF

  PostgreSQL version (example: PostgreSQL-6.3.2)  :  
PostgreSQL-7.1beta5

  Compiler used (example:  gcc 2.7.2)		: gcc 2.95.2


Please enter a FULL description of your problem:
------------------------------------------------
1. Configure cannot properly determine Heimdal (0.3d - 0.3e) libs.
Heimdal has no libk5crypto, all its functions is in libkrb5. Configure
crashes.
2. a) Heimdal has no enc_part2 member in krb5_ticket
    b) Heimdal has no text member in krb5_error



Please describe a way to repeat the problem.   Please try to provide a
concise reproducible example, if at all possible: 
----------------------------------------------------------------------
Install Heimdal-0.3e (in /usr/heimdal for example)
configure --with-krb5=/usr/heimdal
make




If you know how this problem might be fixed, list the solution below:
---------------------------------------------------------------------
It's necessary to make difference in MIT and Heimdal Kerberos
distributions on configure and build processes with some sort of
#define HAVE_KRB5_MIT/HEIMDAL. Then it's possible to enclose
differences in #ifdef ... #endif
pairs.
I attached patch which made for me authorization with Heimdal.
Configure part of this patch is simply hack to make configure work in
my enviroment. Postgres successfully builds and works.