我的具体问题是,当我尝试与以下完整 dn 绑定时,一切都很好
new LDAPConnection().bind(LDAPConnection.LDAP_V3,
"uid=me@wherever.com,ou=Lev1,ou=Lev2,o=Company", "secret".getBytes());
但是,当我尝试绑定不完整的 dn 时,我收到了 Invalid Credentials 异常。
new LDAPConnection().bind(LDAPConnection.LDAP_V3,
"uid=me@wherever.com,ou=Lev1,o=Company", "secret".getBytes());
他们是否可以使用某种形式的通配符,例如“uid=me@wherever.com,ou=Lev1,ou=*,o=Company”?