ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  Single Sign-on for Your Web Applications with Apache and Kerberos
Subject:   Nice article, but i still can't get it to work (on FC2)
Date:   2005-03-24 12:34:24
From:   Morpheus4you
I can't get it to work on Fedora Core 2.

The methode where apxs is used doesn't work either, i compile it with this command:

/usr/sbin/apxs -i -a -c -DEAPI_MM \
-I/usr/include -L/usr/lib -L/lib \
../../../spnegohelp/libspnegohelp.a -L/usr/lib -L/lib \
-lgssapi_krb5 -ldes425 -lkrb5 -lk5crypto -lcom_err \

But unfortunately it fails with a lot of errors, starting with the next lines...

mod_auth_gss_krb5.c:32: error: syntax error before "gss_krb5_auth_module"
mod_auth_gss_krb5.c:32: warning: data definition has no type or storage class
mod_auth_gss_krb5.c:69: warning: initialization from incompatible pointer type
mod_auth_gss_krb5.c:70: error: syntax error before "gss_krb5_config_rec"
mod_auth_gss_krb5.c:70: error: initializer element is not constant
mod_auth_gss_krb5.c:70: error: (near initialization for `gss_krb5_cmds[0].cmd_data')
mod_auth_gss_krb5.c:71: error: initializer element is not constant

Can this module be build with Apache 2 anyway?

Could it be that the Kerberos implementation coming with Fedora Core 2 is not the right one? (like it requires MIT but FC2 has HEIMDAL)

Has anyone gotten this module to work with Fedora Core in some way?

1 to 1 of 1
1 to 1 of 1