
What you find in this directory
-------------------------------

Makefile:
	Creates the application "ldaptest". Depends on the environment
	variable GLOBUS_DEVELOPMENT_PATH. For instructions on how to
	set this variable see makefile. 

ldaptest.c
	Searches for the "contact" attribute associated with a resource
	manager name.

Exercises:
	1.
	Look at the code in ldaptest.c, make it and try it out with a
	a couple of different resource manager names. ldaptest takes
	two arguments, the first, which is mandatory is a the hostname
	associated with the resource manager, e.g. "bolas.isi.edu",
	"modi4.ncsa.uiuc.edu", and the second, which is optional is
	the service the resource manager provides, e.g. jobmanager-lsf. 
	These arguments are specified on the command line:
		
		ldaptest -h <hostname> [-s <servicename>]

	ldaptest returns the contact string for this resource manager,
	that is a host and port number to connect to, and the subject name
	of the X509 certificate that the gatekeeper presents to you when
	you do a GRAM submission to that resource.

	2.
 	Modify ldaptest.c to lookup the attributes "Longitude" and
 	"Latitude" of o="Argonne National Laboratory",
 	objectclass=GlobusOrganization.
	
