| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- Index: Makefile.libdir
- --- /dev/null 2007-01-20 15:04:24 +0100
- +++ Makefile.libdir 2007-01-20 15:03:31 +0100
- @@ -0,0 +1 @@
- +mod_auth_kerb
- Index: Makefile.tmpl
- --- /dev/null 2007-01-20 15:04:24 +0100
- +++ Makefile.tmpl 2007-01-20 15:03:31 +0100
- @@ -0,0 +1,46 @@
- +
- +LIB=libmod_auth_kerb.$(LIBEXT)
- +
- +OBJS=src/mod_auth_kerb.o \
- + spnegokrb5/asn1_MechType.o \
- + spnegokrb5/asn1_MechTypeList.o \
- + spnegokrb5/asn1_ContextFlags.o \
- + spnegokrb5/asn1_NegTokenInit.o \
- + spnegokrb5/asn1_NegTokenTarg.o \
- + spnegokrb5/der_get.o \
- + spnegokrb5/der_put.o \
- + spnegokrb5/der_free.o \
- + spnegokrb5/der_length.o \
- + spnegokrb5/der_copy.o \
- + spnegokrb5/timegm.o \
- + spnegokrb5/init_sec_context.o \
- + spnegokrb5/accept_sec_context.o \
- + spnegokrb5/encapsulate.o \
- + spnegokrb5/decapsulate.o \
- + spnegokrb5/external.o
- +
- +all: lib
- +
- +lib: $(LIB)
- +
- +libmod_auth_kerb.$(LIBEXT): $(OBJS)
- + rm -f $@
- + ar cr $@ $(OBJS)
- + $(RANLIB) $@
- +
- +.SUFFIXES: .o
- +
- +.c.o:
- + $(CC) -c -I. -Ispnegokrb5 $(INCLUDES) $(CFLAGS) -o $@ $<
- +
- +clean:
- + rm -f $(OBJS) $(LIB)
- +
- +distclean: clean
- + -rm -f Makefile
- +
- +#Dependencies
- +
- +$(OBJS): Makefile
- +
- +# DO NOT REMOVE
- Index: libmod_auth_kerb.module
- --- /dev/null 2007-01-20 15:04:24 +0100
- +++ libmod_auth_kerb.module 2007-01-20 15:03:31 +0100
- @@ -0,0 +1,8 @@
- +Name: auth_kerb_module
- +ConfigStart
- + echo "++ FUCK"
- + KERBEROS_CFLAGS="`krb5-config --cflags gssapi`"
- + KERBEROS_LIBS="`krb5-config --libs gssapi`"
- + CFLAGS="$KERBEROS_CFLAGS $CFLAGS"
- + LIBS="$KERBEROS_LIBS $LIBS"
- +ConfigEnd
- Index: src/mod_auth_kerb.c
- --- src/mod_auth_kerb.c.orig 2006-11-22 11:32:58 +0100
- +++ src/mod_auth_kerb.c 2007-01-20 15:07:51 +0100
- @@ -745,7 +745,7 @@
- return ret;
- }
-
- -static int
- +static void
- krb5_cache_cleanup(void *data)
- {
- krb5_context context;
- @@ -756,7 +756,7 @@
- problem = krb5_init_context(&context);
- if (problem) {
- /* ap_log_error(APLOG_MARK, APLOG_ERR, 0, NULL, "krb5_init_context() failed"); */
- - return HTTP_INTERNAL_SERVER_ERROR;
- + return;
- }
-
- problem = krb5_cc_resolve(context, cache_name, &cache);
- @@ -764,12 +764,12 @@
- /* log_error(APLOG_MARK, APLOG_ERR, 0, NULL,
- "krb5_cc_resolve() failed (%s: %s)",
- cache_name, krb5_get_err_text(context, problem)); */
- - return HTTP_INTERNAL_SERVER_ERROR;
- + return;
- }
-
- krb5_cc_destroy(context, cache);
- krb5_free_context(context);
- - return OK;
- + return;
- }
-
- static int
|