文章編號: 296993 - 上次校閱: 2007年3月1日 - 版次: 1.6

"登入失敗: 目標帳戶名稱不正確 」 錯誤時升級網域控制站或建立複本

系統提示本文適用於您使用的作業系統之外的作業系統。與您不相關的文章內容已停用。
注意事項
這份文件適用於 Windows 2000。Windows 2000 支援的結束 2010 7 月 13,Windows 2000 End-of-Support Solution Center (http://support.microsoft.com/?scid=http%3a%2f%2fsupport.microsoft.com%2fwin2000) 是規劃您的遷移策略,從 Windows 2000 的起點。如需詳細資訊請參閱 Microsoft Support Lifecycle Policy (http://support.microsoft.com/lifecycle/) ]。
全部展開 | 全部摺疊

徵狀

當您嘗試將新的子網域中網域控制站升級或建立複本時,可能會收到下列錯誤訊息:
登入失敗: 目標的帳戶名稱不正確
當您升級網域控制站的一大堆新建次級網域或新的樹狀目錄樹系中當您使用來自不同網域的系統管理認證登入時,就可能發生這個錯誤。

您也可能會收到下列錯誤訊息之一當您執行 Active Directory 安裝精靈 」 (Dcpromo.exe):
作業失敗,因為目錄服務無法建立物件 CN = NewDomainName,CN = 分割 CN = 組態 DC = 2467_19L03ROOT1 DC = ForestRootDomain,DC = com 檢查事件日誌中是否有系統錯誤。
目錄無法驗證建議的命名內容 (或磁碟分割) 名稱,因為它不會持有複本也不可以連絡上述提議的命名內容的命名內容的複本。 請確定父命名內容已正確登錄在 DNS,且此命名內容的至少一個複本是可執行到由網域命名主圖形。
-或者-
目錄服務無法建立伺服器物件的 CN = NTDS 設定 CN = DCPXADS02 CN = 伺服器 CN = 預設值--站台-名,CN = CN 的網站 = 組態 DC = 2467_19L03ROOT1 DC = dcpromo DC = com 伺服器 dcpxads01.2467_19L03CHLD1.2467_19L03ROOT1.dcpromo.com 上。請確定所提供的網路認證有足夠的存取權可以新增複本。 "登入失敗: 目標帳戶名稱不正確"

發生的原因

如果主控複本的網域的服務主要名稱 (SPN) 有不被傳播至包含當執行 Dcpromo.exe 時,您使用之帳戶的網域,可能就會發生這個問題。 這個傳播可能延遲因為複寫延遲的了。

解決方案

如果要解決這個問題,請等候複寫完成,才能建立 Active Directory 目錄服務複本。

如果您不能在等候複寫完成,使用 [從將包含新複本的網域的 [網域系統管理員帳戶]。 或者,請確定該根網域中的所有網域控制站已都複寫,並使用根網域系統管理員帳戶,以建立複本。 若要強制複寫,使用工具 (例如 Replmon.exe 或 Repadmin.exe。 Replmon.exe 和 Repadmin.exe 都包含在 Windows 2000 支援工具。如需有關這些工具的詳細資訊,按一下 [下列面的文件編號,檢視 「 Microsoft 知識庫 」 中發行項]:
301423? (http://support.microsoft.com/kb/301423/EN-US/ ) 如何: 在 Windows 2000 Server 電腦上安裝 Windows 2000 支援工具
229896? (http://support.microsoft.com/kb/229896/EN-US/ ) 使用 Repadmin.exe 疑難排解 Active Directory 複寫

其他相關資訊

這個問題也可能會發生當您從根的網域系統管理員身分登入時因為轉介票證必須之前,發送至子網域服務票證可以傳遞給子網域。 如果推薦項目要求從在子網域中沒有新的網域控制站的相關資訊可能的根目錄中複本,使用 [從子網域的 [系統管理帳戶]。 如此一來,您可以使用子網域所發出的服務票證。

當您檢閱總計的子網域控制站上 Dcpromo.log 檔案時,它可能包含類似下列的項目: hh: mm:
mm/dd hh:mm:ss [INFO] Replicating CN=Configuration,DC=rootdomaindc1,
DC1,DC=companyname,DC=com: received 1325 out of 1472 objects.
mm/dd hh:mm:ss [INFO] Replicating CN=Configuration,DC=rooddomaindc1,
DC=dcpromo,DC=com: received 1472 out of 1472 objects.
mm/dd hh:mm:ss [INFO] Replicated the configuration container.
mm/dd hh:mm:ss [INFO] Error - The Directory Service failed to create 
the object CN=2467_19L03GRND1,CN=Partitions,CN=Configuration,
DC=2467_19L03ROOT1,DC=dcpromo,DC=com. Please check the event
log for possible system errors. (8586)
mm/dd hh:mm:ss [INFO] NtdsInstall for 
2467_19L03GRND1.2467_19L03CHLD1.2467_19L03ROOT1.dcpromo.com returned 8586
mm/dd hh:mm:ss [INFO] DsRolepInstallDs returned 8586
mm/dd hh:mm:ss [ERROR] Failed to install the directory service (8586)
mm/dd hh:mm:ss [INFO] The attempted domain controller operation has completed
mm/dd hh:mm:ss [INFO] DsRolepSetOperationDone returned 0
注意 此範例票證,並將其他項目已經加以換行的可讀性。

當您檢閱總計的子網域控制站上 Dcpromoui.log 檔案時,它可能包含類似下列的項目:
dcpromoui 188.4FC 0355       Calling DsRoleGetDcOperationResults
dcpromoui 188.4FC 0356       Error 0x0 (!0 => error)
dcpromoui 188.4FC 0357       Operation results:
dcpromoui 188.4FC 0358       OperationStatus      : 0x218A !0 => 
error
dcpromoui 188.4FC 0359       DisplayString        : The Directory 
Service failed to create the object CN=2467_19L03GRND1,CN=Partitions
,CN=Configuration,DC=2467_19L03ROOT1,DC=dcpromo,DC=com. 
Please check the event log for possible system errors.
dcpromoui 188.4FC 035A       ServerInstalledSite  : (null)
dcpromoui 188.4FC 035B       OperationResultsFlags: 0x0
dcpromoui 188.4FC 035C       Enter ProgressDialog::UpdateText The 
Directory Service failed to create the object CN=2467_19L03GRND1
,CN=Partitions,CN=Configuration,DC=2467_19L03ROOT1
,DC=dcpromo,DC=com. Please check the event
log for possible system errors.
dcpromoui 188.4FC 035D       Enter State::SetOperationResults
Message The Directory Service failed to create the object 
CN=2467_19L03GRND1,CN=Partitions,CN=Configuration,DC=2467_19L03ROOT1
,DC=dcpromo,DC=com. Please check the event
log for possible system errors.
dcpromoui 188.4FC 035E       Enter State::SetOperationResultsFlags 0x0
dcpromoui 188.4FC 035F   Exception caught
dcpromoui 188.4FC 0360   catch completed
dcpromoui 188.4FC 0361   handling exception
dcpromoui 188.4FC 0362   Enter State::ClearHiddenWhileUnattended
dcpromoui 188.4FC 0363   Enter State::GetRunContext NT5_STANDALONE_SERVER
dcpromoui 188.4FC 0364   Enter State::GetRunContext NT5_STANDALONE_SERVER
dcpromoui 188.4FC 0365   Enter EnableConsoleLocking
dcpromoui 188.4FC 0366     Enter RegistryKey::Create SOFTWARE\Microsoft\
Windows NT\CurrentVersion\Winlogon
dcpromoui 188.4FC 0367     Enter RegistryKey::SetValue-DWORD 
DisableLockWorkstation
dcpromoui 188.4FC 0368   Enter State::SetOperationResults result FAILURE
dcpromoui 188.4FC 0369   Enter ProgressDialog::UpdateText 
dcpromoui 188.4FC 036A   Enter State::IsOperationRetryAllowed
dcpromoui 188.4FC 036B     true
dcpromoui 188.4FC 036C   Enter ComposeFailureMessage
dcpromoui 188.4FC 036D     Enter GetErrorMessage 8007218A
dcpromoui 188.4FC 036E     Enter State::GetOperationResults
Message The Directory Service failed to create the object 
CN=2467_19L03GRND1,CN=Partitions,CN=Configuration,DC=2467_19L03ROOT1
,DC=dcpromo,DC=com. Please check the event log for possible system errors.
dcpromoui 188.4FC 036F     Enter State::GetOperationResultsFlags 0x0
dcpromoui 188.4FC 0370     Enter State::SetFailureMessage The 
operation failed because:

The Directory Service failed to create the object CN=2467_19L03GRND1
,CN=Partitions,CN=Configuration,DC=2467_19L03ROOT1
,DC=dcpromo,DC=com. Please check the event
log for possible system errors.

"The directory cannot validate the proposed naming context (or 
partition) name because it does not hold a replica nor can it 
contact a replica of the naming context above the proposed naming 
context.  Please ensure that the parent naming context is properly 
registered in DNS, and at least one replica of this naming context 
is reachable by the Domain Naming master."
dcpromoui 188.4FC 0371   Enter State::GetFailureMessage 
The operation failed because:

The Directory Service failed to create the object CN=2467_19L03GRND1
,CN=Partitions,CN=Configuration,DC=2467_19L03ROOT1
,DC=dcpromo,DC=com. Please check the event
log for possible system errors.

"The directory cannot validate the proposed naming context (or 
partition) name because it does not hold a replica nor can it 
contact a replica of the naming context above the proposed naming 
context.  Please ensure that the parent naming context is properly 
registered in DNS, and at least one replica of this naming context 
is reachable by the Domain Naming master."
dcpromoui 188.4FC 0372   MessageBox: Active Directory Installation 
Failed : The operation failed because:

The Directory Service failed to create the object CN=2467_19L03GRND1
,CN=Partitions,CN=Configuration,DC=2467_19L03ROOT1
,DC=dcpromo,DC=com. Please check the event
log for possible system errors.

"The directory cannot validate the proposed naming context (or 
partition) name because it does not hold a replica nor can it 
contact a replica of the naming context above the proposed naming 
context.  Please ensure that the parent naming context is properly 
registered in DNS, and at least one replica of this naming context 
is reachable by the Domain Naming master."
當您檢閱子網域中複本上的 Dcpromo.log 檔案時,它可能包含類似下列的項目: hh: mm:
mm/dd hh:mm:ss [INFO] Configuring the local server to host 
the Directory Service
mm/dd hh:mm:ss [INFO] Creating the ntdsa object for this server 
on dcpxads01.2467_19L03CHLD1.2467_19L03ROOT1.dcpromo.com.
mm/dd hh:mm:ss [INFO] Error - The Directory Service failed to 
create the server object for CN=NTDS Settings,CN=DCPXADS02
,CN=Servers,CN=Default-First-Site-Name
,CN=Sites,CN=Configuration,DC=2467_19L03ROOT1,DC=dcpromo
,DC=com on server dcpxads01.2467_19L03CHLD1.2467_19L03ROOT1
.dcpromo.com. Please ensure the network credentials provided have 
sufficient access to add a replica. (1396)
mm/dd hh:mm:ss [INFO] NtdsInstall for 
2467_19L03CHLD1.2467_19L03ROOT1.dcpromo.com returned 1396
mm/dd hh:mm:ss [INFO] NtdsInstall parameters:
mm/dd hh:mm:ss [INFO] 	Flags: 4
mm/dd hh:mm:ss [INFO] 	DitPath: D:\WINDOWS\NTDS
mm/dd hh:mm:ss [INFO] 	LogPath: D:\WINDOWS\NTDS
mm/dd hh:mm:ss [INFO] 	SiteName: Default-First-Site-Name
mm/dd hh:mm:ss [INFO] 	DnsDomainName: 
2467_19L03CHLD1.2467_19L03ROOT1.dcpromo.com
mm/dd hh:mm:ss [INFO] 	FlatDomainName: 
mm/dd hh:mm:ss [INFO] 	DnsTreeRoot: (NULL)
mm/dd hh:mm:ss [INFO] 	ReplServerName: 
dcpxads01.2467_19L03CHLD1.2467_19L03ROOT1.dcpromo.com
mm/dd hh:mm:ss [INFO] 	Credentials: 00904130
mm/dd hh:mm:ss [INFO] 	pfnUpdateStatus: 748C13D7
mm/dd hh:mm:ss [INFO] 	AdminPassword: 00000000
mm/dd hh:mm:ss [INFO] DsRolepInstallDs returned 1396
mm/dd hh:mm:ss [ERROR] Failed to install to Directory Service (1396)
When you review the Dcpromoui.log file on the replica in the domain, it may contain entries similar to the following:
dcpromoui 198.768 0331       Calling DsRoleGetDcOperationResults
dcpromoui 198.768 0332       Error 0x0 (!0 => error)
dcpromoui 198.768 0333       Operation results:
dcpromoui 198.768 0334       OperationStatus      : 0x574 !0 => error
dcpromoui 198.768 0335       DisplayString        : The Directory Service 
failed to create the server object for CN=NTDS Settings,CN=DCPXADS02
,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration
,DC=2467_19L03ROOT1,DC=dcpromo,DC=com on server dcpxads01
.2467_19L03CHLD1.2467_19L03ROOT1.dcpromo.com. Please ensure
the network credentials provided have sufficient access to add a replica.
dcpromoui 198.768 0336       ServerInstalledSite  : (null)
dcpromoui 198.768 0337       OperationResultsFlags: 0x0
dcpromoui 198.768 0338       Enter ProgressDialog::UpdateText The 
Directory Service failed to create the server object for CN=NTDS Settings
,CN=DCPXADS02,CN=Servers,CN=Default-First-Site-Name,CN=Sites
,CN=Configuration,DC=2467_19L03ROOT1,DC=dcpromo
,DC=com on server dcpxads01.2467_19L03CHLD1.2467_19L03ROOT1
.dcpromo.com. Please ensure
the network credentials provided have sufficient access to add a replica.
dcpromoui 198.768 0339       Enter State::SetOperationResultsMessage 
The Directory Service failed to create the server object for CN=NTDS Settings
,CN=DCPXADS02,CN=Servers,CN=Default-First-Site-Name
,CN=Sites,CN=Configuration,DC=2467_19L03ROOT1,DC=dcpromo
,DC=com on server dcpxads01.2467_19L03CHLD1.2467_19L03ROOT1
.dcpromo.com. Please ensure the network credentials provided have 
sufficient access to add a replica.
dcpromoui 198.768 033A       Enter State::SetOperationResultsFlags 0x0
dcpromoui 198.768 033B   Exception caught
dcpromoui 198.768 033C   catch completed
dcpromoui 198.768 033D   handling exception
dcpromoui 198.768 033E   Enter State::ClearHiddenWhileUnattended
dcpromoui 198.768 033F   Enter State::GetRunContext NT5_STANDALONE_SERVER
dcpromoui 198.768 0340   Enter State::GetRunContext NT5_STANDALONE_SERVER
dcpromoui 198.768 0341   Enter EnableConsoleLocking
dcpromoui 198.768 0342     Enter State::GetRunContext NT5_STANDALONE_SERVER
dcpromoui 198.768 0343     Enter State::GetRunContext NT5_STANDALONE_SERVER
dcpromoui 198.768 0344     Enter RegistryKey::Create SOFTWARE\Microsoft
\Windows NT\CurrentVersion\Winlogon
dcpromoui 198.768 0345     Enter RegistryKey::SetValue-DWORD 
DisableLockWorkstation
dcpromoui 198.768 0346   Enter State::SetOperationResults result FAILURE
dcpromoui 198.768 0347   Enter ProgressDialog::UpdateText 
dcpromoui 198.768 0348   Enter State::IsOperationRetryAllowed
dcpromoui 198.768 0349     true
dcpromoui 198.768 034A   Enter ComposeFailureMessage
dcpromoui 198.768 034B     Enter GetErrorMessage 80070574
dcpromoui 198.768 034C     Enter State::GetOperationResultsMessage The 
Directory Service failed to create the server object for CN=NTDS Settings
,CN=DCPXADS02,CN=Servers,CN=Default-First-Site-Name,CN=Sites
,CN=Configuration,DC=2467_19L03ROOT1,DC=dcpromo,DC=com on server 
dcpxads01.2467_19L03CHLD1.2467_19L03ROOT1.dcpromo.com. Please ensure
the network credentials provided have sufficient access to add a replica.
dcpromoui 198.768 034D     Enter State::GetOperationResultsFlags 0x0
dcpromoui 198.768 034E     Enter State::SetFailureMessage The 
operation failed because:

The Directory Service failed to create the server object for CN=NTDS Settings
,CN=DCPXADS02,CN=Servers,CN=Default-First-Site-Name,CN=Sites
,CN=Configuration,DC=2467_19L03ROOT1,DC=dcpromo,DC=com on server 
dcpxads01.2467_19L03CHLD1.2467_19L03ROOT1.dcpromo.com. Please ensure
the network credentials provided have sufficient access to add a replica.

"Logon Failure: The target account name is incorrect."
dcpromoui 198.768 034F   Enter State::GetFailureMessage The operation 
failed because:

The Directory Service failed to create the server object for CN=NTDS Settings
,CN=DCPXADS02,CN=Servers,CN=Default-First-Site-Name,CN=Sites
,CN=Configuration,DC=2467_19L03ROOT1,DC=dcpromo,DC=com on server 
dcpxads01.2467_19L03CHLD1.2467_19L03ROOT1.dcpromo.com. Please ensure
the network credentials provided have sufficient access to add a replica.

"Logon Failure: The target account name is incorrect."
dcpromoui 198.768 0350   MessageBox: Active Directory Installation 
Failed : The operation failed because:

The Directory Service failed to create the server object for CN=NTDS Settings
,CN=DCPXADS02,CN=Servers,CN=Default-First-Site-Name,CN=Sites
,CN=Configuration,DC=2467_19L03ROOT1,DC=dcpromo,DC=com on server 
dcpxads01.2467_19L03CHLD1.2467_19L03ROOT1.dcpromo.com. Please ensure
the network credentials provided have sufficient access to add a replica.

"Logon Failure: The target account name is incorrect."

這篇文章中的資訊適用於:
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Datacenter Server
關鍵字:?
kbmt kbprb KB296993 KbMtzh
機器翻譯機器翻譯
重要:本文是以 Microsoft 機器翻譯軟體翻譯而成,而非使用人工翻譯而成。Microsoft 同時提供使用者人工翻譯及機器翻譯兩個版本的文章,讓使用者可以依其使用語言使用知識庫中的所有文章。但是,機器翻譯的文章可能不盡完美。這些文章中也可能出現拼字、語意或文法上的錯誤,就像外國人在使用本國語言時可能發生的錯誤。Microsoft 不為內容的翻譯錯誤或客戶對該內容的使用所產生的任何錯誤或損害負責。Microsoft也同時將不斷地就機器翻譯軟體進行更新。
按一下這裡查看此文章的英文版本:296993? (http://support.microsoft.com/kb/296993/en-us/ )
Microsoft及(或)其供應商不就任何在本伺服器上發表的文字資料及其相關圖表資訊的恰當性作任何承諾。所有文字資料及其相關圖表均以「現狀」供應,不負任何擔保責任。Microsoft及(或)其供應商謹此聲明,不負任何對與此資訊有關之擔保責任,包括關於適售性、適用於某一特定用途、權利或不侵權的明示或默示擔保責任。Microsoft及(或)其供應商無論如何不對因或與使用本伺服器上資訊或與資訊的實行有關而引起的契約、過失或其他侵權行為之訴訟中的特別的、間接的、衍生性的損害或任何因使用而喪失所導致的之損害、資料或利潤負任何責任。