Re: Multiple Domains
- From: "Herb Martin" <news@xxxxxxxxxxxxxx>
- Date: Sun, 10 Jun 2007 19:43:13 -0500
"Ryan Hanisco" <RyanHanisco@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:10CAD1D2-4649-437A-8B2D-64177BAAE9D0@xxxxxxxxxxxxxxxx
The other possible problem could be the number of results returned. There
is
a default number of results that it returns in a query. Depending how you
are retrieving these results the number can be different (ADSI vs. outlook
vs. some other methods). Just as there are different queries, there are
different ways to change the threshold -- registry setting or search
string
criterion.
Good point but one would expect this will be the same for different users
(e.g., admin etc) using the same query method/program.
So by looking to see if you get the same number, but still incomplete
results
with different users should help track this down as the source of the
problem.
--
Herb Martin, MCSE, MVP
http://www.LearnQuick.Com
(phone on web site)
Hope this helps.
--
Ryan Hanisco
MCSE, MCTS: SQL 2005, Project+
Chicago, IL
Remember: Marking helpful answers helps everyone find the info they need
quickly.
"Herb Martin" wrote:
"EMan" <EMan@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:8F17E774-57C2-41B7-90ED-F708DAAA136D@xxxxxxxxxxxxxxxx
I have two Domains D1 and D2 where there is a one way trust between D1
and
D2
(D1 trusts D2).
Then users in D2 can (be granted) access (to) resources in D1.
I have an application using LDAP to read the AD in D2 from
D1 using a service account from D2.
Ok.
The service account is a user in the OU I am trying to read.
Doesn't matter. Membership in any particular OU has nothing to
do with access, except in the sense that you have chosen to delegate
there.
When the LDAP is executed I get some users, but not all
of the users and I can't understand the reason why all users are not
returned. What can I do to read all of the users?
Chances are the same results will be returned if you execute this as
any other user (e.g., and Admin) would get the same results -- IF
not then you likely have a permission problem where you have not
delegated the necessary permissions to the account.
Check you script locally, check it using another (admin) user, check
it remote with the admin until you can figure out what the specific
difference is if you have incorrect results.
Thanks,
EMan
--
Herb Martin, MCSE, MVP
http://www.LearnQuick.Com
(phone on web site)
.
- References:
- Re: Multiple Domains
- From: Herb Martin
- Re: Multiple Domains
- From: Ryan Hanisco
- Re: Multiple Domains
- Prev by Date: Re: netbios name vs computer account name
- Next by Date: Re: Multiple Domains
- Previous by thread: Re: Multiple Domains
- Next by thread: Re: Multiple Domains
- Index(es):
Relevant Pages
|