LDAP query for importing Distribution list and Users from Active Directory in SharePoint
Hello All,
I was trying to import new Distribution group from my Active Directory but I was unable to do that. On investigating I found out that it was impossible as I was not using the LDAP Query for importing Group viz. located at
"Shared Services Administration: SSP
> User Profile and Properties >
Manage Connections" Edit connection and you can see the configuration for same. I am using default configuration viz. User Filter : (&(objectCategory=Person)(objectClass=User)) By this it imports all new Users added to system.
I am looking for answer of two questions :
1) How it is possible that it has existing distribution list and not newly added distribution list. ( I have crawl schedule every day)
2) How can we automate the task of importing newly distriubution list as well as users in one User Filter ( LDAP Query ) ?
Thanks in advance.
SP Learner
May 5th, 2010 10:29pm
Hi,
If you want to import AD distribution groups or users into your SSP, you can use the following user filter to import them into your SSP.
(|(objectCategory=Person)(objectClass=User)( objectClass=Group))
If you want to find all users or groups objects created after a specified date (01/01/2010), use the following filter.
(&(|(objectcategory=person)(objectclass=user)(objectclass=group))(whencreated>=100101000000Z))
For more information about LDAP syntax, please refer to the following articles:
http://technet.microsoft.com/en-us/library/cc961564.aspx
http://technet.microsoft.com/en-us/library/aa996205(EXCHG.65).aspx
http://www.rlmueller.net/ADOSearchTips.htm
Hope this is helpful to you.
Rock WangRock Wang MSFT
Free Windows Admin Tool Kit Click here and download it now
May 7th, 2010 4:54am
Thanks Rock wang for you reply I tried few things but concluded one thing that without doing much modification one can easily import Security Group. And my network admin was fine with creation of Security group which I wanted so I hadn't looked further on
this. But appreciated your reply.
Thanks,
SP Learner
May 13th, 2010 6:48pm