summaryrefslogtreecommitdiffstats
path: root/src/ldap_helper.h
Commit message (Collapse)AuthorAgeFilesLines
* Periodically refresh zone settingsMartin Nagy2009-08-041-4/+6
| | | | | | | | | | | | | | The original intent was to add and remove zones periodically, based on changes in the LDAP database. It seems, however, that this is not possible with the way BIND views are working. Each view can have zones added during the configuration phase, but not after that. Luckily, we can at least change their SSU table without the need to reload named. This commit also has some changes to the function interfaces and makes the whole thing a lot simpler. Creation of the ldap instances and cache instances is now left on the zone manager. Additionally, we now put view and zonemgr pointers right into into the ldap instance. This makes the API for refresh_zones_from_ldap() and create_zone() much more simpler.
* Use the zone register for internal storage of zonesMartin Nagy2009-08-041-6/+2
| | | | | | | | | | | Moving the zone registration into a separate file will make the code more modular and easier to read and change. Also, we are preparing the refresh_zones_from_ldap() function for it's intended purpose of being able to add zones and later modify them if something has changed. Unfortunately, we will only be able to change some of the zone attributes (for now the update policy). We will not be able to create new zones as they are added to LDAP because that requires a reload of the name server.
* Rename ldap_db_t to ldap_instance_tMartin Nagy2009-08-041-8/+8
| | | | | | | | | 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-1/+0
| | | | | | | | | 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.
* Make ldap_rdata_to_char_array() static.Martin Nagy2009-04-241-2/+0
|
* Fix rdata parsing.Martin Nagy2009-04-231-1/+1
|
* Prepare the tree for conversion to autoconf.Martin Nagy2009-03-301-0/+105
All source files are now moved to src/ and the old Makefile is removed.