CGI: Authentication with ADS

B

Boris Glawe

Hi,

I'd like to write a cgi script with ruby, which generates a login page.
I have to use the active directory server for the authentication.

Do you have any hint how to do this? Do I have to use ruby's ldap library and
compare any password hashes or is there a way to encrypt the password in a way
that I can send it to the ADS and let him check it for validity? I've got no
idea where to start. I've got knowledge about ldap, but still I don't know how
to talk to the AS.

I have another script written in perl, which already solves this problem, but
this scipt contains dozens of calls to system(). That's what I'd like to avoid,
especially because the script should be portable to other unix version (where
programs have different command line options, etc) and other operating systems.

thanks in advance

Boris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,174
Messages
2,570,940
Members
47,486
Latest member
websterztechnologies01

Latest Threads

Top