nginx模块
ldap://192.168.192.20:389/dc=example,dc=com?uid?sub?(&(objectClass=account));
}
stub_status on;
off;
不同的ldap实现,相关的objectClass可能不一样,直接套用nginx-auth-ldap的示例配置直接在openldap上就通不过,解决方法参看https://github.com/kvspb/nginx-auth-ldap/issues/129
not find user DN, client: 192.168.192.1, server: www.jlive.com,
request: "GET /status HTTP/1.1", host: "192.168.192.20"
本站文章如无特殊说明,均为本站原创,如若转载,请注明出处:Nginx nginx-auth-ldap认证 - Python技术站