View Single Post
  #7 (permalink)  
Old 05-02-2007, 04:16 PM
ardiederich ardiederich is offline
Member
 
Posts: 12
Default

I spoke slightly too soon. I get the first & last names back from the search to Active Directory, but not other data -- phone, cell phone, email, etc. Is there a way to specify the data to come back?

I've done a command line ldapsearch, and I am getting data back:

ldapsearch -h exampledc.example.corp -x -b "dc=example,dc=corp" -D "andrew.diederich@example.corp" -W cn="*andrew*"

Gets back info like:
cn: Andrew Diederich
...
telephoneNumber: (202)555-1212
mail:

Last edited by ardiederich : 05-02-2007 at 04:25 PM. Reason: more info added
Reply With Quote