Sunday, 11 April 2010

Monitor Active Directory LDAP Queries

I recently had a requirement to view the LDAP Queries that Exchange 2010 was running against a 2008 Active Directory Server when a Service Starts.

When the LDAP queries are sent to the Active Directory Server they are encrypted meaning that tools like Wireshark and Network Monitor can’t be used.

In researching into how I could monitor these queries on Server 2008 I came across this blog post. Which describes how to use the Reliability and Performance Monitor (RPM) to monitor Active Directory which includes the LDAP queries.

The results are captured in a file called “Active Directory.etl” and stored in subfolders under “c:\perflogs\ADDS”. When the Capture is stopped, RPM generates a report which contains an analysis of the captured data, including the top 25 LDAP queries.

The top 25 LDAP queries appear to be the most CPU intensive queries, this may be useful for some people but of  little use if you are wanting to view all of the LDAP queries.

Luckily all is not lost all of the queries are stored within the Active Directory.etl filet. Looking into how I could extract information from this file, I found this post. The only slight difference is that I needed to use the –lr flag in order to extract the LDAP queries.  The full command is:

tracerpt -lr "Active Directory.etl""

This produces an XML file called dumpfile.xml and contains all of the captured LDAP queries, unfortunately it does not store the results of the queries.

17 comments:

  1. Great thanks for extending help! It gives relief knowing that we can extract our file information with this system.

    ReplyDelete
  2. That's a very helpful stuff. Thanks for including this on your post. This is very helpful.

    ReplyDelete
  3. https://afu.ac.ae/ar Mass/vision-&-Mission
    https://afu.ac.ae/ar mass-goals
    https://afu.ac.ae/ar Mass-deans-message
    https://afu.ac.ae/ar Mass-college-council
    https://afu.ac.ae/ar Mass-new-media
    https://afu.ac.ae/ar Media-about-the-program
    https://afu.ac.ae/ar Media-aims
    https://afu.ac.ae/ar Media-course-description
    https://afu.ac.ae/ar Media-goals
    https://afu.ac.ae/ar Media-Guidance-Plan
    https://afu.ac.ae/ar Journalism-about-the-program
    https://afu.ac.ae/ar Journalism-aims
    https://afu.ac.ae/ar Journalism-course-description
    https://afu.ac.ae/ar Journalism-goals
    https://afu.ac.ae/ar Journalism-Guidance-Plan
    https://afu.ac.ae/ar Pr-public-relation
    https://afu.ac.ae/ar Masspr-about-the-program
    https://afu.ac.ae/ar Pr-aims
    https://afu.ac.ae/ar Pr-course-description
    https://afu.ac.ae/ar Pr-goals
    https://afu.ac.ae/ar Pr-Guidance-Plan
    https://afu.ac.ae/ar Mass-academic-staff
    https://afu.ac.ae/ar Mass-media
    https://afu.ac.ae/ar Mass-news
    https://afu.ac.ae/ar somthingelse-test-page
    https://afu.ac.ae/ar Media-Study-Plan
    https://afu.ac.ae/ar Journalism-Study-Plan

    ReplyDelete
  4. https://afu.ac.ae/ar Accounting-study-plan
    https://afu.ac.ae/ar Health-Study-Plan
    https://afu.ac.ae/ar Tourism-study-plan
    https://afu.ac.ae/ar Master-Accounting-study-plan
    https://afu.ac.ae/ar Hr-study-plan
    https://afu.ac.ae/ar Master-business-study-plan
    https://afu.ac.ae/ar Master-Marketing-study-plan
    https://afu.ac.ae/ar Main-course-registration
    https://afu.ac.ae/ar schedule-Master-first-semester-20152016
    https://afu.ac.ae/ar time-table-college-of-business-administration
    https://afu.ac.ae/ar header-test
    https://afu.ac.ae/ar time-table-general-req
    https://afu.ac.ae/ar time-table
    https://afu.ac.ae/ar new-students-orientating-in-al-falah-university
    https://afu.ac.ae/ar the-add-drop-period-for-the-academic-year-2015-16
    https://afu.ac.ae/ar testtests
    https://afu.ac.ae/ar afu-vice-president
    https://afu.ac.ae/ar eid-al-adhaa
    https://afu.ac.ae/ar ielts-test
    https://afu.ac.ae/ar community-engagement
    https://afu.ac.ae/ar al-shabab-club-agreement
    https://afu.ac.ae/ar afu-website-committee
    https://afu.ac.ae/ar a-workshop-titled-national-strategy-for-youth-empowerment
    https://afu.ac.ae/ar poetry-and-literacy-competition
    https://afu.ac.ae/ar afu-investment-and-trading-laboratory
    https://afu.ac.ae/ar presentation-on-ranking-on-webometrics
    https://afu.ac.ae/ar Dean's Message
    https://afu.ac.ae/ar lecture
    https://afu.ac.ae/ar lecture"1st step"
    https://afu.ac.ae/ar general-requirements
    https://afu.ac.ae/ar test
    https://afu.ac.ae/ar test-test
    https://afu.ac.ae/ar academic-calender
    https://afu.ac.ae/ar Apply-Now
    https://afu.ac.ae/ar directory-test
    https://afu.ac.ae/ar handbooks
    https://afu.ac.ae/ar staff-handbook
    https://afu.ac.ae/ar faculty-handbook
    https://afu.ac.ae/ar about-dubai
    https://afu.ac.ae/ar keep
    https://afu.ac.ae/ar welcome
    https://afu.ac.ae/ar transfer-student
    https://afu.ac.ae/ar Admission-&-Regiestraion/contact-us
    https://afu.ac.ae/ar briefed-academic-calendar
    https://afu.ac.ae/ar complaint-and-suggestion
    https://afu.ac.ae/ar Website-committee
    https://afu.ac.ae/ar risk-management-committee
    https://afu.ac.ae/ar exam-committee
    https://afu.ac.ae/ar hiring-and-promotion-committee
    https://afu.ac.ae/ar community-engagement-committee
    https://afu.ac.ae/ar time-table-committee
    https://afu.ac.ae/ar study-plan-committee
    https://afu.ac.ae/ar library-committee
    https://afu.ac.ae/ar budget-committee
    https://afu.ac.ae/ar disciplinary-committee-students
    https://afu.ac.ae/ar disciplinary-committee-faculty
    https://afu.ac.ae/ar board-of-trustees
    https://afu.ac.ae/ar deans-council
    https://afu.ac.ae/ar Councils-&-Committees
    https://afu.ac.ae/ar new-program-development-committee
    https://afu.ac.ae/ar appeals-committee-afu
    https://afu.ac.ae/ar course-file-committee
    https://afu.ac.ae/ar professional-development-committee
    https://afu.ac.ae/ar message-from-the-chancellor
    https://afu.ac.ae/ar university-councils

    ReplyDelete
  5. https://afu.ac.ae/ar law-community-engagement
    https://afu.ac.ae/ar law-textbooks
    https://afu.ac.ae/ar about-law
    https://afu.ac.ae/ar student-survey
    https://afu.ac.ae/ar policies-and-procedures-manual
    https://afu.ac.ae/ar institutional-effectiveness-manual
    https://afu.ac.ae/ar disciplinary-list
    https://afu.ac.ae/ar exam-time
    https://afu.ac.ae/ar final-exam-mba
    https://afu.ac.ae/ar register-fees
    https://afu.ac.ae/ar programs
    https://afu.ac.ae/ar testing
    https://afu.ac.ae/ar Registration-Form-College-of-Law
    https://afu.ac.ae/ar Business Registration Form
    https://afu.ac.ae/ar mass-communication-college-form
    https://afu.ac.ae/ar schedule-spring-semester-20152016
    https://afu.ac.ae/ar English-Language-Proficiency
    https://afu.ac.ae/ar transfer-students
    https://afu.ac.ae/ar mba-tuition-and-fees
    https://afu.ac.ae/ar afu-admission-policy
    https://afu.ac.ae/ar inquires
    https://afu.ac.ae/ar visit-us
    https://afu.ac.ae/ar media-club
    https://afu.ac.ae/ar students-council
    https://afu.ac.ae/ar test1
    https://afu.ac.ae/ar compulsory-general-education-program
    https://afu.ac.ae/ar compulsory-college-requirements
    https://afu.ac.ae/ar college-elective-courses

    ReplyDelete
  6. https://afu.ac.ae/ar compulsory-specialization-courses-journalism
    https://afu.ac.ae/ar pr-compulsory-specialization-courses
    https://afu.ac.ae/ar admission-application
    https://afu.ac.ae/ar FAQ
    https://afu.ac.ae/ar what-are-the-required-documents-for-undergraduate-admission
    https://afu.ac.ae/ar what-are-the-required-documents-for-the-mba-admission
    https://afu.ac.ae/ar what-are-the-undergraduate-general-admission-requirements
    https://afu.ac.ae/ar what-are-the-mba-admission-requirements
    https://afu.ac.ae/ar what-are-the-conditions-for-transferred-courses
    https://afu.ac.ae/ar what-is-the-required-toeflielts-grade-for-study-at-afu
    https://afu.ac.ae/ar why-afu
    https://afu.ac.ae/ar suggestion-or-complaints
    https://afu.ac.ae/ar complaint
    https://afu.ac.ae/ar athletics
    https://afu.ac.ae/ar al-falah-university-is-now-an-official-ielts-test-venue-in-dubai
    https://afu.ac.ae/ar electronic-resources
    https://afu.ac.ae/ar subscription-database

    ReplyDelete
  7. https://afu.ac.ae/ar e-resources
    https://afu.ac.ae/ar tesees
    https://afu.ac.ae/ar business-data-analysis-a-crossroad-between-research-and-education
    https://afu.ac.ae/ar al-falah-university-this-week
    https://afu.ac.ae/ar this-week-al-falah-university
    https://afu.ac.ae/ar eid-al-adha
    https://afu.ac.ae/ar the-new-islamic-year-1438h
    https://afu.ac.ae/ar al-falah-university-congratulates-dr-mohanad-halaweh
    https://afu.ac.ae/ar al-falah-university-participates-in-the-wetex-2016
    https://afu.ac.ae/ar delegation-from-the-general-directorate-of-traffic-dubai-police-visits-al-falah-university
    https://afu.ac.ae/ar councils-and-committees
    https://afu.ac.ae/ar afus-community
    https://afu.ac.ae/ar law-academic-staff
    https://afu.ac.ae/ar Digital-and-Social-Media-Workshop
    https://afu.ac.ae/ar coba-councils
    https://afu.ac.ae/ar law-councils
    https://afu.ac.ae/ar student-support-office
    https://afu.ac.ae/ar alfalah-university-congratulates-prof-nasr-abbas
    https://afu.ac.ae/ar coba-publications
    https://afu.ac.ae/ar publications
    https://afu.ac.ae/ar publications
    https://afu.ac.ae/ar publications
    https://afu.ac.ae/ar publications-choises
    https://afu.ac.ae/ar office-of-the-chancellor
    https://afu.ac.ae/ar office-of-vpaa
    https://afu.ac.ae/ar uae-flag-day
    https://afu.ac.ae/ar main-publications

    ReplyDelete