sql - LDAP SQLite communication or link -


i have openldap server , running locally, have c api connects , queries it, have sqlite database setup using odb orm unlike hibernate in java. now, supposed pull data ldap server, , insert sqlite server. have tried stuff found online, nothing worked. totally new this. appreciated

this code using query ldap server. need put data here sqlite database through object. dont have idea how that.

rc = ldap_search_ext_s( ld, basedn, scope, filter, null, 0,null, null, null, 0, &result ); if ( rc != ldap_success ) {    fprintf(stderr, "ldap_search_ext_s: %s\n", ldap_err2string(rc)); return -1; } (e=ldap_first_entry(ld, result); e!=null; e=ldap_next_entry(ld, e)){   if ((dn=ldap_get_dn( ld, e )) != null){     printf("dn: %s\n", dn);     ldap_memfree(dn);   } } ldap_msgfree(result); 


Comments

Popular posts from this blog

Java sticky instances of class com.mysql.jdbc.Field aggregating -