Wednesday, August 05, 2009

MOSS 2007 – User Profile Imports and LDAP Cheat Sheet


I’ve tried to get an instance importing but still with no luck – there must be something else preventing it from importing… Anyways, I decided to write down my research for the day:

Default SharePoint settings are:

Search Base: dc=domain,dc=company,dc=com
Base Query: (&(objectCategory=person)(objectClass=user))


Options for Search Base:
Can define a specific OU to base the import on. eg. ou=Sydney,ou=Department1,dc=domain,dc=company,dc=com

Options for LDAP Filter Query:
Get all accounts with email address:

Get active accounts – filter our disabled AD accounts:

Get accounts in the Department1 OU:
(&(objectCategory=Person)(objectClass=User)(memberof:1.2.840.113556.1.4.1941:=(CN=Authenticated Users,OU=Department1,DC=domain,dc=company,dc=com)))

Get accounts with a first name:


Good References:
Scope of Query – Base, One Level, Subtree:

LDAP Search Filter Syntax:

Importing Specific group into SP User Profile Store with LDAP:

LDAP Attributes:

A Nice LDAP Attribute Table:

Assemblies – A good read on AnyCPU, x86, and x64

Just read the following blog spot by Eugene Rosenfeld, a MOSS MVP, about assembly compilations. In my opinion, a very good to read article: