【发布时间】:2011-05-20 14:39:38
【问题描述】:
我的具体问题是,当我尝试使用以下完整 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”?
【问题讨论】: