Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

Photodirectory.jsp

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 REPLY

Re: Photodirectory.jsp

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,

433
Views
0
Helpful
1
Replies
CreatePlease to create content