User Tools

Site Tools


exchange:reporting_project:query_notes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
exchange:reporting_project:query_notes [2009/12/09 08:05]
ben
exchange:reporting_project:query_notes [2009/12/11 11:53] (current)
ben
Line 19: Line 19:
 "​CN=102 Philosophy,​OU=SIS,​DC=ais,​DC=columbia,​DC=edu",​102 Philosophy,​102 Philosophy "​CN=102 Philosophy,​OU=SIS,​DC=ais,​DC=columbia,​DC=edu",​102 Philosophy,​102 Philosophy
 </​code>​ </​code>​
- 
 ===== Queries required ===== ===== Queries required =====
  
Line 34: Line 33:
  
  
 +===== Common Name =====
  
 +CN and DN are used universally throughout LDAP and Microsoft'​s AD infrastructure,​ including Exchange Server 2003 System Manager. ​ The DN is more specific, and should be used for the unique identifier of an object. ​ The CN is easier to parse, and can be used in a lot of cases.  ​
 +
 +The simplest LDAP lookup for a Common Name looks like:
 +<​code>​
 +(cn=102 Philosophy)
 +</​code>​
 +Multiple CN's can be looked up via the OR operator, "​!",​ as such:
 +<​code>​
 +(!(cn=102 Philosophy)(cn=Ben Hall))
 +</​code>​
  
exchange/reporting_project/query_notes.1260363949.txt.gz ยท Last modified: 2009/12/09 08:05 by ben