开发者

Java LDAP Authentication

I am trying to use LDAP for authentication. I am using the OpenLDAP library by Novell to do开发者_如何学Go this (http://www.openldap.org/jldap/).

My issue is that it wants a full Distinguished Name to authenticate. However, what if I dont have the users OU?


You search!

You need some identifying piece of information. Username, email, full name. Then you search for a user who uid= or mail= or whatever works.

That returns the full DN then you proceed from there.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