I can believe fly.

Monday, February 13, 2017

Apache+ldap配置

用途:设置目录权限,使用ladp账号访问


Options Indexes FollowSymLinks MultiViews
AllowOverride None
AuthType Basic
AuthName "Please input your account/password of hiido udb (without dw_ prefix)"
AuthBasicProvider ldap
AuthzLDAPAuthoritative on
AuthLDAPURL ldap://121.14.36.18:389/dc=dw,dc=com?cn?sub
AuthLDAPBindDN "cn=admin,dc=dw,dc=com"
AuthLDAPBindPassword 1q2w3e@163.com
require ldap-user zhangsan lisi 


Options Indexes FollowSymLinks MultiViews
AllowOverride None

AuthType Basic
AuthName "Please input your account/password of hiido udb (without dw_ prefix)"
AuthBasicProvider ldap
AuthzLDAPAuthoritative on
AuthLDAPURL ldap://121.14.36.18:389/dc=dw,dc=com?cn?sub
AuthLDAPBindDN "cn=admin,dc=dw,dc=com"
AuthLDAPBindPassword 1q2w3e@163.com
require ldap-user zhangsan lisi wangwu laoliu



落款2014.02.11

No comments: