Project

General

Profile

[Solved] mod_auth_ticket and lighttpd version 1.4.39 not working.

Added by Wicked96SS over 8 years ago

Build platform: Ubuntu 14.04 LTS
Target platform: ARMv7 Processor rev 2 (v7l)
Cross Compiler from Buildroot 2014.11

First, lighttpd build works fine. Works great on the target platform. No complaints.

I've downloaded the latest source for mod_auth_ticket, and modified the Makefile as instructed to point to my lighttpd build. It will build fine, link fine but when I attempt to use it on our device, I get the error:

2016-01-12 13:47:14: (plugin.c.223) dlopen() failed for: /home/www/webroot/lib/mod_auth_ticket.so /home/www/webroot/lib/mod_auth_ticket.so: undefined symbol: buffer_prepare_append
2016-01-12 13:47:14: (server.c.684) loading plugins finally failed

I go back to see, and that's because in buffer.h/.c those functions have been removed. I noticed that they have been removed in the 1.4 chain in February 2015. I understand that there was a vulnerability with them, so that's good... but...

Is there a more updated version of the source to mod_auth_ticket that I could use to fix this? Or the functions to use to replace them? I'm sorry I'm being lazy, as I could probably figure this out myself, but I'm swamped and have to move on to something else to a bit. If I figure out the answer I will post it.

Any help would be greatly appreciated.

Thanks!
John


Replies (1)

RE: mod_auth_ticket and lighttpd version 1.4.39 not working. - Added by gstrauss over 3 years ago

https://github.com/gstrauss/lighttpd-mod_auth_ticket use is discouraged due to architecture limitations documented in the README.md

Instead, the (similarly named) https://github.com/gstrauss/lighttpd-mod_authn_tkt provides this functionality with fewer limitations.

    (1-1/1)