Re: Scripted LDAP Searches

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



With the first one - if I understand what you mean by 'array' correctly
- you will retrieve objects in the order they were added to AD - not
necessarily alphabetically or other sorted means.

With the second one - can it find anything? Is the prod server in a
seperate domain - is it a permissions issue?

-Matt

On Jan 17, 7:45 am, Keith <K...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
We have created a C# web application that creates an OU and sub-OUs per our
standard structure, creates infrastructure groups for that OU, applies
permissions to OU structure, and links GPOs that apply for that given
domain\site...

We are seeing two things that i have questions about:
1) We search (LDAP) and add a domain level administrative group to a OU
level group to give it rights to that OUs structure and objects. When running
the application from our test server, and talking to the same domain
controller in production (hard coded), the array order that is returned is
different when running the application from production server. Why?

2) We search (LDAP) and link an existing GPO to one of our sub-OUs. When
running the application from our test server, and talking to the same domain
controller in production (hard coded), it finds the GPO and links
successfully. When running the application from our production server it
cannot find the GPO and function fails. They are talking to the same domain
controller and we have confirmed that the GPO exists in SYSVOL on all the
domain controllers (which should not matter since we hard coded the
particular domain controller that we want to talk with)...thoughts???

.



Relevant Pages

  • Re: Scripted LDAP Searches
    ... It has a facility for searching for the GPO, and then linking it to a container, and even setting it to the highest priority in the list. ... When running the application from our test server, and talking to the same domain controller in production, the array order that is returned is different when running the application from production server. ...
    (microsoft.public.windows.server.active_directory)
  • Re: No ability to add GPO
    ... create a GPO from the Windows 2003 server, ... That is a link for the updated ADM's through Windows 2003. ... >>> Controller. ...
    (microsoft.public.windows.terminal_services)
  • Automatic Updates options are greyed out, SBS 2003 and WSUS
    ... The SBS server is the DC ... GPO: Default Domain Policy ... Computer Setting: 50 ... GPO: Default Domain Controllers Policy ...
    (microsoft.public.windows.server.sbs)
  • Re: NT4 -> Win2K3 question
    ... disable SMB signing for the Workstation or Server service on a domain ... Get Secure! ... The File Replication Service Event log test ... controller to the following destination domain ...
    (microsoft.public.windows.server.migration)
  • Re: SCW question.
    ... Created a new Server and installed IIS. ... and saw that the default rights for IUSR and IWAM users are there. ... Server to the domain without and GPO's applied...Local Security policy ... rights (which coincides with my Member server GPO settings). ...
    (microsoft.public.windows.server.security)