mod_auth_kerb.git
17 years agoLogged a debug message saying if or not the client delegated his/her credential merge.53.dst
kouril [Wed, 22 Nov 2006 11:11:16 +0000 (11:11 +0000)]
Logged a debug message saying if or not the client delegated his/her credential

17 years agoPass the get_gss_error() call with a full request struct so it could log a debug...
kouril [Wed, 22 Nov 2006 10:53:53 +0000 (10:53 +0000)]
Pass the get_gss_error() call with a full request struct so it could log a debug message with the GSSAPI codes

17 years agoImproved displying of error messages
kouril [Thu, 16 Nov 2006 08:39:36 +0000 (08:39 +0000)]
Improved displying of error messages

17 years agoIncreased version numbers v5.2
kouril [Mon, 6 Nov 2006 17:33:53 +0000 (17:33 +0000)]
Increased version numbers

17 years agoAdded definition of KRB5_LIB_FUNCTION (taken from MIT), which seems not to be
kouril [Mon, 6 Nov 2006 15:48:45 +0000 (15:48 +0000)]
Added definition of KRB5_LIB_FUNCTION (taken from MIT), which seems not to be
included sometimes (MIT 1.5.1).

17 years agoThe shell functions supported by BSD make:s doesn't do what we are used to from
kouril [Mon, 6 Nov 2006 15:36:08 +0000 (15:36 +0000)]
The shell functions supported by BSD make:s doesn't do what we are used to from
GNU make. Added a comment with two lines which provide the same functionality
also on BSD platforms. It'd be greate if they were wrapped with a if
statetement.

17 years agoUse krb5_rc_resolve_full() to detect the "none" rcache type. The previous code was...
kouril [Sat, 9 Sep 2006 08:01:03 +0000 (08:01 +0000)]
Use krb5_rc_resolve_full() to detect the "none" rcache type. The previous code was based on an internal function using non-public data structure.

17 years agoChanges in krb4 code
kouril [Mon, 4 Sep 2006 10:44:17 +0000 (10:44 +0000)]
Changes in krb4 code
- switch to apr 1.x
- allow the client to specify the realm

17 years agoincreased versions to 5.1 v5.1
kouril [Fri, 1 Sep 2006 11:36:19 +0000 (11:36 +0000)]
increased versions to 5.1

17 years agoDefined GSS_KRB5_NT_PRINCIPAL_NAME as gss_nt_krb5_name to make it work with older...
kouril [Fri, 1 Sep 2006 09:32:34 +0000 (09:32 +0000)]
Defined GSS_KRB5_NT_PRINCIPAL_NAME as gss_nt_krb5_name to make it work with older MITs (eg. from RH ES3)

17 years agoSwitched to use APR 1.x
kouril [Wed, 30 Aug 2006 06:41:51 +0000 (06:41 +0000)]
Switched to use APR 1.x
- apr 1.0 stopped shipping the compat headers defining old ap_* calls

17 years agochanged type to unsigned to be consistent with prototype
kouril [Wed, 30 Aug 2006 06:38:14 +0000 (06:38 +0000)]
changed type to unsigned to be consistent with prototype

17 years agoAdded context declaration
kouril [Thu, 24 Aug 2006 11:43:07 +0000 (11:43 +0000)]
Added context declaration

17 years agoBetter check if SPNEGO is supported by the kerberos implementation. Patch accepted...
kouril [Thu, 24 Aug 2006 10:50:32 +0000 (10:50 +0000)]
Better check if SPNEGO is supported by the kerberos implementation. Patch accepted from https://sourceforge.net/tracker/?func=detail&atid=464526&aid=1533173&group_id=51775

17 years agoDetect if the "none" replay cache type is supported before enforcing its use
kouril [Thu, 24 Aug 2006 10:48:38 +0000 (10:48 +0000)]
Detect if the "none" replay cache type is supported before enforcing its use

