Apache NTLM未validation域用户名/密码。

我有一个centos框,我正在尝试为Apache设置NTLMauthentication。 我已经在AD域的Linux框,并能够使用wbinfo命令获取用户和组信息。

我有ntlm.conf httpdconfiguration设置如下

<Directory "/var/www/html/auth"> Options Indexes ExecCGI FollowSymLinks DirectoryIndex index.html index.php AllowOverride all AuthName "NTLM" Require user acorp NTLMBasicAuthoritative on AuthType NTLM NTLMAuth on NTLMAuthHelper "/usr/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp" </Directory> 

当我运行命令/ usr / bin / ntlm_auth –username acorp –domain acorp.local时,我得到了NT_STATUS_OK,但是当我进入https页面时,它不接受用户名和密码。 我看不到任何日志文件上的任何错误消息。

任何援助将不胜感激。

要查看日志中出现的错误,请在/etc/httpd/conf/httpd.conf中添加“LogLevel debug”

要在CentOS机器上启用AD SSOvalidation,请尝试以下链接中的步骤: https : //hemakhema.blogspot.ae/2017/07/enable-sso-login-in-linux.html