我有以下代码
public function openConnection()
{
$this->ldapServerHandle = ldap_connect(ConfigH::getConfig()->ldap->host);
$bindDN = ConfigH::getConfig()->ldap->serviceAccount->bindDN;
if ($this->ldapServerHandle) {
$this->ldapBindHandle
我试图在我的centos8机器上安装httpd,并有以下错误:
[root@localhost tmp]# yum install httpd-devel
Last metadata expiration check: 0:02:01 ago on Mon 22 Aug 2022 11:57:03 AM +04.
No match for argument: httpd-devel
Error: Unable to find a match: httpd-devel
请查找以下CentOS-Base.repo:
CentOS-Base.repo
#
# The mirror system us
喂,
我实现了一个Server,它通过LDAP协议根据AD认证用户.我使用apache2版本2.2.14访问存储库(HTTP)。到目前为止这是可行的。
我想增强我的配置,以便在用户无法通过LDAP进行身份验证的情况下进行简单的‘基于svn的文件’身份验证(因为在AD中没有定义)。我试着这样做:
我的根-位置:
<Location />
AuthType basic
AuthName "<DNS-Name-of-Server>"
# for LDAP only this is enough (works for me)
#Au