??? ????? ???????? ??? ??????? ????? ???????? ??????? ???? Active Directory

?????? ????????? ?????? ?????????
???? ???????: 232072 - ??? ???????? ???? ????? ????? ??? ???????.
??????
????? ??? ??????? ??? Windows 2000. ????? ?? Windows 2000 ????? ?? 13 ????? 2010.Windows 2000 End-of-Support Solution Center ???? ????? ?????? ?????????? ??????? ????? ?? ?? ???? ??????? Windows 2000. ????? ?? ????????? ???? Microsoft Support Lifecycle Policy.
????? ???? | ?? ????

?? ??? ??????

??????

???? ??? ??????? ???? ??? ??? ????? ???????? ??? ????? ????? ???????? ???????. ???? ??? ?????:
  • ???????? ?????? ???????? MMC ????? ? ????? Active Directory
  • ??????? ???? ??? ??????? Repadmin.exe ?? ?????? ????? ??? Windows 2000
  • ?? ???????? ??? ?? Microsoft Visual Basic ??????? ???? COM ?? ?????? ????? ??? Windows 2000
  • ??????? "?????? ????? ???????? ???? Active Directory" (Replmon) ?? ?????? ????? ??? Windows 2000
?? ?? ??? ????? ?????? ??????? ??? ????? ??????? ??????? ?????? ????????? ??????? ??? ??????? ?? ?? ??????? ???? ????? ??????? Windows 2000.

??????? ????

????? Active Directory ?? ???? ?? ????? ?????? ?? ?????? ???????. ?? ??? ???? ???? ????? ??????? ?? "Active Directory" ???? ???? ???? ????? ???????? ??? ????? ?????? ???????.

?? "Active Directory" ???? ????? ???? ???? ??? ????? ????? ????? ??????:
  • ??????
  • ??????? (???????? ????? ???????? ??????? ??????? ??? ?????)
  • ??? ???? ?? ???? ??? ???? ?????? (??????? ??????? ???? ????? ??? ?????? ?????? ??????? ?? ??????)
??? ???? ??????? ??? ???? ?????? ??????? "DC1" ?? ?????? "ntdev.microsoft.com" ????? ?????? ?????? (??????? ???? ???? "microsoft.com" ???? ?????? ????? ??? DC1 ??? ???? ???? ????? ??????):
  • ?????? (CN = ???? CN = ????? ???? ???? ?????? = microsoft DC = com)
  • ????? (CN = ????? DC = microsoft DC = com)
  • NTDEV ?????? (DC = ntdev DC = microsoft DC = com)
???? ???? ?????? "DC2" ?? ?????? "support.microsoft.com" ????? ??? ????? ?????? ?????? (??????? DC2 ??? ???? ???? ????? ??????):
  • ?????? (CN = ???? CN = ????? ???? ???? ?????? = microsoft DC = com)
  • ????? (CN = ????? DC = microsoft DC = com)
  • ??? ?????? (DC = ??? DC microsoft DC = = com)
??? ??? ?????? ???????? ??? ?? ???? ???? ???? ?? ?????? ?????? ?????. ?? ??? ???? ??? ???? ??? ??? ??? ????? ?????? ??????? ???? ?????? ???????? ????? ???? ?????? ????? ???? ???? ????? ??????. ?? ??? ??????? DC1 DC2 ????? ???????? ????? ?????? ?????? ' ? ' ????? ?? ????? ????? ???? ??? ????? ????? ???????? ????? ?????? ??? ???? ????? ?????? ????. ????? ???? ?????? ?? ??? ?????? ????? ???????? ????? ??????? ?????? ??????? ?? ????? ?????.

??? ?? ?????? ????? ??? ?????? "??????" ???? ?????? ??????? ???? ?????? ??? ??????? ????????? ??? ??? ??????. ???? ???? ?????? "???" ????? ?????????.

??? ????? ???????? ??????? ????? ?????? ????? ???? ??????

  1. ???? ??? ???? ???? ??? ???????? ???? ??? ????? ?????? ?? ???? ??? ????? Active Directory ????????.
  2. ?? ?????? ????? ??????? ?? ????? ??????. ?? ?????? ???? ???? ????? ?????? ???? ????? ??? ?????? ????? ???? ??? ?? ???? ??????? ?? ????? ????? ????????.
  3. ?? ?????? ???? ?????? ?? ?? ?????? ?????? ????? ???? ???? ??????? NTDS (???? ???? ???? ????????? ????? ?????? ???????).
  4. ???? ??? ???? ??????? NTDS. ???? ???????? ????? ?? ????? ?????? ????? ????? ???????? ??????? ?????? ?????.
  5. ???? ??? ?????? ?????? ??? ???? ????? ?? ????? ?????? ?? ???? ??? ??? ?????? ????. ???? Windows 2000 ????? ???????? ????????? ?? ?????? ?????? (????? ???? ????? ??????) ??? ?????? ????? ????? ??????? ?????? ????? ?????? ????? ????? ???????? ?? ?????? ??????.

