Can this provisioning application trigger the repadmin command?

Specifically "repadmin /replicate"?

http://technet.microsoft.com/en-us/library/cc742152.aspx

-- 
Phil Brutsche
[email protected]

-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of Joseph L. Casale
Sent: Friday, January 24, 2014 4:32 PM
To: [email protected]
Subject: [NTSysADM] Active Directory replication and account modifications

I have a provisioning application that at two different stages contacts AD and 
manipulates an existing account object via LDAP to change its sAMAccountName 
and userPrincipalName and later via ADSI, creates a new account object with the 
old values.

Problem exists with replication, the create always fails as its not performed 
late enough after the original account is manipulated and therefor an account 
exists if it hits a new dc.

What programmatic means can I trigger an immediate replication of the account 
object, and invalidate the old data? A lockout does this, but via ldap I am not 
aware of a means to do this elegantly?

Anyone have any insight to this?
jlc



Reply via email to