asp.net - Not able to get nJupiter.DataAccess.Ldap work with our Internal LDAP (Lotus Domino) -


i've tried possible, setup njupiter.dataaccess.ldap membership provider on our intranet based web application built using asp.net 3.5.

challenges facing:

  1. not able authenticate user using default login webpart (says login attempt not successful. please try again)

  2. i tried code , receive comexception : "there no such object on server."

    var ldapmembershipuser = system.web.security.membership.getuser("username") ldapmembershipuser;

    if (ldapmembershipuser != null) { var givenname = ldapmembershipuser.attributes["givenname"]; }

i have placed web.config , njupiter.dataaccess.ldap.config here:

web.config : http://pastebin.com/9xddnhuh

njupiter.dataaccess.ldap.config : http://pastebin.com/wssehi98

i have tried possible permutations , combinations different values in xml , not able take forward. please guide. not able connec ldap , authenticate user or search users.

just looking @ config unlikely enough since don't know domino server's confguration, answer isn't attempt fix problem. it's attempt teach how approach if problem. here's troubleshoot connections , queries code domino ldap:

  • configure domino ldap server logging highest level of debug information notes.ini setting ldapdebug=7. see ibm technote more info.
  • use ldap client , figure out how connect domino ldap server. free softerra client this. check logs , save off info successful connection.
  • now run code , compare see in logs against successful connection.
  • if code making past authentication failing on query, find actual query in log, go ldap client, figure out query should have been, , adjust code's configuration appropriately.

Comments

Popular posts from this blog

jquery - How do you format the date used in the popover widget title of FullCalendar? -

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -