Authenticating with Apache
Articles and Tips: qna
01 Jan 2003
Q.
A quick question for you. Do you have experience with authenticating users to eDirectory who come in via Apache (bare, not using Java material)? What I would like to do is check their credentials against eDirectory on the fly, similar to what can be done against static credential files on Unix.
Aaron Apache from Albion
A.
Dear Aaron: I have a secure web page on an Apache server. When a person comes to the page, they are presented with a username / password screen. I take the username/password combo they type in and perform an LDAP bind against my NetWare 6 server running eDirectory.
If the bind is successful, they get in; if it is not, they don't. I then drop a cookie on the machine to let them into the other web pages for that session. This is all performed over https and LDAP. The LDAP calls are part of PHP4, which we are running.
* Originally published in Novell AppNotes
Disclaimer
The origin of this information may be internal or external to Novell. While Novell makes all reasonable efforts to verify this information, Novell does not make explicit or implied claims to its validity.