??? ????? ???????? Repadmin.exe ???????

Repadmin.exe ????? ?? ???? ??? ????? ?? Windows 2000 Resource Kit ??????? ?? ???? "????? ?????" ??? ????? ??????? ????? ??????? Windows 2000.
  1. ????? ??? ?????? ????? ???? ????? ??? ?? ??? ??????.
  2. ?? ???? ???????? ?????? Repadmin.exe ?????? ????? ????? ???????? ??????? ?????? ????? ?????? ????? ??????:
    /showreps repadmin target_server_name
    ??? ?? ???? ?????? ??? ?????? ????? ???? ????? ????? ????? ??????. ?? ??? ??????? DC1 DC2 ???? ???? ?? ??? ?????? "support.microsoft.com."
    Redmond\DC1
    ?????? DSA: (???)
    ???? ??????: 4a11d649 f9ab 11 d 2-b17f-00c04f5cb503
    invocationID: 45d18b0b f9ab 11 d 2-98b8-0000f87a546b

    ==== ?????? ??????? ======================================

    CN = ???? CN = ????? ???? ???? ?????? = microsoft DC = com
    Redmond\DC2 ??? ??????? ????? ?? ????
    ???? ??????: d2e3badd e07a 11 d 2-b573-0000f87a546b
    @ 18:07.04 1999-05-03 ??? ?????? ?????.
    CN = ????? DC = microsoft DC = com
    Redmond\DC2 ??? ??????? ????? ?? ????
    ???? ??????: d2e3badd e07a 11 d 2-b573-0000f87a546b
    @ 18:07.05 1999-05-03 ??? ?????? ?????.
    DC = ??? DC = microsoft DC = com
    Redmond\DC2 ??? ??????? ????? ?? ????
    ???? ??????: d2e3badd e07a 11 d 2-b573-0000f87a546b
    @ 18:07.09 1999-05-03 ??? ?????? ?????.

    (?????? ???? ??????? ???? ?? ????? ??? ??? ???????.)
    ??? ?????? "??????? ??????" ??????? ??? ????? ????? ????? ???????? ??????? ?? ??? ?? ??? ?????? ?? ???? ????? ???????? ??????.
  3. ????? ?? ??? ???? ????? ??????? ???? ???? ???? ?????? ???? ???? ?????? ?????. ???? ???? ?????? ?? ?????? ??????.
  4. ??????? Repadmin.exe ???? ????? ???????? ?????? ????? ??????:
    repadmin /sync directory_partition target_server_name source_server_objectGuid
    ??? ???? ??????? ??? ????? ???????? ??? DC1 ???? ??? ??? ????????? ?? DC2:
    repadmin /sync dc = ?????? dc = Microsoft ? dc = com DC1 d2e3badd e07a 11 d 2-b573-0000f87a546b
    ?? ???? ???? ???? Repadmin.exe ???? ??????? ???????:
    ReplicaSync() ?? ????: d2e3badd e07a 11 d 2-b573-0000f87a546b, ??? dest: DC1 ???????.
???? ???????? ????? ??????? ???? ??????? ??????? ?? ??? ???????:
  • / ???: Overrides ????? ????? ???????? ??????.
  • /async: ???? ????? ????? ????????. Repadmin.exe ?? ????? ?????? ????? ????? ????????.
  • / ?????: ??? ????? ?????? ???? ?? ???? ???????? ?? ???? DSA.

??? ????? ???????? ?? ?????? ??? Visual Basic ??????? IADsTools

??? ???? ???? ????? ??????? Windows 2000 ????????? ???? ???? ????? ???????? ????? ?? ?????? Windows 2000 ??? ????? Resource Kit ? ?????? "?????? ????? ???????? ???? Active Directory" IADsTools (???? COM ???? ???? ????????? ?? ?????? ?? ??????? ??? ?? ??? ??? ??????? ??? ??????? ????? ????? ????????). ???? ??????? ????? ??? ?????? ?????? ?? ????? Windows 2000 Resource Kit.

???? ??????? ?????? ReplicaSync ?????? ???? ???? ???? ??? ?? ???? ??? ???? ????. ?? ???? ???? ?????? ReplicaSync ??? ???
ReplicaSync (target_server, directory_partition ? source_server ? use_flags, use_credentials)
???:
  • target_server???? ???? ?????? ????? ????????? ???? ??? ???????? ?? source_server.
  • directory_partition?? ??? ????? ????????.
  • source_server?? ???? ???? ?????? ???? ???? ????? ??? ?????? ????????? ??? ?????? ?????.
  • use_flags?? ??? ?????, ???? ?? ???? ??????? ??? 1? ?????? ???? ???????? ??????? ?????? SetReplicaSyncFlags (???? ????? Windows 2000 Resource Kit ?????? ??? ???? ?? ?????????) ?????? ???????? ???? ??? ??????? ?? ?????. ?????? ?? ?????? ??????? ???? 0 (???).
  • use_credentials?? ???? ????????? ???? ??????? ??? ??? ???????? ??? ?????? ?????? ??????? ???????? ????????. ??? ?? ????? ??? ??????? ?? ?????? 1 ???? ?????? ?? ?????? ???????? ??????? ?????? ?????? SetUserCredentials (?????? ?????) ?????? ??? ?? ?????. ??? ?? ????? ??? ??????? ??? ????? ????? use_flags.