17 years agoBumbed version v5.0
kouril [Tue, 15 Aug 2006 13:35:53 +0000 (13:35 +0000)]
Bumbed version

17 years agotypo in error message
kouril [Tue, 15 Aug 2006 13:14:27 +0000 (13:14 +0000)]
typo in error message

17 years agoBetter solution to the "array type has incomplete element type" problem
kouril [Tue, 15 Aug 2006 12:58:01 +0000 (12:58 +0000)]
Better solution to the "array type has incomplete element type" problem

17 years agoCompatibilizing define's are pulled out from apr_compat.h and apu_compat.h
kouril [Tue, 15 Aug 2006 12:48:26 +0000 (12:48 +0000)]
Compatibilizing define's are pulled out from apr_compat.h and apu_compat.h

17 years agoThe KRB5RCACHETYPE variable is set in initialization calls. Its parameter is allocate...
kouril [Tue, 15 Aug 2006 12:42:03 +0000 (12:42 +0000)]
The KRB5RCACHETYPE variable is set in initialization calls. Its parameter is allocated using strdup().

17 years agoSome calls declared static to make gcc stop complainig about non existing prototypes
kouril [Tue, 15 Aug 2006 11:34:49 +0000 (11:34 +0000)]
Some calls declared static to make gcc stop complainig about non existing prototypes

17 years agoIgnore .libs
kouril [Tue, 15 Aug 2006 11:31:52 +0000 (11:31 +0000)]
Ignore .libs

17 years agoIgnore *.lo, *.slo
kouril [Tue, 15 Aug 2006 11:08:19 +0000 (11:08 +0000)]
Ignore *.lo, *.slo

17 years agoCommented out ContextFlags_units, which makes problem on SuSE 10
kouril [Tue, 15 Aug 2006 10:34:28 +0000 (10:34 +0000)]
Commented out ContextFlags_units, which makes problem on SuSE 10

17 years agoTry also locating apxs2 binary if apxs isn't found
kouril [Tue, 15 Aug 2006 10:21:46 +0000 (10:21 +0000)]
Try also locating apxs2 binary if apxs isn't found

18 years ago- Use the KRB5RCACHETYPE variable to disable the replay attacks checks in
kouril [Sat, 22 Apr 2006 12:46:53 +0000 (12:46 +0000)]
- Use the KRB5RCACHETYPE variable to disable the replay attacks checks in
  MIT 1.4
- Make the 1.3 hack more robust, it tryies to verify it works with 1.3 libs
  (it crashes with 1.4)
(patches submited from Russ Allbery and Jari Ahonen)

18 years agoBumped version
kouril [Tue, 28 Feb 2006 23:01:44 +0000 (23:01 +0000)]
Bumped version

18 years agoWrap compiler and linker options passed via apxs
kouril [Mon, 20 Feb 2006 21:46:35 +0000 (21:46 +0000)]
Wrap compiler and linker options passed via apxs

18 years ago#ifdef 0 doesn't work
kouril [Mon, 20 Feb 2006 21:38:28 +0000 (21:38 +0000)]
#ifdef 0 doesn't work

18 years agoBumped years in Licenses and similar stuff
kouril [Sun, 19 Feb 2006 21:45:05 +0000 (21:45 +0000)]
Bumped years in Licenses and similar stuff

18 years agoTypo (fix for bug 1424794)
kouril [Sun, 19 Feb 2006 21:04:44 +0000 (21:04 +0000)]
Typo (fix for bug 1424794)

18 years agoCommented out all KrbEnableSSLPreauthentication related stuff as it depends on
kouril [Sun, 19 Feb 2006 14:58:41 +0000 (14:58 +0000)]
Commented out all KrbEnableSSLPreauthentication related stuff as it depends on
the mod_ssl internals (ssl_var_lookup).

18 years agoAdded SSL_preauthentication option
kouril [Thu, 2 Feb 2006 15:35:42 +0000 (15:35 +0000)]
Added SSL_preauthentication option

