Koozali.org: home of the SME Server

Use tkt-auth with httpd-e-smith

Offline Daniel B.

  • *
  • 1,699
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Use tkt-auth with httpd-e-smith
« on: September 03, 2007, 11:21:40 AM »
Hi all.
I'm not sure if I should ask here or on the dev list, anyway, here's my problem. I'd like to use tkt-auth for a php webapps I've installed in /opt which is handled by httpd-e-smith. (the webapps is not the problem, that's why I post here and not in the contrib forum). So my question is, how can I enable tkt-auth in httpd-e-smith? I've read some documentation on it, and I saw that it can be multi-domain (as it's based on cookies, you log into one server, and all the others will reconize you, as long as the servers share the same TKTAuthSecret). So I've tried to copy the templates /etc/e-smith/templates/etc/httpd/admin-conf/httpd.conf/20ManagerAuthTKT in /etc/e-smith/httpd/conf/httpd.conf/25ManagerAuthTKT, and in the template of my webapp I've added:

TKTAuthLoginURL /server-common/cgi-bin/login

I've expand the template, restarted the service and everything seems ok, when I try to access my webapp, I'm redirected to the login page (the same as the server-manager), but when I try to login, I return again and again on this login page. In the httpd/error_log I have this:

TKT valid_ticket: ticket found, but hash is invalid - digest '4cd3c6eae2b925ca39ce056ff808fff9', ticket '4dc5c1563d3e8a44888c64f02146f322'

Anyone knows how could I solve this?

Thanks

C'est la fin du monde !!! :lol: