Dell EMC Unity: Adding SPN fails with error Execution failed : valid_passwd : Precondition violated. (User Correctable)

Summary: This KB will explain error "Execution failed : valid_passwd : Precondition violated" while adding SPNs for a NAS Server

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

Adding SPNs to a NAS Server.
 

Adding SPNs to NAS Server from Unity CLI throws following error:
Execution failed : valid_passwd : Precondition violated.

Cause

Password of Domain user which is used to add SPNs contains one or more special characters that the Unity CLI does not accept.

Resolution

There is a set of special characters which are not accepted by Unity CLI directly.
These are special characters that have predefined meanings in Linux.

Some of them are:    &     (      )     -     ;      ?

You can use the password by Quoting i.e; using the password in single quotes.
Or change the password so that none of these special characters are in the password.


Here's an example of the command failing when the password of domain user was abcd&^12*

Unity Name spa:~> svc_cifssupport testnas -setspn -add host/testalias.ourteam.com@OURTEAM.COM -compname testnas -domain ourteam.com -admin Ukasha
Enter Password for Ukasha:
sh: Password^12*: command not found


Error 2237: testnas : Execution failed : valid_passwd : Precondition violated. 

If the password is entered as 'abcd&^12*', the command runs successfully.

Affected Products

Dell EMC Unity Family

Products

Dell EMC Unity Family |Dell EMC Unity All Flash, Dell EMC Unity Family, Dell EMC Unity Hybrid
Article Properties
Article Number: 000052740
Article Type: Solution
Last Modified: 12 Dec 2025
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.