I used Net::LDAP, a pure Perl implementation, against a Novell eDirectory LDAP
server.
You can find it at CPAN or at
http://sourceforge.net/project/?group_id=5050
I coded the authen_cred method to authenicate against LDAP and then store
the username in the session hash.
The authen_ses_key method then recovers the username from the session
hash.
I created a custom require method to check group membership so I can
include something like this in httpd.conf :
require LDAPGroup cn=administrators,ou=groups,o=wl
I want to extend it to check for container membership too but I don't need
that just now.
I could send you the code if it would be of interest.
Simon Wilcox
Intranet Development Manager
>From Drew Taylor <[EMAIL PROTECTED]> Date 23:18:04 3 August
2000
To: Simon Wilcox/BASE/WilliamsLea@WilliamsLea
cc: [EMAIL PROTECTED]
Fax to:
Subject: Re: logging out
[EMAIL PROTECTED] wrote:
>
> I recommend Apache::AuthCookie. This has worked really well for me, and
> allows me to use an HTML form which is much nicer for my users than the
> default dialog box.
>
> FWIW - I sub-classed AuthCookie to authenticate against an LDAP directory
> (using Net::LDAP) but you can use a RDBMS just as easily.
I have used Apache::AuthCookie also and liked it. What module did you
use to authenticate against the LDAP server? We are setting one up here
for internal use and I am still trying to find the best (read easiest)
way to authenticate against it.
--
Drew Taylor
Vialogix Communications, Inc.
501 N. College Street
Charlotte, NC 28202
704 370 0550
http://www.vialogix.com/