"UnboundLocalError: local variable 'resp' referenced before assignment..." when Logging in to Portal for ArcGIS with the ArcGIS API for Python, when Extended Protection is on, in an IWA Environment.
上次发布: February 24, 2020ArcGIS API for Python
漏洞 ID 编号
BUG-000128804
已提交
February 19, 2020
上次修改时间
June 5, 2024
适用范围
ArcGIS API for Python
找到的版本
1.7.1
操作系统
Windows OS
操作系统版本
10.0 64 Bit
修正版本
2.0.0
状态
Fixed
此漏洞已得到修复。 有关详细信息,请参阅“版本修复”和“其他信息”(如果适用)。
解决办法
There's a setting in the IIS where one can turn the extended protection on or off. When this is off, one is able to login to the portal using the ArcGIS API for Python.
Go to the portal's web adapter from IIS. Under the advanced settings of the Windows .Authentication. Turn "Extended Protection" Off (IIS > portal web adapter > double click Authentication > Windows Authentication).
Turning it off allows one to login, but we are not certain of the implications of the same.