Joshua J. Kugler wrote:
OK, I have a slightly odd request here.
Problem! We're trying to set up a new mail host with (among other things)
dpsam and lighttpd. Everything is working fine, until I hit a block today.
dspam.cgi references the environment variable REMOTE_USER, which means it
assumes the web server has done the authentication already. Well, lighttpd
won't do authentication against /etc/shadow, and neither LDAP or trying to
maintain two password databases are feasible options right now.
Solution? So, I was wondering if anyone out there has created a login "front
page" for dspam.cgi that would do the authentication, then call dspam.cgi
with the required environment variable(s). Of course, this wrapper would
have to keep state, either via cookies or URL schemes, but that's understood.
Another option might be hacking up a Usermin plugin, but I'm not sure how well
that'd work.
Anyone?
j
Hello Joshua,
I personally only use lighttpd in some homebrew embedded systems, but i
did read about lighttpd authentication module. Perhaps you should visit
http://trac.lighttpd.net/trac/wiki/Docs:ModAuth. There seems to be
out-of-the-box support for ldap authentication.
Regards,
Hugo Monteiro.
--
ci.fct.unl.pt:~# cat .signature
Hugo Monteiro
Email : [EMAIL PROTECTED]
Telefone : +351 212948300 Ext.15307
Centro de Informática
Faculdade de Ciências e Tecnologia da
Universidade Nova de Lisboa
Quinta da Torre 2829-516 Caparica Portugal
Telefone: +351 212948596 Fax: +351 212948548
www.ci.fct.unl.pt [EMAIL PROTECTED]
ci.fct.unl.pt:~# _