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 失败,并显示错误 Execution failed: 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 失败,并显示错误 Execution failed: 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.