Tim Crouch wrote:
> 
> I need a web form that a user can enter something unique (DOB, ID, etc.) 
> then the backend (cgi,perl, whatever) will search my directory and return
> their uid.  I can script everything using ldapsearch on the command line 
> and use cut, etc.  however, I am lost on how to pass the user input to the
> ldapsearch variable then return the results in a web page.  Anyone doing 
> this?

My strong recommendation is NOT to use command-line tools in web
programs. Especially if you're not an experienced programmer you likely
end with yet another insecure CGI-BIN...

Use a decent scripting together with an LDAP module! Much less hassle.
It should be possible to find sample code. If you don't have a favourite
scripting language this is the right time to choose one.

Ciao, Michael.

---
You are currently subscribed to [email protected] as: [EMAIL PROTECTED]
To unsubscribe send email to [EMAIL PROTECTED] with the word UNSUBSCRIBE as the 
SUBJECT of the message.

Reply via email to