Dell VNX/Unity:網域加入失敗,並出現錯誤13157007728無法設定compname的帳戶屬性
Summary: 客戶可能無法將和取消加入的 cifs 伺服器重新加入網域。(Dell 可修正)
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
此錯誤可能有多種原因。
最值得注意的是,用於域加入的用戶帳戶可能能夠創建計算機帳戶,但不能對其進行修改。
客戶無法使用任何已知的標準旗標執行網域加入作業。
join 命令失敗,並出現下列錯誤:
Error 13157007728: server_2 : DomainJoin::reuseAccount: Unable set account attribute for compname 'CIFS01' to domain 'DOM.Domain.NET' on Active Directory server 'dc2.dom.domain.net' using CIFS server credential. Distinguished name is 'CN=cifs01,OU=Computers,OU=EMC Celerra,DC=DOM,DC=domain,DC=net'.
server_cifs顯示為未加入:
CIFS Server 02CIFSSERVER[DOM] RC=160 (local users supported) Full computer name=02cifs01.dom.domain.net realm=DOM.DOMAIN.NET (domain not joined !) Comment='EMC-SNAS:T7.1.83.2' if=02CIFS01 l=10.xxx.xx.x b=10.xxx.xx.xx mac=0:00:00:00:00:00 FQDN=02cifs01.dom.diomain.net (Retrying DNS update...) Password change interval: 43140 minutes
Cause
電腦帳戶已從網域取消加入,但 NAS 上沒有明確的跡象,cmd_log這是在 NAS 端執行的。
Resolution
強制重新加入操作的方法:
- 請確認帳戶有足夠的權限執行此操作。
- 檢查電腦帳戶是否存在於 Active Directory 中。- 請參閱備註中的nas_message說明。
- 嘗試使用選項執行重新加入可能也無法運作 [-選項 {reuse|resetserverpasswd|a
DDSeration=NFS}] ,並且失敗,AD 中不存在帳戶。 - 請確定 compname 與 netbios 名稱相符。在一個特定情況下,netbios 的歷史設置方式不同。
為了強制進行 dns 域註冊,應用了以下參數:
nasadmin@vnxcs01 ~]$ server_param server_2 -facility cifs -info djEnforceDhn server_2 : name = djEnforceDhn facility_name = cifs default_value = 1 current_value = 1 configured_value = user_action = none change_effective = immediate range = (0,1) description = Enforces the setting of the dNSHostName attribute [nasadmin@vnxcs01 ~]$ server_param server_2 -facility cifs -modify djEnforceDhn -value 0 server_2 : done [nasadmin@vnxcs01 ~]$ server_param server_2 -facility cifs -info djEnforceDhn server_2 : name = djEnforceDhn facility_name = cifs default_value = 1 current_value = 0 configured_value = 0 user_action = none change_effective = immediate range = (0,1) description = Enforces the setting of the dNSHostName attribute [nasadmin@vnxcs01 ~]$
再次重試簡單的聯接,而不使用任何特殊標誌。
Additional Information
$ nas_message -i 13157007728
MessageID = 13157007728
BaseID = 368
Severity = ERROR
Component = DART
Facility = SMB
Type = STATUS
Brief_Description = ${function0,8,%s}: Unable set ${objectName4,8,%s} for compname '${serverName1,8,%s}' to domain '${domainName3,8,%s}' on Active Directory server '${DCName2,8,%s}' using CIFS server credential. Distinguished name is '${distinguishedName5,8,%s}'.
Full_Description = ${function0,8,%s}: Unable set ${objectName4,8,%s} for compname '${serverName1,8,%s}' to domain '${domainName3,8,%s}' on Active Directory server '${DCName2,8,%s}' using CIFS server credential. Distinguished name is '${distinguishedName5,8,%s}'. This error might occur when the compnuter account already exist in Active Directory (after manual creation for example).
Recommended_Action = Check whether computer account exists in Active Directory.
參數說明:
- djEnforceDhn:- 將 CIFS 伺服器加入網域時,加入程序會將帳戶屬性 dNSHostName 設定為伺服器的 DNS 主機名稱。
- 0 = 允許網域加入程序繼續進行,不設定帳戶屬性 dNSHostName。
- 1 = 將帳戶屬性 dNSHostName 設定為伺服器的 DNS 主機名稱。如果域加入過程無法設置屬性,則操作將失敗併發送通知。在某些域配置中,由於訪問許可權,域加入過程無法設置帳戶屬性。
Affected Products
VNX/VNXeProducts
VNX1 Series, VNX2 Series, VNX/VNXeArticle Properties
Article Number: 000055919
Article Type: Solution
Last Modified: 14 Nov 2025
Version: 4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.