Add sample script for getting group membership from LDAP.

Add sample script for getting group membership from LDAP.
based on ldapsearch.