On Fri, 2010-04-30 at 13:11 -0400, Daniel Lenski wrote: > On Fri, 2010-04-30 at 12:34 -0400, Eric Sturdivant wrote: > > A couple of things to keep in mind: > > > > - If you want to search for students you will need to bind to the > > directory first using your directory id and password (E.g. > > 'lenski' not 'len...@umd.edu'). > > - If you are going to bind to ldap, you probably want to use LDAP > > over SSL (ldaps://directory.umd.edu) > > Do you have an example of how to do either of these from the command > line with ldapsearch?
The following has worked for me in the past (substitute your own directory ID), but something seems to be wrong with the SSL interface now as you noticed: ldapsearch -H ldaps://directory.umd.edu -D 'uid=rmccutch,ou=people,dc=umd,dc=edu' -x -W "$@" -- Matt