ldap.pl - cgi enabled ldap lookup script
Only one parameter is used, filter_name. This is a string of the name of the person to be looked up using ldap.
The script will return a list of names and email addresses that they can be mailed to using another script. The user name and password are acquired from session variables.
Will connect to the ldap server and return the connection. Dies if the connection cannot be made.
parameter 0 = host name for ldap server
parameter 1 = id of the person searching
parameter 2 = password of the person searching.
Generate list generates an array of hashes that will be passed into the the HTML Template to be printed. It takes 2 parameters as follows:
parameter 0 = A refernce to the mesg returned from the ldap search.
parameter 1 = A reference to the array of hashes to be populated by this function.
$Id: ldap.pl,v 1.1 2001/12/19 09:21:05 kyle Exp $