GSSAPI操作失败,出现错误- Linux Azure应用程序服务

cvxl0en2  于 2022-12-14  发布在  Linux
关注(0)|答案(1)|浏览(754)

I am considering moving my app service from Windows to a Linux app service. On the Linux app service I get the following error when I try to download a file.
" GSSAPI operation failed with error - An unsupported mechanism was requested. NTLM authentication requires the GSSAPI plugin 'gss-ntlmssp'."
I tried installing the gss-ntlmssp package on the app service but am not sure if it installed successfully and my downloads still fails afterwards
The following NEW packages will be installed: gss-ntlmssp gss-ntlmssp-dev libwbclient0 0 upgraded, 3 newly installed, 0 to remove and 42 not upgraded. Need to get 184 kB of archives. After this operation, 372 kB of additional disk space will be used. Get:1 http://deb.debian.org/debian buster/main amd64 libwbclient0 amd64 2:4.9.5+dfsg-5+deb10u3 [133 kB] Get:2 http://deb.debian.org/debian buster/main amd64 gss-ntlmssp amd64 0.7.0-4 [47.6 kB] Get:3 http://deb.debian.org/debian buster/main amd64 gss-ntlmssp-dev amd64 0.7.0-4 [3638 B] Fetched 184 kB in 0s (1854 kB/s) debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 78, <> line 3.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/x86_64-linux-gnu/perl5/5.28 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7, <> line 3.) debconf: falling back to frontend: Teletype Selecting previously unselected package libwbclient0:amd64. (Reading database ... 14675 files and directories currently installed.) Preparing to unpack .../libwbclient0_2%3a4.9.5+dfsg-5+deb10u3_amd64.deb ... Unpacking libwbclient0:amd64 (2:4.9.5+dfsg-5+deb10u3) ... Selecting previously unselected package gss-ntlmssp. Preparing to unpack .../gss-ntlmssp_0.7.0-4_amd64.deb ... Unpacking gss-ntlmssp (0.7.0-4) ... Selecting previously unselected package gss-ntlmssp-dev. Preparing to unpack .../gss-ntlmssp-dev_0.7.0-4_amd64.deb ... Unpacking gss-ntlmssp-dev (0.7.0-4) ... Setting up libwbclient0:amd64 (2:4.9.5+dfsg-5+deb10u3) ... Setting up gss-ntlmssp (0.7.0-4) ... Setting up gss-ntlmssp-dev (0.7.0-4) ... Processing triggers for libc-bin (2.28-10+deb10u1)

dgsult0t

dgsult0t1#

很抱歉这里的回复延迟了。
我不确定你是否在利用受祝福的图像/自定义容器。
“gss-ntlmssp”库在默认情况下不会安装在一些应用服务祝福的图像上,您可以尝试以下步骤(如果您还没有尝试过):
1.安装缺少的依赖项“gss-mtlmssp”,然后在启动命令中运行dll,如下所述(dotnet示例):

apt-get update $ apt-get install -y –no-install-recommends gss-ntlmssp && dotnet exec <yourappdll>

1.您可以通过直接将此启动命令添加到“配置”下来运行它。
或者通过启动文件运行启动命令。您可以将上面提到的cmdlet安装命令添加到startup.sh文件中,并将其放在Kudu站点(https://yourappname.scm.azurewebsites.net/)的/home文件夹下。
请检查这些文档以了解步骤:创建启动文件-作为示例和App Service Linux常见问题解答

相关问题