An example to find the homeDirectory, profilePath, and lastLogon attributes for a user's account. (Replace the XXXXX, below, for the sAMAccountName attribute to the username you wish to query.)
ldapsearch -x -D snickers@NEXUS.UWATERLOO.CA -W -h lyra.uwaterloo.ca -b dc=nexus,dc=uwaterloo,dc=ca sAMAccountName=XXXXX dn homeDirectory profilePath lastLogon