HighTechTalks DotNet Forums  

How to specify in coding if accessing "Writable Domain Controller"

Dotnet Security microsoft.public.dotnet.security


Discuss How to specify in coding if accessing "Writable Domain Controller" in the Dotnet Security forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Pucca
 
Posts: n/a

Default How to specify in coding if accessing "Writable Domain Controller" - 09-25-2007 , 10:22 AM






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.

Reply With Quote
  #2  
Old   
Joe Kaplan
 
Posts: n/a

Default Re: How to specify in coding if accessing "Writable Domain Controller" - 09-25-2007 , 11:41 AM






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

Quote:
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.



Reply With Quote
  #3  
Old   
Pucca
 
Posts: n/a

Default Re: How to specify in coding if accessing "Writable Domain Control - 09-25-2007 , 12:40 PM



Nope, haven't seen the Writable DC in the option. If all DC are writable now
then that answers my question. Thank you Joe.
--
Thanks.


"Joe Kaplan" wrote:

Quote:
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.




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.