We have done this many times in the past without issue, however we are installing 126.96.36.199 Prerequisites and XWS on a remote print server and attempting to add it to our central XWS server as a print queue.
When we go to Print Queues > Print Servers > Actions > New, enter the DNS or IP of the remote print server and enter the domain user/pass, we get the following error in XWS:
User Validation Error. Please contact your administrator for assistance.
Message: Failed to initialize XJAS server. Unauthorized DateTime: 2021/03/11 10:31:34(Z-5) Category: General Severity: Error Method: Xerox.MobilePrint.XJAS.Service.XMPAgentService.Register() Win32 ThreadId:3532 Extended Properties: ExceptionMessage - Unauthorized ExceptionStackTrace - Exception: System.ServiceModel.Web.WebFaultException`1[Xerox.MobilePrint.Common.DataContract.Error] XeroxSOAFaultException: Unauthorized Code: 401 XrxCode: 15 Details: User Validation Error. Please contact your administrator for assistance. Developer Details: Invalid user credentials. Failed to authenticate using [User=ourdomain\someuseraccount] Stacktrace: at Xerox.MobilePrint.XJAS.Service.XMPAgentService.Register(PrintServerChangeRequest ticket) in C:\agent\_work\22\s\Server\Source\Xerox.MobilePrint.Sentry\XMPAgent\XMPAgentService.cs:line 730
This looks like a Access issue based on the logs. Make sure the account you are using has administrator rights on the external Print Server. We support the external print server software level to be one back, maybe you can check that.
The user account has administrator access on the remote print queue.
We've also tried a user account with domain administrator level credentials wiht the same results.
The version of PrintSafe on the remote print queue is the same as what is on the main XWS server.
Also included in event manager at the time of the auth attempt is this...maybe this will help?
Message: Failed to decrypt data using ENV provider, retrying with old encryption... DateTime: 2021/03/22 15:38:56(Z-4) Category: General Severity: Warning Method: Xerox.MobilePrint.Common.DataContract.SecureCredentialInfo.GetInstance() Win32 ThreadId:5988 Extended Properties: ExceptionMessage - Padding is invalid and cannot be removed. ExceptionStackTrace - Exception: System.Security.Cryptography.CryptographicException Exception: Padding is invalid and cannot be removed. Stacktrace: at System.Security.Cryptography.CapiSymmetricAlgorithm.DepadBlock(Byte block, Int32 offset, Int32 count) at System.Security.Cryptography.CapiSymmetricAlgorithm.TransformFinalBlock(Byte inputBuffer, Int32 inputOffset, Int32 inputCount) at Xerox.MobilePrint.Common.Crypt.AESEncryptionMode.DecryptHashString(String inputString, Byte passwordHash, Encoding encoding) in C:\agent\_work\22\s\Server\Source\Xerox.MobilePrint.Common\Crypt\Encryption\AESEncryptionMode.cs:line 65 at Xerox.MobilePrint.Common.DataContract.SecureCredentialInfo.GetInstance(String xmlData, String key) in C:\agent\_work\22\s\Server\Source\Xerox.MobilePrint.Common\DataContract\Others\CredentialInfo.cs:line 136