I have a question regarding LDAPSearch. Do I need to add "CN=" to my user name and add the "@<domainname>.com" to the AuthName. For example: CNfirstname.lastname@example.org. I'm trying to query our Active Directory server.
Did you try calling the script from a webbrowser? Webbrowsers, even if they can't parse the XML, will give you the source document so you'll see what's wrong (if you use Firefox.. it even points you to the exact element where there's a problem). Or, if your browser can handle the returned content just fine, that's when you can start investigating if the XML might be valid but violate Cisco's XSD. That can happen if you return strings that are too long, just as an example (probably the most common cause leading to XML parser errors when the XML document is valid)
Thanks Stephan for your reply. No, i haven't try that. What I did is copy a part of the script where it calls for the LDAPSearch.LDAPSearchList. Now I'm getting an error message "Can't contact LDAP server". I think my problem relates to bad credentials. How do write the AuthName if you are connecting to an Active Directory? Tried "email@example.com" but it didn't work.
I can't speak for Cisco's classes. In fact, looking around this board and seeing just how many people can't get LDAPSearch right, I'm glad I wrote my own code.. it usually takes a debug session or two for a new directory, but that teaches me the specialties of each directory and so far I've managed to connect to everything.
When I connect to AD, all I have to do is specify the username and password.. no cn, no tags whatsoever required for the authentication.
I'm not able to access my old voice mail messages all of a sudden. The recording says something like 'the message is currently not available'. This has never happened before in all the years I have been using this system. I have t...
If you have 2 ISR routers, one acting as Failover, do we need to have both the same number of SRST licenses on the 2 routers?
No. You will only need the SRST licenses on the primary router. Because this feature...