Novell LDAP C# - Novell.Directory.Ldap - Has anybody made it work?

后端 未结 7 1491
走了就别回头了
走了就别回头了 2021-02-02 18:11

I\'m trying to use the library released by Novell (Novell.Directory.Ldap). Version 2.1.10.

What I\'ve done so far:

  • I tested the connection with an appl

7条回答
  •  梦谈多话
    2021-02-02 19:04

    I think I may have already offered this answer to someone else in a different question.

    [OtherQuestion on LDAP][1]

    Two issues I think: 1) What kind of bind are you trying to do? SSL? Clear text? Anonymous?

    2) How is it configured on the eDirectory side for LDAP binds?

    The tool LDAP Browser, are you referring to the one at this link? Free LDAP Browser

    On the eDirectory side, they can require TLS for all LDAP communication, and they can disallow Anonymous binds.

    Can you ask the folks at the other end to enable LDAP tracing (Using DStrace with the +LDAP option enabled, some links for how to use Dstrace on Novell eDirectory look at: Different types of Dstrace Capturing and understand DS Trace for Identity Manager.)

    That usually will show an error message that will enlighten you.

    My guess is either Require TLS is enabled, and you might not be doing a successful SSL bind.

    If so, try to connect on port 636, with SSL enabled, and a fully qualified DN for the user you are trying to login as.

    If you are trying with SSL enabled, and you are not getting a pop up box about accepting the tree CA's trusted root certficate, then perhaps the CA or the SSL certificate taht the eDirectory server is user has expired or is broken. (There are any number of causes for this that can be common, and take but a moment to fix).

    Usually in Dstrace you will see an error about the SSL certificate if there is a problem. An example from a Novell Identity Manager perspective of an expired certificate is in this article: Certificate Expired As well as some details on how to fix the certificates.

    Next possibility is that the DN you are specifying is not quite correct.

    Let me know if you need more help.

提交回复
热议问题