×

Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

Photodirectory.jsp

Unanswered Question
Oct 20th, 2006
User Badges:

Using the settings I have below with the LDAP Browser supplied through Microsoft's XP Support Tools, I can see everybody in Active Directory. So I know I can get a connection+bind this way.


I entered the following parameters in photodirectory.jsp, but I keep getting "User could not be found". Since our servlet engine (Tomcat 5.5 running on Apache 2.2) is authenticated through the local system account (for now), I've set ldapUserId and ldapPassword to null.


String ldapServer = "**.**.**.**";

int ldapPort = ****;

String ldapRoot = "OU=****,DC=***,DC=com";

String ldapUserId = null;

String ldapPassword = null;


In the code, I even tried hard-coding the query parameters, but still get "User could not be found":


// String firstName = request.getParameter("f");

// String lastName = request.getParameter("l");

// String number = request.getParameter("n");

String firstName = "J";

String lastName = null;

String number = null;


Are there undocumented methods in the LDAPProvider object to test or see if LDAP is connecting and binding to the specified domain controller?

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
RAMI ABDALLAH K... Thu, 12/23/2010 - 05:21
User Badges:

Hi jvanschenck ,

i have the same problem , fi you solve it can you help me , and if it not solved please tell me i need you feedback.

Regards,

Actions

This Discussion