- 论坛徽章:
- 1
|
oh, I misunderstand the dn a couple minutes ago.
the dn following the option -D should be the complete dn within ldap database.
and the correct dn is 'uid=ldap_user,ou=People,dc=example,dc=com'
Authenticating the user's password depend on the ACL configuration.
so, the guy who want to accoplish authentication through this method are advised to check your /etc/ldap/slapd.conf
- ----clip-----
- access to attrs= *
- by anonymous auth
- by * none
- ----clip-----
复制代码
Maybe
-
- ----clip-----
- access to attrs= *
- by * read
- ----clip-----
复制代码
could work as well. |
|