summaryrefslogtreecommitdiff
path: root/source3/libaddns
AgeCommit message (Collapse)AuthorFilesLines
2008-09-16Make Samba 3 and Samba 4 both use the same single copy of libreplace.Jelmer Vernooij1-1/+1
2008-08-08build: fix a no previous prototype warning when building without ldap/gssapiaMichael Adam1-6/+6
move prototype of dns_create_update_request() to appropriate section in dns.h Michael (This used to be commit 0fba9549894affa8e2ea0b7fd15812f56f3319a3)
2008-03-06Fix an uninitialized variable, Coverity ID 481Volker Lendecke1-0/+1
(This used to be commit 9e4f576abfdd5605f4db9bb87c22ec68c94ff850)
2008-01-10Try and fix the AIX build.Michael Adam1-0/+1
The __ss_family workaround is in lib/replace/system/network.h ... Michael (This used to be commit 778199cf00196f81fd96deae1370d8cbc438c5bf)
2008-01-09Try and fix the AIX build.Jeremy Allison1-1/+9
Jeremy. (This used to be commit 231a148badf1f9b868ed1d37532020defa27bbd6)
2008-01-08Move the DNS tsig update to using struct sockaddr_storageJeremy Allison2-18/+25
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-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison1-6/+0
bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
2007-10-10r25134: Fix Bug #4968 and make dns updates work with heimdal as well (again,Günther Deschner1-21/+3
gss_import_name() needs to follow the same logic as in the LDAP sasl wrapping (see -r25133). Tested with MIT 1.2.7, 1.3.6, 1.4.3, 1.5.1, 1.6.1 and Heimdal 0.7.2, 1.0, 1.0.1. Guenther (This used to be commit 913fb138aa90a6627ee49b2e92d1bbc73e11f9ea)
2007-10-10r24808: Fix the same problem Volker noticed.Jeremy Allison1-1/+1
For some funny reason us4/gcc seems to fall over the ' Jeremy. (This used to be commit 229e02d732c1612c7dc4510325da1dcf50050a95)
2007-10-10r24764: Fix second TALLOC_SIZE definition. Still watching theJeremy Allison1-1/+1
build farm to see I didn't stuff this up... Jeremy. (This used to be commit 4ca43172d9feae92060ddefb76a97622bca32d1b)
2007-10-10r24759: Comment out the _nonnull calls for 3.2.x, as agreed with tridge.Jeremy Allison1-2/+22
Leaving the commented out code for now, in case I need to re-test some stuff. Jeremy (This used to be commit 343be0464342aac14a9592fd73a71b7589ba34d5)
2007-10-10r23799: updated old Franklin Street FSF addresses to new URLAndrew Tridgell8-24/+8
(This used to be commit 43cd589773148fe3d243892768ce187604dd0c33)
2007-10-10r22589: Make TALLOC_ARRAY consistent across all uses.Jeremy Allison2-6/+14
Jeremy. (This used to be commit 8968808c3b5b0208cbad9ac92eaf948f2c546dd9)
2007-10-10r22564: Move the _strict -> _zeronull functions into lib/util.cJeremy Allison1-7/+16
and out of talloc at tridge's request. Jeremy. (This used to be commit da78488b86c464b6861d36398cca7524ad5906fe)
2007-10-10r22542: Move over to using the _strict varients of the tallocJeremy Allison1-7/+7
calls. No functional changes. Looks bigger than it is :-). Jeremy. (This used to be commit f6fa3080fee1b20df9f1968500840a88cf0ee592)
2007-10-10r21851: Obvious typos...Volker Lendecke1-2/+2
(This used to be commit ff886436b739bbb5c00a67de970841205a3f447c)
2007-10-10r21848: add a comment about gss_import_name() and when to free the krb5 ↵Gerald Carter1-1/+9
principal data (This used to be commit 54a114fa7569315a8ad391689ebf5d68ef4a62d4)
2007-10-10r21217: Just found a system that does not define in_addr_t but only structVolker Lendecke2-9/+12
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-10r20485: Add select with a 10 second timeout when reading DSN update responses.Gerald Carter1-5/+19
(This used to be commit cb6c6a49e257d60318101c897e8d2b86de08a846)
2007-10-10r20427: Rename dnp_open. This conflicts with the dns_open symbol inJames Peach3-3/+3
libSystem on Mac OS X. (This used to be commit 585ee7f31d2fb169e9dc37fd786faa8049be5e52)
2007-10-10r20173: DNS update fixes:Gerald Carter2-3/+3
* 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 Carter3-19/+41
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-10r20131: get rid of a few no previous prototype warningsHerb Lewis1-0/+3
(This used to be commit e710a7d39a662a1a339f3f71c4b051fde1bb5a16)
2007-10-10r19977: * Fix a crash in the secure DNS update code. Don't freeGerald Carter1-3/+4
the host_principal memory while it is still being referenced by the gss code. (This used to be commit 7a5a12e892171f0e1b6355f84ee920307834c81f)
2007-10-10r19762: libaddns/*[ch] code fixes donated by Centeris CorporationGerald Carter13-4839/+1501
(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-10r18858: arrgh! - since HAVE_IMMEDIATE_STRUCTURES were last enabled the codeAndrew Tridgell1-1/+1
can no longer handle it (at least with gcc 4.1.2). Disable it until investigated and fixed properly. (This used to be commit c8670b33b490daeaff987c21fcb0ec601a91d54e)
2007-10-10r18784: hopefully fix the BOOL bug on AIXStefan Metzmacher1-3/+2
metze (This used to be commit 454d9590de6ff94a1edd7321e26af0f0978a356a)
2007-10-10r18019: Fix a C++ warnings: Don't use void * in libads/ for LDAPMessage anymore.Volker Lendecke4-11/+11
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-10r17851: Fix a warning & attempt to fix the Tru64 buildVolker Lendecke2-1/+25
(This used to be commit b05cac3cb5b35fa305f3d881012cc8e7eca87bd8)
2007-10-10r17845: Remove a Solaris warningVolker Lendecke1-1/+1
(This used to be commit ec42ec31c05afb785adbe3c14f903889178df184)
2007-10-10r17835: Fix Coverity bugs 306, 309, 310.Volker Lendecke2-6/+1
Jeremy, you might want to look at the trans2 one. Volker (This used to be commit d727fc681c073a1b09accd31a07341b58e10eebb)
2007-10-10r17833: Next step to fix the build farm.Volker Lendecke1-0/+1
Jerry, why don't you include "includes.h"? Thanks, Volker (This used to be commit c02970c27251d7cd1f5a14a8ac7671d8e4325f5d)
2007-10-10r17805: Sorry Jerry, I could not stand the warnings... :-)Volker Lendecke10-62/+67
(This used to be commit f5fcafd77e8a749659ef90296402c5130f45419b)
2007-10-10r17803: finally get the new libaddns code to build on Solaris 9Gerald Carter2-1/+6
(This used to be commit 6a4f4ce016dc47ff4b433208266c4616be7e2770)
2007-10-10r17802: trying to fix more build farm hostsGerald Carter4-21/+51
(This used to be commit d16fea385aba11b6dad141298694320c803bf3eb)
2007-10-10r17799: Start fixing the building carnage. Only include calls toGerald Carter1-0/+2
uuid lib fucntions when WITH_DNS_UPDATES is defined. (This used to be commit 3c547202856378cb1b6895b8c5dd0c9e43c66a1f)
2007-10-10r17798: Beginnings of a standalone libaddns library released underGerald Carter13-0/+5675
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)