2026/09/30

最近Novell ldap 換成AD

apache設定修改如下

舊

<Directory /var/www/test>
    AuthName ldap
    AuthType Basic
    AuthBasicProvider ldap
    AuthLDAPURL ldap://test.tw:389/o=users?cn?sub?(objectClass=*)
    AuthLDAPBindDN "cn=test01, ou=vendor, ou=people, o=users"
    AuthLDAPBindPassword passwd
    Require valid-user
</Directory>


新
<Directory /var/www/test>
    AuthName ldap
    AuthType Basic
    AuthBasicProvider ldap
    AuthLDAPURL ldap://test.tw:389/OU=user,DC=nkuht,DC=local?sAMAccountName?sub?(objectClass=*)
    AuthLDAPBindDN "test01@test.local"
    AuthLDAPBindPassword passwd
    Require valid-user
</Directory>



沒有留言: