cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
72
Views
0
Helpful
0
Comments
cdnadmin
Community Member
This document was generated from CDN thread

Created by: dan turner on 02-03-2010 03:16:51 PM
Hey guys, 
 
I dont know if this is the right forum... i figured it was the closest to what im after!
 
I need to export the person address books and fast dials from CCM 4.1.3
 
i'm trying to do it through the LDAP API using code along these lines (im just trying to grab my -10014535 address book before i move onto trying to get everyones...
 
am in on the right lines as it just seems to hang on the s.searchall(); command at the moment....
 

            LDAPSearchList s = new LDAPSearchList();
            s.Server="10.0.200.10";
            s.Port = 8405;
           s.AuthName = "Directory Manager";
            s.AuthPasswd="p1tpass3";
 
            s.SearchBase = "o=cisco.com,ou=CCN,ou=user_info, ou=10014535_info";
            s.AddReturnAttr("givenName,sn", "Name", "%2, %1", 20);
 
            s.SearchAll();
 
            MessageBox.Show(s.XMLOutput(1, 5));
            s.XMLOutput(1, 100);

Subject: RE: address book
Replied by: Simon Machielse on 22-11-2010 02:42:03 PM
Hey guys, 
 
I dont know if this is the right forum... i figured it was the closest to what im after!
 
I need to export the person address books and fast dials from CCM 4.1.3
 
i'm trying to do it through the LDAP API using code along these lines (im just trying to grab my -10014535 address book before i move onto trying to get everyones...
 
am in on the right lines as it just seems to hang on the s.searchall(); command at the moment....
 

            LDAPSearchList s = new LDAPSearchList();
            s.Server="10.0.200.10";
            s.Port = 8405;
           s.AuthName = "Directory Manager";
            s.AuthPasswd="p1tpass3";
 
            s.SearchBase = "o=cisco.com,ou=CCN,ou=user_info, ou=10014535_info";
            s.AddReturnAttr("givenName,sn", "Name", "%2, %1", 20);
 
            s.SearchAll();
 
            MessageBox.Show(s.XMLOutput(1, 5));
            s.XMLOutput(1, 100);


I've used LDAP browser from Softerra or something like that before to do this. still is not user friendly though. 😉
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links