ports/137729: www/mod_auth_kerb2 port broken on 8.0-BETA2

Ryan Steinmetz rpsfa at rit.edu
Thu Aug 13 16:40:07 UTC 2009

>Number:         137729
>Category:       ports
>Synopsis:       www/mod_auth_kerb2 port broken on 8.0-BETA2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 13 16:40:02 UTC 2009
>Originator:     Ryan Steinmetz
>Release:        8.0-BETA2
Rochester Institute of Technology
FreeBSD xxx.rit.edu 8.0-BETA2 FreeBSD 8.0-BETA2 #4: Mon Aug 10 09:40:46 EDT 2009     root at xxx.rit.edu:/usr/obj/usr/src/sys/xxx  i386
After building/installing the www/mod_auth_kerb2 port, attempting to load it in Apache results in the following error message:
httpd: Syntax error on line 103 of /usr/local/etc/apache22/httpd.conf: Cannot load /usr/local/libexec/apache22/mod_auth_kerb.so into server: /usr/local/libexec/apache22/mod_auth_kerb.so: Undefined symbol "gsskrb5_register_acceptor_identity"
Install www/mod_auth_kerb2 on 8.0-BETA2 and try to load the module.
I was able to get Apache to load the module by editing the Makefile under work/ to add -lgssapi_krb5 to KRB5_LDFLAGS.

However, I was unable to get mod_auth_kerb to function properly under 8.0.  I was able to identify that the issue appears to lie in the GSSAPI area, but was unable to get additional details beyond the following:

In src/mod_auth_kerb.c, on line 1445, the if block for "(major_status & GSS_S_CONTINUE_NEEDED)" is triggered.

A bug has been filed with the current maintainer of mod_auth_kerb, however, I'm not sure if the bug that was opened is the actual root cause of the issue as the module works fine under FreeBSD 7.2-RELEASE.



More information about the freebsd-ports-bugs mailing list