18 years ago- Don't build the SPNEGO library at all if using latest heimdal (or another
kouril [Fri, 5 Aug 2005 15:16:29 +0000 (15:16 +0000)]
- Don't build the SPNEGO library at all if using latest heimdal (or another
  distributions supporting SPNEGO, are there any?)
- Changed the semantics of the KrbServiceName directive. It can contain not
  only the service name (HTTP) but also a full principal name that will be used
  for authentication of the server. This should help in solving some DNS
  issues.

18 years ago- renamed enum CONTEXT into KERB_CTXT to address name clashes on Windows
kouril [Wed, 8 Jun 2005 10:36:46 +0000 (10:36 +0000)]
- renamed enum CONTEXT into KERB_CTXT to address name clashes on Windows
- added a few missing calling conventions to the calls
(thanks to Pascal Davoust, 20 May 2005 14:56:15)

18 years ago- Be more compatible with the development apache branch. Allow working with
kouril [Wed, 8 Jun 2005 10:32:55 +0000 (10:32 +0000)]
- Be more compatible with the development apache branch. Allow working with
  APR 1.x and 2.2.
- Avoid some warnings
(thanks to Joe Orton for this patch, 23 May 2005 14:00:57)

18 years agomozilla prefs
kouril [Fri, 3 Jun 2005 16:58:24 +0000 (16:58 +0000)]
mozilla prefs

18 years agoOnly reply with the Negotiate set if the gss_accept_sec_context returned data
kouril [Fri, 29 Apr 2005 15:51:53 +0000 (15:51 +0000)]
Only reply with the Negotiate set if the gss_accept_sec_context returned data
for the client. Otherwise the client received an Negotiate header and tried to
authenticate using GSSAPI again and again, which is annoying when the user in
question pass the authentication but isn't authorized.

19 years agoAdded year 2005 to the license block
kouril [Wed, 9 Mar 2005 12:27:26 +0000 (12:27 +0000)]
Added year 2005 to the license block

19 years agoAdded a debug program that performs conversions from DNS names to realms.
kouril [Thu, 17 Feb 2005 12:43:34 +0000 (12:43 +0000)]
Added a debug program that performs conversions from DNS names to realms.
(Thanks to Jari Ahonen for it).

19 years agoDon't prohibit specifying realm is user name
kouril [Thu, 17 Feb 2005 12:38:59 +0000 (12:38 +0000)]
Don't prohibit specifying realm is user name

19 years agoAdded type-casting to avoid warning from the compiler
kouril [Fri, 11 Feb 2005 14:02:06 +0000 (14:02 +0000)]
Added type-casting to avoid warning from the compiler

19 years agoadded a short note about Konqueror
kouril [Thu, 6 Jan 2005 10:25:40 +0000 (10:25 +0000)]
added a short note about Konqueror

