![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I'm using vs2005 and .net 2 for a C# windows application. I looked around on the net but couldn't get a good description on what is a writable Domain Controller. I know there are read only DC so is writable just means one can update the AD database like adding users or groups.... In AD Users and Computers, when one selects to connect to domain controller, a dialog windows displays with the option of connecting to "Any Writable Domain Controller". If I want to do that in my application, how do I specify this when I define a DirectoryContext or when I use DomainController.GetDomainController(DC)? Thank you. -- Thanks. |
#3
| |||
| |||
|
|
I'm not sure if the flags for DC locater for specifying a writable DC have been exposed yet in .NET. Perhaps they will be exposed in .NET 3.5? I'm not sure. Note that until Windows Server 2008 is released and there are actually read-only domain controllers out there, all AD servers are writable. Joe K. -- Joe Kaplan-MS MVP Directory Services Programming Co-author of "The .NET Developer's Guide to Directory Services Programming" http://www.directoryprogramming.net -- "Pucca" <Pucca (AT) discussions (DOT) microsoft.com> wrote in message news:7E3B15D3-77FC-4222-873E-ECE720325481 (AT) microsoft (DOT) com... Hi, I'm using vs2005 and .net 2 for a C# windows application. I looked around on the net but couldn't get a good description on what is a writable Domain Controller. I know there are read only DC so is writable just means one can update the AD database like adding users or groups.... In AD Users and Computers, when one selects to connect to domain controller, a dialog windows displays with the option of connecting to "Any Writable Domain Controller". If I want to do that in my application, how do I specify this when I define a DirectoryContext or when I use DomainController.GetDomainController(DC)? Thank you. -- Thanks. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |