On 06/08/06, Michael Ströder <[EMAIL PROTECTED]> wrote:
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.
This may be a good starting point:
http://in.php.net/ldap
regards
Manilal
b����.����\����&�v�%u�n�'!yۚ��܆+ޙ��j�!����d��{.n�+���zw^�����]j�ު笶��r�����^�PԔ
� [EMAIL PROTECTED],j