19 years agoUsed gsskrb5_register_acceptor_identity() to specify the keytab (some installations...
kouril [Fri, 5 Nov 2004 13:42:26 +0000 (13:42 +0000)]
Used gsskrb5_register_acceptor_identity() to specify the keytab (some installations seems to have problems reading the filename from the environment)

19 years agoAdded more debug messages
kouril [Mon, 1 Nov 2004 22:25:07 +0000 (22:25 +0000)]
Added more debug messages

19 years agoDescription of delegation support in Win AD (thanks Rob Sessink)
kouril [Tue, 5 Oct 2004 09:18:12 +0000 (09:18 +0000)]
Description of delegation support in Win AD (thanks Rob Sessink)

19 years agodon't dereference NULL pointer
kouril [Thu, 16 Sep 2004 12:47:25 +0000 (12:47 +0000)]
don't dereference NULL pointer

19 years agospecify the realm name when calling krb5_parse_name(). MIT seems not to use the realm...
kouril [Thu, 16 Sep 2004 11:53:06 +0000 (11:53 +0000)]
specify the realm name when calling krb5_parse_name(). MIT seems not to use the realm set by krb5_set_default_realm()

19 years agoforgot spnego-specific asn.1 sources
kouril [Thu, 16 Sep 2004 09:57:33 +0000 (09:57 +0000)]
forgot spnego-specific asn.1 sources

19 years agoDon't compile ASN.1 routines when using Heimdal -- use the ones from Heimdal
kouril [Thu, 16 Sep 2004 08:55:27 +0000 (08:55 +0000)]
Don't compile ASN.1 routines when using Heimdal -- use the ones from Heimdal

19 years agodelete .libs directories during 'clean'-ing
kouril [Thu, 16 Sep 2004 08:42:00 +0000 (08:42 +0000)]
delete .libs directories during 'clean'-ing

19 years agoCentrally #define:ed name of the Negotiate method
kouril [Thu, 2 Sep 2004 13:08:04 +0000 (13:08 +0000)]
Centrally #define:ed name of the Negotiate method

19 years agocorrected wrong parameters printed during debugging
kouril [Thu, 26 Aug 2004 09:02:54 +0000 (09:02 +0000)]
corrected wrong parameters printed during debugging

19 years agoAdded changes to enable compiling on Windows (most likely not sufficient)
kouril [Mon, 16 Aug 2004 13:20:53 +0000 (13:20 +0000)]
Added changes to enable compiling on Windows (most likely not sufficient)
- Added standard includes
- use {_vs,_s}nprintf instead of {vs,s}nprintf
- added implementation of the mkstemp() call (taken from heimdal)

19 years agoAdded flag RSRC_CONF to the directives definitions so they can be set in the v5.0-rc6
kouril [Tue, 10 Aug 2004 12:01:01 +0000 (12:01 +0000)]
Added flag RSRC_CONF to the directives definitions so they can be set in the
server-wide config file as well

19 years agoIncreased the release number
kouril [Thu, 8 Jul 2004 12:05:43 +0000 (12:05 +0000)]
Increased the release number

19 years agotypo
kouril [Thu, 8 Jul 2004 12:02:51 +0000 (12:02 +0000)]
typo

19 years agonote about debugging of Mozilla
kouril [Thu, 8 Jul 2004 12:00:07 +0000 (12:00 +0000)]
note about debugging of Mozilla

19 years agoChanges by Jari Ahonen
kouril [Thu, 8 Jul 2004 11:52:03 +0000 (11:52 +0000)]
Changes by Jari Ahonen

19 years agoDon't remove the configure script during distclean
kouril [Mon, 5 Jul 2004 20:47:42 +0000 (20:47 +0000)]
Don't remove the configure script during distclean

19 years agowhen logging a service name use the name processed by GSSAPI
kouril [Thu, 1 Jul 2004 08:54:54 +0000 (08:54 +0000)]
when logging a service name use the name processed by GSSAPI

19 years agoUse cannonical DNS name when constructing the principal for passwd verification ...
kouril [Thu, 1 Jul 2004 07:20:41 +0000 (07:20 +0000)]
Use cannonical DNS name when constructing the principal for passwd verification (to be consistent with GSSAPI)

19 years agoAdded warning when NTLM authenticator is received
kouril [Tue, 29 Jun 2004 10:56:01 +0000 (10:56 +0000)]
Added warning when NTLM authenticator is received

19 years agorather FIXME notes
kouril [Fri, 25 Jun 2004 06:42:25 +0000 (06:42 +0000)]
rather FIXME notes

19 years agoAdded more debug messages
kouril [Thu, 24 Jun 2004 08:02:04 +0000 (08:02 +0000)]
Added more debug messages

19 years agoHandle KerberosV5/KerberosV4 values of AuthType properly
kouril [Thu, 24 Jun 2004 07:01:41 +0000 (07:01 +0000)]
Handle KerberosV5/KerberosV4 values of AuthType properly

19 years agoCorrected debug messages
kouril [Tue, 22 Jun 2004 14:36:26 +0000 (14:36 +0000)]
Corrected debug messages

19 years agoRewritten installation guide
kouril [Sun, 6 Jun 2004 21:49:00 +0000 (21:49 +0000)]
Rewritten installation guide

19 years agotwo more debugging messages
kouril [Fri, 4 Jun 2004 09:10:44 +0000 (09:10 +0000)]
two more debugging messages

19 years agoAdded a new directive (KrbDelegateBasic), which can be used to pass on authentication...
kouril [Fri, 4 Jun 2004 08:52:48 +0000 (08:52 +0000)]
Added a new directive (KrbDelegateBasic), which can be used to pass on authentication decision to another modules.

19 years agoAllow the module to work in the proxy mode correctly (don't swallow authentication...
kouril [Fri, 4 Jun 2004 08:39:00 +0000 (08:39 +0000)]
Allow the module to work in the proxy mode correctly (don't swallow authentication headers). This commit fixes bug reported at
http://sourceforge.net/tracker/index.php?func=detail&aid=954085&group_id=51775&atid=464524

19 years agoUse the resolv library when checking for krb5_init_context()
kouril [Tue, 1 Jun 2004 14:13:49 +0000 (14:13 +0000)]
Use the resolv library when checking for krb5_init_context()

19 years agoAdded fields to the module declaration (in 1.3.x part) required by EAPI
kouril [Tue, 1 Jun 2004 12:28:50 +0000 (12:28 +0000)]
Added fields to the module declaration (in 1.3.x part) required by EAPI

19 years agoAdded suffix '_internal' to all definitions copied from provate MIT header to avoid...
kouril [Mon, 3 May 2004 06:46:22 +0000 (06:46 +0000)]
Added suffix '_internal' to all definitions copied from provate MIT header to avoid possible conflicts

19 years agoadded a debugging message
kouril [Fri, 30 Apr 2004 11:51:41 +0000 (11:51 +0000)]
added a debugging message

19 years agotypos v5.0-rc5
kouril [Tue, 27 Apr 2004 14:17:20 +0000 (14:17 +0000)]
typos

19 years agoincrease version number to be ready for a new release
kouril [Tue, 27 Apr 2004 14:14:08 +0000 (14:14 +0000)]
increase version number to be ready for a new release

19 years agoAdded MIT license statements
kouril [Tue, 27 Apr 2004 14:05:24 +0000 (14:05 +0000)]
Added MIT license statements

19 years agobasicaly typos
kouril [Tue, 27 Apr 2004 12:12:06 +0000 (12:12 +0000)]
basicaly typos

20 years agokrb5 ccache is initialized only after the password verification succeeds
kouril [Fri, 23 Apr 2004 12:19:37 +0000 (12:19 +0000)]
krb5 ccache is initialized only after the password verification succeeds

20 years agoAdded header includes and other minor fixes
kouril [Wed, 21 Apr 2004 16:15:22 +0000 (16:15 +0000)]
Added header includes and other minor fixes

20 years agoreally use auth_context prepared
kouril [Wed, 21 Apr 2004 10:15:04 +0000 (10:15 +0000)]
really use auth_context prepared

20 years agoadded header containing internal MIT definitions
kouril [Fri, 16 Apr 2004 22:19:58 +0000 (22:19 +0000)]
added header containing internal MIT definitions

20 years agoFirst attempt of working around replay cache (thanks to Jari Ahonen for the GSSAPI...
kouril [Fri, 16 Apr 2004 20:44:37 +0000 (20:44 +0000)]
First attempt of working around replay cache (thanks to Jari Ahonen for the GSSAPI part)

20 years ago- Don't use global structures to persistently store gss context. Support only
kouril [Tue, 13 Apr 2004 15:58:39 +0000 (15:58 +0000)]
- Don't use global structures to persistently store gss context. Support only
  krb5 which requires single gssapi authentication iteration.

20 years agoMark a few places where a debug logging should be added
kouril [Fri, 9 Apr 2004 13:05:29 +0000 (13:05 +0000)]
Mark a few places where a debug logging should be added

20 years ago- Use macro AC_PATH_PROG to find the apxs command, don't look for the apache
kouril [Thu, 1 Apr 2004 08:21:44 +0000 (08:21 +0000)]
- Use macro AC_PATH_PROG to find the apxs command, don't look for the apache
binary at all since information about apache version are fetched from headers
at compile time.
- Require version 2.57 of autoconf as 2.53 seems to have an error in the
AC_PATH_PROG macro

20 years agoIn order to distinguish between apache API v1.3 and v.2.0 use define
kouril [Mon, 29 Mar 2004 15:16:38 +0000 (15:16 +0000)]
In order to distinguish between apache API v1.3 and v.2.0 use define
STANDARD20_MODULE_STUFF (from ap_config.h) instead of own APXS[12] variables

20 years ago- note_kerb_auth_failure() renamed to set_kerb_auth_headers()
kouril [Mon, 29 Mar 2004 14:41:04 +0000 (14:41 +0000)]
- note_kerb_auth_failure() renamed to set_kerb_auth_headers()
- return also last value from gss_accept_sec_context() so client can perform
  mutual authentication

20 years ago- don't pass a prompter callback to the password veryfying call
kouril [Mon, 29 Mar 2004 13:49:00 +0000 (13:49 +0000)]
- don't pass a prompter callback to the password veryfying call
- Heimdal is able to handle anonymous memory caches so it's not necessary to use different (non-portable) code for ccache generation

20 years agoLicense changed from Apache to BSD
kouril [Thu, 25 Mar 2004 11:27:56 +0000 (11:27 +0000)]
License changed from Apache to BSD

20 years agoUse GSS_C_NT_HOSTBASED_SERVICE instead of GSS_C_NT_USER_NAME in the gss_import_name()
kouril [Tue, 23 Mar 2004 15:32:35 +0000 (15:32 +0000)]
Use GSS_C_NT_HOSTBASED_SERVICE instead of GSS_C_NT_USER_NAME in the gss_import_name()
Don't free the gss structs when additional GSS iterations are required

20 years agoUpdated year in the license block
kouril [Wed, 25 Feb 2004 17:43:31 +0000 (17:43 +0000)]
Updated year in the license block

20 years agoDon't use DNS lookups when constructing the server principal name. This allows
kouril [Wed, 25 Feb 2004 17:16:20 +0000 (17:16 +0000)]
Don't use DNS lookups when constructing the server principal name. This allows
to use the VirtualServer names as specified in the httpd.conf

20 years agoAdded logging of error messages to the password verification part.
kouril [Thu, 19 Feb 2004 15:17:18 +0000 (15:17 +0000)]
Added logging of error messages to the password verification part.

20 years agorestructuralized checks for krb5 enviroment
kouril [Wed, 11 Feb 2004 13:26:19 +0000 (13:26 +0000)]
restructuralized checks for krb5 enviroment

20 years agoDon't use the service name when reading the keytab. This should prevent from
kouril [Tue, 10 Feb 2004 13:52:44 +0000 (13:52 +0000)]
Don't use the service name when reading the keytab. This should prevent from
problems between the MS and MIT krb5 implementation. (this fix works only with
1.3.x).

20 years agoUse different calls when generating memory ccache with Heimdal or MIT
kouril [Thu, 5 Feb 2004 15:17:00 +0000 (15:17 +0000)]
Use different calls when generating memory ccache with Heimdal or MIT

20 years agomoved check for nonempty password to a proper place
kouril [Thu, 5 Feb 2004 15:12:08 +0000 (15:12 +0000)]
moved check for nonempty password to a proper place

20 years agodon't accept empty passwords
kouril [Thu, 5 Feb 2004 14:05:50 +0000 (14:05 +0000)]
don't accept empty passwords