这是我的LDAP ORG结构:
我创建了带有密码的姓氏,姓氏的用户.但是当我尝试使用jdbc进行连接时,它无法正常工作.错误表示凭据无效.然后我尝试了ldapsearch如下:
我按照此过程进行用户和组创建:
root@ip:/home# ldapwhoami
SASL/DIGEST-MD5 authentication started
Please enter your password:
ldap_sasl_interactive_bind_s: Invalid credentials (49)
    additional info: SASL(-13): user not found: no secret in database
root@ip:/# ldapsearch -x -LLL -h ip -D username -w password -b"cn=admin,dc=ivhdev,dc=local" -s sub "(objectClass=*)" "givenName=username*"
ldap_bind: Invalid DN syntax (34)
    additional info: invalid DN
Run Code Online (Sandbox Code Playgroud)
如果我在DN语法中传递正确的信息,请建议/纠正我.我无法使用其名称和密码验证用户凭据.
提前赞赏.