I am querying AD to get the first proxyaddresses:smtp field with only the username but it is giving me lots of other information that I don't really need.
Just ask for attribute 'proxyaddresses'.
Here's my query:
ldapsearch -x -h ad3.merog.org -b "dc=ad3,dc=merog,dc=org" cn="user name"
Ciao, Michael.