We have done this many times in the past without issue, however we are installing 184.108.40.206 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
Replying to this with an update.
After involving Xerox support, and engaging Microsoft Premiere Support, it was determined that this was an issue within Workplace Suite.
I do not have the full details of what was actually occuring as of yet, however Xerox development has created a patched version of Xerox.MobilePrint.XJAS.Service.exe specifically for 220.127.116.11 that we installed. This resolved the issue for us.
I'm still waiting for responses back from development in regards to what the underlying issue was (what is the patched EXE actually fixing behind the scenes), as well as confirmation that this patch will be included in future releases so we are not stuck on 18.104.22.168 forever.
Stay tuned for more.