summaryrefslogtreecommitdiff
path: root/source3/libaddns/dnsrecord.c
AgeCommit message (Collapse)AuthorFilesLines
2008-10-03libaddns: Use the same prerequisite for DDNS update as Windows XP.Gerald (Jerry) Carter1-2/+2
Hostname, TYPE: CNAME, CLASS: NONE This has to have been broken for ages. I cannot see how it would have worked in any environment.
2008-01-08Move the DNS tsig update to using struct sockaddr_storageJeremy Allison1-14/+21
from struct in_addr. Still only does IPv4 updates but now it'll be easy to add IPv6 when we have time. Jeremy. (This used to be commit ac3a433befca2c6b674fc7e7f2f2c700d78b0a0c)
2007-10-10r23799: updated old Franklin Street FSF addresses to new URLAndrew Tridgell1-3/+1
(This used to be commit 43cd589773148fe3d243892768ce187604dd0c33)
2007-10-10r22589: Make TALLOC_ARRAY consistent across all uses.Jeremy Allison1-3/+7
Jeremy. (This used to be commit 8968808c3b5b0208cbad9ac92eaf948f2c546dd9)
2007-10-10r21217: Just found a system that does not define in_addr_t but only structVolker Lendecke1-7/+7
in_addr. Okay, it's a SuSE 7.0, but if the fix is so simple I think we should not drop that :-) Volker (This used to be commit a5d0d1c1e63c63388540a24854bde380cd4b06bf)
2007-10-10r20173: DNS update fixes:Gerald Carter1-2/+2
* Fix DNS updates for multi-homed hosts * Child domains often don't have an NS record in DNS so we have to fall back to looking up the the NS records for the forest root. * Fix compile warning caused by mismatched 'struct in_addr' and 'in_addr_t' parameters called to DoDNSUpdate() (This used to be commit 3486acd3c3ebefae8f98dcc72d1c3d6b06fffcc7)
2007-10-10r20170: Fix secure DNS updates to work againstGerald Carter1-6/+12
Wnidows 2000 DNS which expects the TKEY payload to be in the answer section and not in the additional set of records (like Windows 2003 and the RFC). (This used to be commit a3b6734fdad5fd92dbec075ebcd8d7044aac45c2)
2007-10-10r19762: libaddns/*[ch] code fixes donated by Centeris CorporationGerald Carter1-434/+293
(http://www.centeris.com/) under my copyright. * Rework error reporting to use DNS_ERROR instead of int32 * Convert memory allocation to use talloc() * Generalize the DNS request/response packet marshalling * Fix the secure update requests (This used to be commit c78798333616c3f823514df0f58da2eb3a30a988)
2007-10-10r18019: Fix a C++ warnings: Don't use void * in libads/ for LDAPMessage anymore.Volker Lendecke1-1/+1
Compiled it on systems with and without LDAP, I hope it does not break the build farm too badly. If it does, I'll fix it tomorrow. Volker (This used to be commit b2ff9680ebe0979fbeef7f2dabc2e3f27c959d11)
2007-10-10r17805: Sorry Jerry, I could not stand the warnings... :-)Volker Lendecke1-12/+12
(This used to be commit f5fcafd77e8a749659ef90296402c5130f45419b)
2007-10-10r17798: Beginnings of a standalone libaddns library released underGerald Carter1-0/+548
the LGPL. Original code by Krishna Ganugapati <krishnag@centeris.com>. Additional work by me. It's still got some warts, but non-secure updates do currently work. There are at least four things left to really clean up. 1. Change the memory management to use talloc() rather than malloc() and cleanup the leaks. 2. Fix the error code reporting (see initial changes to dnserr.h) 3. Fix the secure updates 4. Define a public interface in addns.h 5. Move the code in libads/dns.c into the libaddns/ directory (and under the LGPL). A few notes: * Enable the new code by compiling with --with-dnsupdate * Also adds the command 'net ads dns register' * Requires -luuid (included in the e2fsprogs-devel package). * Has only been tested on Linux platforms so there may be portability issues. (This used to be commit 36f04674aeefd93c5a0408b8967dcd48b86fdbc1)