Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add configure.ac and Makefile.am. | Adam Tkac | 2009-03-30 | 3 | -0/+58 |
| | |||||
* | Prepare the tree for conversion to autoconf. | Martin Nagy | 2009-03-30 | 21 | -20/+0 |
| | | | | All source files are now moved to src/ and the old Makefile is removed. | ||||
* | Some speed optimizations for the string library. | Martin Nagy | 2009-03-29 | 1 | -7/+12 |
| | | | | Get rid of strncpy() and use memcpy() which is faster instead. | ||||
* | Add a convenience macro for isc_mem_allocate(). | Martin Nagy | 2009-03-25 | 2 | -11/+11 |
| | |||||
* | Refactoring related to isc_buffer_t. | Martin Nagy | 2009-03-25 | 5 | -53/+78 |
| | |||||
* | Fix problems with dnsname_to_dn() (rewrite). | Martin Nagy | 2009-03-25 | 6 | -59/+172 |
| | |||||
* | Restructure ldapdb_create(). | Martin Nagy | 2009-03-24 | 1 | -32/+28 |
| | |||||
* | Free the LDAP cache if something goes wrong. | Martin Nagy | 2009-03-24 | 1 | -0/+2 |
| | |||||
* | Use util.h macros in ldap_driver.c. | Martin Nagy | 2009-03-24 | 1 | -41/+16 |
| | |||||
* | Better conversion of DN to dnsname. | Martin Nagy | 2009-03-23 | 3 | -45/+43 |
| | | | | | We now don't need the root DN in order to make the conversion. Instead, we only look for RDNs with objectClass "idnsName". | ||||
* | Add locking capabilities into the caching code. | Martin Nagy | 2009-03-20 | 1 | -9/+45 |
| | |||||
* | Discard entries from cache after updating in LDAP. | Martin Nagy | 2009-03-16 | 2 | -2/+2 |
| | |||||
* | Remove testing write/remove ldap functions. | Adam Tkac | 2009-03-16 | 1 | -91/+3 |
| | |||||
* | Implement subtractrdataset function. | Adam Tkac | 2009-03-16 | 1 | -21/+85 |
| | |||||
* | Implement addrdataset function. | Adam Tkac | 2009-03-16 | 1 | -7/+219 |
| | |||||
* | Fix memory leak. | Adam Tkac | 2009-03-16 | 1 | -0/+1 |
| | |||||
* | Some cosmetic changes in ldap_helper.c | Martin Nagy | 2009-03-16 | 1 | -11/+6 |
| | |||||
* | Use isc_mem_allocate when we call isc_mem_free. | Adam Tkac | 2009-03-16 | 1 | -3/+16 |
| | |||||
* | Modify functions - rdatalist is always exactly one item (not list). | Adam Tkac | 2009-03-16 | 1 | -60/+40 |
| | |||||
* | Add write-back support. | Martin Nagy | 2009-03-16 | 5 | -5/+281 |
| | |||||
* | Add rdatatype_to_ldap_record() function. | Martin Nagy | 2009-03-16 | 2 | -4/+29 |
| | | | | This function will convert dns_rdatatype_t into LDAP attribute name. | ||||
* | Add support for SASL and simple authentication. | Martin Nagy | 2009-03-16 | 2 | -30/+163 |
| | |||||
* | Add functions str_toupper() and str_casecmp_char() | Martin Nagy | 2009-03-16 | 2 | -1/+29 |
| | |||||
* | Correctly accept an empty argument. | Martin Nagy | 2009-03-16 | 1 | -15/+13 |
| | | | | Also some small changes around settings. | ||||
* | Apply defaults correctly. | Martin Nagy | 2009-03-16 | 1 | -6/+5 |
| | |||||
* | Add discard_from_cache(). | Martin Nagy | 2009-03-16 | 2 | -0/+25 |
| | | | | | This function will delete a named entry from cache, if it exists and if caching is turned on. | ||||
* | Add expiration option 'cache_ttl'. | Martin Nagy | 2009-03-16 | 1 | -38/+42 |
| | | | | Defaults to 120 seconds. | ||||
* | Integrate the caching support. | Martin Nagy | 2009-03-14 | 4 | -15/+37 |
| | |||||
* | Add basic caching support. | Martin Nagy | 2009-03-14 | 3 | -2/+244 |
| | |||||
* | Add ldap_rdatalist_copy(). | Martin Nagy | 2009-03-14 | 2 | -0/+34 |
| | |||||
* | Separate rdatalist cloning to it's own function. | Martin Nagy | 2009-03-14 | 4 | -31/+141 |
| | |||||
* | Add SAFE_MEM_PUT_AND_DETACH() macro. | Martin Nagy | 2009-03-14 | 1 | -0/+4 |
| | | | | | | The macro takes one argument, which is a pointer to a struct that contains isc_mem_t pointer member called 'mctx'. The macro will free up the argument and detach it from the memory context. | ||||
* | Get rid of useless debugging output. | Martin Nagy | 2009-03-14 | 1 | -15/+0 |
| | |||||
* | Implement getoriginnode function. | atkac | 2009-03-14 | 1 | -3/+2 |
| | |||||
* | Associate returned rdataset correctly in findrdataset. | atkac | 2009-03-14 | 1 | -2/+5 |
| | |||||
* | Return DNS_R_NXDOMAIN from findnode when no record is found. | atkac | 2009-03-14 | 1 | -5/+1 |
| | |||||
* | Compare number of dn-s instead of pointers in dn_to_dnsname. | Adam Tkac | 2009-03-02 | 1 | -1/+1 |
| | |||||
* | Check return value from dns_name_fromtext. Free zone name only if it was ↵ | Adam Tkac | 2009-03-02 | 2 | -2/+4 |
| | | | | allocated. | ||||
* | Set update ACLs for zones to "any" by default. | Adam Tkac | 2009-03-02 | 1 | -0/+7 |
| | |||||
* | Use isc_log_vwrite instead of isc_log_write. | Adam Tkac | 2009-03-02 | 1 | -13/+8 |
| | |||||
* | Fix memory leaks resulted from creating rdatasets. | Martin Nagy | 2009-02-18 | 3 | -18/+75 |
| | | | | | We use kind of a hack really. We overwrite each created rdataset's methods by our own that will free the resources. | ||||
* | Enable reading from LDAP. | Martin Nagy | 2009-02-18 | 3 | -286/+455 |
| | |||||
* | Add conversion function, from LDAP to DNS. | Martin Nagy | 2009-02-18 | 2 | -1/+55 |
| | | | | | The ldap_record_to_rdatatype() function will convert an LDAP attribute name to dns_rdatatype_t. | ||||
* | Allocate rdataset separately from rdlist. | Martin Nagy | 2009-02-18 | 1 | -6/+67 |
| | | | | | | | We need to do this in order to be able to free ldapnode and keep rdataset preserved. As a TODO, we need to overwrite rdataset methods, specifically the disassociate method that will free the rdlist inside. For now, every memory allocated for the rdataset will be leaked. | ||||
* | Fixed find function, hopefully. | Adam Tkac | 2009-02-18 | 1 | -20/+19 |
| | |||||
* | Add str_clear(). | Martin Nagy | 2009-02-18 | 3 | -1/+11 |
| | | | | Same effect as str_init_char(str, ""). | ||||
* | Add dnsname_to_dn(). | Martin Nagy | 2009-02-18 | 2 | -0/+55 |
| | | | | | This function will take dns_name_t as a parameter and in turn return a suitable DN. | ||||
* | Add a convenience macro for isc_mem_put(). | Martin Nagy | 2009-02-18 | 1 | -0/+10 |
| | |||||
* | Add split support. | Martin Nagy | 2009-02-18 | 2 | -3/+143 |
| | | | | Also fix a small isc_mem_put() issue in str_alloc(). | ||||
* | Add another LDAP helper functions. | Martin Nagy | 2009-02-13 | 1 | -0/+242 |
| |