???? ??? ?????? 0 ?? ??? ???? ?? ??? 1.
??? ???? ??????? ??? ??? ???????? ??? ?????? ?????? ?????? ?????? ?????? ??? DC1 ? ???? ????? ???????? ????? ?????? ??????? DC1 ?? ????????? ???? ???? ??? DC2 ???? ???? "DC = ??? DC = microsoft DC = com":
????? comDLL=CreateObject("IADsTools.DCFunctions")
Result=comDLL.ReplicaSync("DC1","dc=support,DC=microsoft,dc=com","DC2")
??? ??? ?????? = 0 ?? MsgBox "????? ?????." "???" MsgBox ???
??? ????? ?????? ????? ????? ??? ?????, ???? ??????? ?????? SetUserCredentials ?????? ???????? ??? ????? ???? "1" ??? ?????? ReplicaSync ??????? ???????. ????? ?????? SetUserCredentials ???? ?????? ??????
SetUserCredentials (user_name ?? domain_name ? user_LDAP_dn ?? password)
???:
  • user_name?? ??? ???????? ??? ??????? ?????? ???????? ?? ??????.
  • domain_name?? ??? ???? NetBIOS ???? ????????.
  • user_LDAP_dn??? ????? ?????? ReplicaSync ???? ???? ?? ???? ??????. ??? ?? "????? ??????" ?????? ???????? ??????.
  • password?? ???? ?????? ?????? ?????????.
??? ???? ??????? ??? ????? ???????? ????? ?????, ????? ??? ????? ??????:
????? comDLL=Createobject("IADsTools.DCFunctions")
?????? comDLL.SetUserCredentials "johndoe" "", "", "???? ??????"
Result=comDLL.ReplicaSync("DC1","dc=support,microsoft,dc=com","DC2",0,1)
??? ??? ?????? = 0 ?? MsgBox "????? ?????." "???" MsgBox ???
?? VBScript ? ??? ????? ???? ??????? ???? VARIANT. ?????? ??????? ??? ??? ???? ?? ???? IADsTools ??? ????????? ??? ????? ?????. ??? ???? ??????:
????? comDLL=Createobject("IADsTools.DCFunctions")
comDLL.SetUserCredentials CStr(strUserName) ? CStr(strDomainName) ? CStr(strPassword)
Result=comDLL.ReplicaSync(Cstr(strTargetServer) ? CStr(strDomainPartition) ? CStr(strSourceServer) ? CInt(iFlags) ? CInt(iUseCreds))
??? ??? ?????? = 0 ?? MsgBox "????? ?????." "???" MsgBox ???
???? ????? ????? ??? ??????? ?? VBScript ?? ?????? ???? Microsoft ?????? ??? ?????:
http://msdn.microsoft.com/en-us/library/ms950396.aspx

??? ????? ???????? ??????? ?????? ????? ???????? ???? Active Directory

  1. ??? ???? ???? ????? ??????? Windows 2000 ????????? ???? ???? ????? ???????? ????? ?? ?????? Windows 2000 ??? ????? Resource Kit ? ????? ????? "?????? ????? ???????? ???? Active Directory" (Replmon.exe).
  2. ??? ????? "?????? ????? ???????? ???? Active Directory" ?? ???? ??? ????? ??????/???? ?? ??????? ?????. ?????? ????? "????? ???? ?? ????" ????? ?????? ????? ??? ????? ?????.
  3. Replmon.exe ????? ????? ?????? ?????? ??? ????? ??????? ??? ?????? ????? ?? ????? ??????.
  4. ????? ?? ?? ?? ?????? ??? ?????? ?????? ????????. ???? ????? ???? ?????? ???????? ?? ??? ???? ???? ?????? ???? ???? ??? ??? ????? ????? ???????? ??????? ?? ??? ???? ?????? ??????? ????? ???????. ???? ????? ????? ????? ????? ???????? ??????? ?????? ????? ??? ?????? ?????? ??? ???? ????? ??? ?????. ???? ???? ?????? ????? ?????? ?????? "??? ??? ?????? ???????" ?? "??? ??? ?????? ?????????" ?? "????? ??????" (????? ????? ????? ????? ??????).
  5. ???? ??? ?????? ?????? ??? ??? ????? ???????? ??????? ??? ?? ???? ??? ?????? ?????? ?????????. Replmon.exe ???? ????? ???????? ????????? ???? ?? ??? ?????.

???????

???? ???????: 232072 - ????? ??? ??????: 09/???/1428 - ??????: 2.5
????? ???
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Datacenter Server
????? ??????: 
kbmt kbenv kbhowto KB232072 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????232072

????? ???????

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com