summaryrefslogtreecommitdiffstats
path: root/src/ldap_helper.c
Commit message (Collapse)AuthorAgeFilesLines
* Allow updating of the SOA recordMartin Nagy2009-08-041-11/+49
| | | | | | | | | Since the SOA record is special for us, as we store it in multiple LDAP attributes, it was ignored until now. This is now fixed, but we only allow changes to the numeric attributes: serial, refresh, retry, expire and minimum. Resolves ticket #5
* Cosmetic changes to ldap_rdttl_to_ldapmod()Martin Nagy2009-08-041-6/+4
|
* Fix memory leak in ldap_rdttl_to_ldapmod()Martin Nagy2009-08-041-2/+1
|
* Improve addition operation by using ldap_add_ext_s()Martin Nagy2009-08-041-12/+46
| | | | | | | | | Until now, we only used ldap_modify_ext_s() when adding a new record. This is not right, because the label might have not existed before. We solve this now by checking for LDAP_NO_SUCH_OBJECT error and using ldap_add_ext_s() if needed. Partially resolves ticket #1
* Add annotations to printf-like functionsMartin Nagy2009-08-041-1/+1
| | | | | | The ISC_FORMAT_PRINTF() macro will make sure that gcc checks if these functions are used correctly. Also fix bugs that were found along the way.
* Remove unneeded castsMartin Nagy2009-08-041-4/+4
|
* Rename ldap_record_to_rdatatype to ldap_attribute_to_rdatatypeMartin Nagy2009-08-041-1/+1
|
* Rename ldap_db_t to ldap_instance_tMartin Nagy2009-08-041-154/+154
| | | | | | | | | Equivalent to: s/new_ldap_db/new_ldap_instance/ s/destroy_ldap_db/destroy_ldap_instance/ s/manager_get_ldap_db_and_cache/manager_get_ldap_instance_and_cache/ s/ldap_db_t/ldap_instance_t/ s/ldap_db/ldap_db/
* Rename ldap_instance_t to ldap_connection_tMartin Nagy2009-08-041-171/+172
| | | | | | | | | Equivalent to: s/ldap_instance/ldap_connection s/ldap_inst/ldap_conn This commit starts a series of larger code refactoring effort. More changes and renames will follow.
* Add basic support to get a tgt autonomouslySimo Sorce2009-05-251-0/+36
| | | | | Use mutex to serialize kinit. Reuse existing valid creedentials if any.
* Let DNS Updates set the TTLSimo Sorce2009-05-251-4/+60
| | | | A bit hackish, but it does the job.
* Enable reading TTL for ldap entrySimo Sorce2009-05-251-14/+17
|
* Re-enable SASL/GSSAPI with fixes to make it work.Simo Sorce2009-05-221-11/+18
| | | | | | Still requires a manual kinit as the named user. also requires to set the sasl user in named.conf ex: arg "sasl_user DNS/ipaserver.example.com";
* ldap_helper.c: Shut up gcc warningsMartin Nagy2009-04-281-2/+3
|
* Add reconnection logic.Martin Nagy2009-04-271-54/+142
|
* Make ldap_rdata_to_char_array() static.Martin Nagy2009-04-241-1/+3
|
* Add update ACL capabilities.Martin Nagy2009-04-241-24/+69
|
* Fix rdata parsing.Martin Nagy2009-04-231-8/+8
|
* Change the setting name 'host' to 'uri'.Martin Nagy2009-04-231-8/+8
|
* Disable SASL for now, it doesn't work properly.Martin Nagy2009-04-231-0/+7
|
* Prepare the tree for conversion to autoconf.Martin Nagy2009-03-301-0/+1707
All source files are now moved to src/ and the old Makefile is removed.