Printers fail to map with errors when using UPS on Windows Server 2012\2016

Printers fail to map with errors when using UPS on Windows Server 2012\2016

book

Article ID: CTX240173

calendar_today

Updated On:

Description

Error message:

"Operation could not be completed (error 0x00000709). Double-check the printer name and make sure the printer is connected to the network. 

 

Resolution

The following workaround is available - 

Add "LimitRequestLine 8190" in the next line after the "LimitRequestFieldSize 65535" to the httpd.conf file located at:
C:\Program Files (x86)\Citrix\XTE\conf

The LimitRequestLine directive decides the limit on the allowed size of HTTP request line (which contains HTTP Method, URI and Protocol version). Since 8190 is the default value, having it in the httpd.conf file should not make any difference.
 

Problem Cause

The presence of LimitRequestFieldSize directive alone is causing a problem that in this particular case, the authenticate_ntlm_user function is not called and UserToken is not written to the apr table.