I got it fixed :)
You were right my attributes were not correct for the username

I worked it out by going here 

http://technet.microsoft.com/en-us/sysinternals/bb963907.aspx 

Cheers

Leslie

-----Original Message-----
From: Cliff McGlamry [mailto:cl...@mcglamry.net] 
Sent: Wednesday, June 10, 2009 8:25 AM
To: Leslie Meade; cisco-v...@puck.nether.net; ccie_voice@onlinestudylist.com
Subject: Re: [OSL | CCIE_Voice] Multidirectory ldap lookups

Don't think your issue is with the code.  It's likely with the format of the 
credentials.  Often when dealing with LDAP, you have to put the credentials in 
the form of an AD specification.  Something like:

DN=Administrator,CN=Users,CN=Domain,CN=com

I've probably got the attributes confused (I always have to go to my notes 
which aren't currently available to me) to see which ones are CN and which are 
DN), but you get the idea.  You must do it this way if you're binding LDAP in 
CCM 6 or 7.

Cliff


--------------------------------------------------
From: "Leslie Meade" <lme...@signal.ca>
Sent: Tuesday, June 09, 2009 8:12 PM
To: <cisco-v...@puck.nether.net>; <ccie_voice@onlinestudylist.com>
Subject: [OSL | CCIE_Voice] Multidirectory ldap lookups

I found out how to set it up and i have struck another issue.
When I do a search I get the XML Error [4]: Parse Error. I looked at the iis 
logs and get invalid credentials I am using the Multidirectory ASP file in the 
SDK from cisco. With this line

dirs[0] = new Directory("XX Directory", "10.1.X.X", "ou=XX group, ou=ipusers, 
ou=XXX", "389", "cn=XXX, ou=users, ou=XXX", "XXX", "");

This is the IIS error,

2009-06-10 00:04:35 W3SVC1 172.16.1.17 GET /CiscoIPServices/directory.asp
action=search&id=-1 80 - 172.16.1.70 Allegro-Software-WebClient/4.34 200 0 0 
2009-06-10 00:04:41 W3SVC1 172.16.1.17 GET /CiscoIPServices/directory.asp 
action=list&id=-1&f=s|180|800a0031|Invalid_credentials 80 - 172.16.1.70
Allegro-Software-WebClient/4.34 500 0 0


Can anyone shed some light on the reason I am getting invalid credentials, I 
have even gone as far as using the domain admin account and I get the same



Leslie 

Reply via email to