Dell Unity:當網域帳戶密碼包含特殊字元時,某些svc_cifssupport命令會失敗 (使用者可修正)
Summary: 某些svc_cifssupport命令需要指定域管理員用戶的密碼,當域帳戶密碼包含特殊字元時,命令會失敗。 本文介紹如何在包含特殊字元時指定密碼。
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
以下是 setspn 選項的錯誤範例:
svc_cifssupport <NAS_server_name> -sets -add <SPN> -compname <comp_name> -domain <full_domain_name> -admin <admin_name> <NAS_server_name> : Enter Password for <admin_name>: Pa!!sword$ ----- SetSpn::getAdminCreds: gss_acquire_cred_ext failed: Miscellaneous failure. Preauthentication failed. SetSpn::ModifySpn(add): Failed to get Admin creds for user <admin_name> Error 4020: <NAS_server_name> : failed to complete command -----
Cause
Unity CLI 不直接接受某些特殊字元。
某些svc_cifssupport命令需要指定域管理員用戶的密碼。當網域帳戶密碼包含特殊字元時,這些命令會失敗,除非執行額外的步驟來說明特殊字元。
可能導致故障的選項包括:
-nltest 選項(檢查 SMB 伺服器上的網路登錄)
-setspn 選項(管理給定系統名稱的 Windows 安全主體)
某些svc_cifssupport命令需要指定域管理員用戶的密碼。當網域帳戶密碼包含特殊字元時,這些命令會失敗,除非執行額外的步驟來說明特殊字元。
可能導致故障的選項包括:
-nltest 選項(檢查 SMB 伺服器上的網路登錄)
-setspn 選項(管理給定系統名稱的 Windows 安全主體)
Resolution
使用 -nltest 選項時,如果密碼用單引號 (') 括起來,並且用反斜杠 (\) 轉義 $ 等特殊字元,則命令將成功。
使用 -setspn 選項,使用反斜杠 (\) 轉義特殊字元就足夠了。您不需要將密碼括在單引號 (') 中。
svc_cifssupport <NAS_server_name> -nltest -nb <comp_name> -user <user_name> -dom <domain> -usrpwd 'Pa!!sword\$'
使用 -setspn 選項,使用反斜杠 (\) 轉義特殊字元就足夠了。您不需要將密碼括在單引號 (') 中。
svc_cifssupport <NAS_server_name> -sets -add <SPN> -compname <comp_name> -domain <full_domain_name> -admin <admin_name> <NAS_server_name> : Enter Password for <admin_name>: Pa!!sword\$
Additional Information
在處理這種情況時,也使用下列文章作為參考:
Dell EMC Unity,VNXe:使用 UEMCLI 時,管理員密碼中的特殊字元發生問題 (使用者可修正)
https://www.dell.com/support/kbdoc/en-us/000062950/dell-emc-unity-vnxe-issues-with-special-characters-in-admin-password-when-using-uemcli-user-correctable
- Dell EMC Unity:新增 SPN 失敗,並顯示錯誤執行失敗:valid_passwd:違反了先決條件。(使用者可修正)
https://www.dell.com/support/kbdoc/en-in/000052740/dell-emc-unity-adding-spn-fails-with-error-execution-failed-valid-passwd-precondition-violated-user-correctable
Dell EMC Unity,VNXe:使用 UEMCLI 時,管理員密碼中的特殊字元發生問題 (使用者可修正)
https://www.dell.com/support/kbdoc/en-us/000062950/dell-emc-unity-vnxe-issues-with-special-characters-in-admin-password-when-using-uemcli-user-correctable
- Dell EMC Unity:新增 SPN 失敗,並顯示錯誤執行失敗:valid_passwd:違反了先決條件。(使用者可修正)
https://www.dell.com/support/kbdoc/en-in/000052740/dell-emc-unity-adding-spn-fails-with-error-execution-failed-valid-passwd-precondition-violated-user-correctable
Affected Products
Dell EMC Unity, Dell Unity 300, Dell EMC Unity 300F, Dell EMC Unity 350F, Dell EMC Unity 400, Dell EMC Unity 400F, Dell EMC Unity 450F, Dell EMC Unity 500, Dell EMC Unity 500F, Dell EMC Unity 550FProducts
Dell EMC Unity XT 380, Dell EMC Unity XT 380F, Dell EMC Unity XT 480, Dell EMC Unity XT 480F, Dell EMC Unity 600, Dell EMC Unity 600F, Dell EMC Unity 650F, Dell EMC Unity XT 680, Dell EMC Unity XT 680F, Dell EMC Unity XT 880, Dell EMC Unity XT 880F
, Dell EMC Unity Family |Dell EMC Unity All Flash, Dell EMC Unity Family, Dell EMC Unity Hybrid, Dell EMC UnityVSA Professional Edition/Unity Cloud Edition
...
Article Properties
Article Number: 000193087
Article Type: Solution
Last Modified: 10 Sept 2025
Version: 3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.