Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
platform
active.directory
adsi
adsi.iis-admin
base
com_ole
complus_mts
component_svcs
database
directx
gdi
graphics_mm
internet.client
internet.server
internet.server.isapi-dev
localization
mapi
messaging
msi
mslayerforunicode
multimedia
networking
networking.ipv6
sdk_install
security
shell
telephony.tapi_2
telephony.tapi_3
telephony.tsp
telephony.wte
tools
ui
ui_shell
win_base_svcs
win16
  
 
date: 10 Aug 2005 03:23:40 -0700,    group: microsoft.public.platformsdk.adsi        back       


DsReplicaGetInfo - naming context?   
Hi,

Could anyone send the same code for DsReplicaGetInfo() method.

I am trying to obtain replication information for a DC; very similar to
how
'repadmin /showreps <computer name>' works.  However, I haven't been
able to
figure out how this works!  It requires a namingContext but I can't get
it
to work correctly (I always get error 8440 - bad naming context).

Also, does anyone know how to get the replication schedule?  e.g. the
allowable times and frequency that a DC should replicate with other
DC's?

Does anyone have any any working sample code that I could examine for
this?
Or could at least tell me the naming context for which container I
should be
using? E.g. the ones in CN=Parititions,CN=Configuration or
CN=Sites,CN=Configuration ???  And to which particular object?

Thanks, 
Senthilkumar.
date: 10 Aug 2005 03:23:40 -0700   author:   senthil kumar

Re: DsReplicaGetInfo - naming context?   
The naming context is going to be the naming context that you want the info 
for... such as

dc=domain,dc=com
cn=configuration,dc=domain,dc=com


Replication schedule information is maintained in the sitelink objects.


--
Joe Richards Microsoft MVP Windows Server Directory Services
www.joeware.net


senthil kumar wrote:
> Hi,
> 
> Could anyone send the same code for DsReplicaGetInfo() method.
> 
> I am trying to obtain replication information for a DC; very similar to
> how
> 'repadmin /showreps <computer name>' works.  However, I haven't been
> able to
> figure out how this works!  It requires a namingContext but I can't get
> it
> to work correctly (I always get error 8440 - bad naming context).
> 
> Also, does anyone know how to get the replication schedule?  e.g. the
> allowable times and frequency that a DC should replicate with other
> DC's?
> 
> Does anyone have any any working sample code that I could examine for
> this?
> Or could at least tell me the naming context for which container I
> should be
> using? E.g. the ones in CN=Parititions,CN=Configuration or
> CN=Sites,CN=Configuration ???  And to which particular object?
> 
> Thanks, 
> Senthilkumar.
>
date: Mon, 15 Aug 2005 18:07:00 -0400   author:   Joe Richards [MVP]

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us