summaryrefslogtreecommitdiffstats
path: root/source/libaddns
Commit message (Collapse)AuthorAgeFilesLines
* Revert "libaddns: Use the same prerequisite for DDNS update as Windows XP."Karolin Seeger2008-11-171-2/+2
| | | | This reverts commit 35130846b4595cc3a937e10a113d2805a5b2c096.
* Revert "Fix a potential NULL deref in line 258 found by the IBM checker"Karolin Seeger2008-11-171-1/+0
| | | | This reverts commit 589fe1c879ef23ee9e45f5f877f2696142d57e70.
* Fix a potential NULL deref in line 258 found by the IBM checkerVolker Lendecke2008-10-061-0/+1
| | | | (cherry picked from commit de581efedbc53a783a680ff366d37aeccd14ee23)
* libaddns: Use the same prerequisite for DDNS update as Windows XP.Gerald (Jerry) Carter2008-10-061-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. (cherry picked from commit 6b6402bce318a48b0890ed6fc23ed5b30440927b) (cherry picked from commit adde53eddb85e9af391c3f77425a3376c5c60dbf)
* Fix an uninitialized variable, Coverity ID 481Volker Lendecke2008-03-071-0/+1
| | | | (cherry picked from commit 9e4f576abfdd5605f4db9bb87c22ec68c94ff850)
* Try and fix the AIX build.Michael Adam2008-01-101-0/+1
| | | | | | The __ss_family workaround is in lib/replace/system/network.h ... Michael
* Try and fix the AIX build.Jeremy Allison2008-01-091-1/+9
| | | | Jeremy.
* Move the DNS tsig update to using struct sockaddr_storageJeremy Allison2008-01-082-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.
* RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison2007-10-181-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.
* r25134: Fix Bug #4968 and make dns updates work with heimdal as well (again,Günther Deschner2007-10-101-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
* r24808: Fix the same problem Volker noticed.Jeremy Allison2007-10-101-1/+1
| | | | | | For some funny reason us4/gcc seems to fall over the ' Jeremy.
* r24764: Fix second TALLOC_SIZE definition. Still watching theJeremy Allison2007-10-101-1/+1
| | | | | build farm to see I didn't stuff this up... Jeremy.
* r24759: Comment out the _nonnull calls for 3.2.x, as agreed with tridge.Jeremy Allison2007-10-101-2/+22
| | | | | | Leaving the commented out code for now, in case I need to re-test some stuff. Jeremy
* r23799: updated old Franklin Street FSF addresses to new URLAndrew Tridgell2007-10-108-24/+8
|
* r22589: Make TALLOC_ARRAY consistent across all uses.Jeremy Allison2007-10-102-6/+14
| | | | Jeremy.
* r22564: Move the _strict -> _zeronull functions into lib/util.cJeremy Allison2007-10-101-7/+16
| | | | | and out of talloc at tridge's request. Jeremy.
* r22542: Move over to using the _strict varients of the tallocJeremy Allison2007-10-101-7/+7
| | | | | calls. No functional changes. Looks bigger than it is :-). Jeremy.
* r21851: Obvious typos...Volker Lendecke2007-10-101-2/+2
|
* r21848: add a comment about gss_import_name() and when to free the krb5 ↵Gerald Carter2007-10-101-1/+9
| | | | principal data
* r21217: Just found a system that does not define in_addr_t but only structVolker Lendecke2007-10-102-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
* r20485: Add select with a 10 second timeout when reading DSN update responses.Gerald Carter2007-10-101-5/+19
|
* r20427: Rename dnp_open. This conflicts with the dns_open symbol inJames Peach2007-10-103-3/+3
| | | | libSystem on Mac OS X.
* r20173: DNS update fixes:Gerald Carter2007-10-102-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()
* r20170: Fix secure DNS updates to work againstGerald Carter2007-10-103-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).
* r20131: get rid of a few no previous prototype warningsHerb Lewis2007-10-101-0/+3
|
* r19977: * Fix a crash in the secure DNS update code. Don't freeGerald Carter2007-10-101-3/+4
| | | | | the host_principal memory while it is still being referenced by the gss code.
* r19762: libaddns/*[ch] code fixes donated by Centeris CorporationGerald Carter2007-10-1013-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
* r18858: arrgh! - since HAVE_IMMEDIATE_STRUCTURES were last enabled the codeAndrew Tridgell2007-10-101-1/+1
| | | | | can no longer handle it (at least with gcc 4.1.2). Disable it until investigated and fixed properly.
* r18784: hopefully fix the BOOL bug on AIXStefan Metzmacher2007-10-101-3/+2
| | | | metze
* r18019: Fix a C++ warnings: Don't use void * in libads/ for LDAPMessage anymore.Volker Lendecke2007-10-104-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
* r17851: Fix a warning & attempt to fix the Tru64 buildVolker Lendecke2007-10-102-1/+25
|
* r17845: Remove a Solaris warningVolker Lendecke2007-10-101-1/+1
|
* r17835: Fix Coverity bugs 306, 309, 310.Volker Lendecke2007-10-102-6/+1
| | | | | | Jeremy, you might want to look at the trans2 one. Volker
* r17833: Next step to fix the build farm.Volker Lendecke2007-10-101-0/+1
| | | | | | | | Jerry, why don't you include "includes.h"? Thanks, Volker
* r17805: Sorry Jerry, I could not stand the warnings... :-)Volker Lendecke2007-10-1010-62/+67
|
* r17803: finally get the new libaddns code to build on Solaris 9Gerald Carter2007-10-102-1/+6
|
* r17802: trying to fix more build farm hostsGerald Carter2007-10-104-21/+51
|
* r17799: Start fixing the building carnage. Only include calls toGerald Carter2007-10-101-0/+2
| | | | uuid lib fucntions when WITH_DNS_UPDATES is defined.
* r17798: Beginnings of a standalone libaddns library released underGerald Carter2007-10-1013-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.