Solved

Chaning the LDAP Policies on Domain Controller

Posted on 2011-02-25
3
421 Views
Last Modified: 2012-05-11
Hi guys,
So here is my case;

I have added a linked server in MS SQL to ADSI (OLEDB LDAP), and created multiple views for other business applications to use for query to AD. But I quickly found out the 1000 row limit (in the LDAP Policy, MaxPageSize). I know that we can use ntdsutil to change the policy, but I also found a lot of people warning / not advising to change the policy..

So what do you guys think ? We have a large enterprise AD with multiple child domains, sites and around 60 domain controller wordwide. (So I don't what to f*ck shit up..)
(We run Windows 2003 R2 Domain Controllers and MS SQL 2005)

Thanks for all feedback ;-)  
0
Comment
Question by:dds_felles
3 Comments
 
LVL 27

Accepted Solution

by:
KenMcF earned 250 total points
ID: 34978779
It is highly NOT recomended to change this setting. You will put extra overhead on all your domain controllers. The best thing to do here is fix your code. You should be using paged searches when doing queries against AD.
0
 
LVL 11

Assisted Solution

by:Tasmant
Tasmant earned 250 total points
ID: 34978859
I think you cannot do it, it's described here: http://msdn.microsoft.com/en-us/library/ms190803.aspx
Only 1000 results can be returned by the OLE DB provider.
0
 
LVL 1

Author Comment

by:dds_felles
ID: 35015030
Hi guys,

Thanks for the feedback, I did some changes in my SQL view (used the "union all" clause), worked like a charm ;-)

0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now