Navigation

Search

Categories

On this page

MS Active Directory
Guitar Lesson 01
This is something I don't see every day

Archive

Blogroll

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

RSS 2.0 | Atom 1.0 | CDF

Send mail to the author(s) E-mail

Total Posts: 120
This Year: 1
This Month: 0
This Week: 0
Comments: 40

Sign In
Pick a theme:

# Wednesday, January 10, 2007
Wednesday, January 10, 2007 3:13:20 PM (Mountain Standard Time, UTC-07:00) ( )

Two things when query-ing AD.

  1. Don't specify a begging or mid-string wildcard, use the ending wildcard. (You can do this if you set up indexes differently than the out-of-box install)

    Bad

    (cn=*foo)
    (cn=foo*bar)
    

    Good

    (cn=foo*)
  2. A failrly un-documented feature, but very affective (because it's indexed), for finding user accounts is to specify this in the filter.

    (&(sAMAccountType=805306368)(!(objectClass=inetOrgPerson)))

    as a substitute for this

    (&(objectCategory=person)(objectClass=user))

Comments [0] | | # 
Wednesday, January 10, 2007 12:52:21 PM (Mountain Standard Time, UTC-07:00) ( )

My friend Jon Gillin is teaching me how to play the guitar.

I'll post more about what I learned later today.

Comments [1] | | # 
Wednesday, January 10, 2007 12:49:28 PM (Mountain Standard Time, UTC-07:00) ( )

I'm not saying the guys at Microsoft, Hotmail or Live are sleeping on the job here. Far from it in fact. These people run some of the most available websites I've ever seen.

Take a break guys, you deserve it.

Comments [0] | | #