summaryrefslogtreecommitdiffstats
path: root/source3/utils/net_dns.c
Commit message (Collapse)AuthorAgeFilesLines
* s3-build: remove -I../lib/addns.Günther Deschner2011-03-101-2/+1
| | | | Guenther
* s3: Fix some nonempty blank linesVolker Lendecke2010-07-181-6/+4
|
* s3-net: fix build warning.Günther Deschner2008-11-011-1/+1
| | | | | | Jeremy, please check. Guenther
* Remove an unused variableVolker Lendecke2008-10-051-1/+0
|
* net_dns: Make "lwinet ads dns register" honor the "interfaces" parameter.Gerald (Jerry) Carter2008-10-031-13/+12
| | | | | This is helpful on multihomed hosts that only require a subset of IP addresses be registered with DNS.
* Fix typo noticed by David Disseldorp <ddiss@sgi.com>. AF_INET should be ↵Jeremy Allison2008-04-301-1/+1
| | | | | | | AF_INET6 in this case. Jeremy. (This used to be commit 767740a914c7ebeb88886f520380b7fa365e315d)
* Fix some warnings -- Jeremy, please checkVolker Lendecke2008-01-151-1/+2
| | | | (This used to be commit b66ac8567c16f2c35fceceba2f858d5503620309)
* Attempt to fix the compile of source/utils/net_dns.cVolker Lendecke2008-01-091-5/+7
| | | | | Jeremy, please check! (This used to be commit 66d3012bf422b2ffc47fa6a405269bad2a80bd6f)
* Move the DNS tsig update to using struct sockaddr_storageJeremy Allison2008-01-081-15/+22
| | | | | | | 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)
* Fix the build WITH_DNS_UPDATES.Günther Deschner2007-10-121-2/+8
| | | | | | | Jeremy, please have a look. Guenther (This used to be commit 4dfda879a3ad44be7008702b9fbefe3858436118)
* Add start of IPv6 implementation. Currently most of this is avoidingJeremy Allison2007-10-101-2/+1
| | | | | | | | | | | IPv6 in winbindd, but moves most of the socket functions that were wrongly in lib/util.c into lib/util_sock.c and provides generic IPv4/6 independent versions of most things. Still lots of work to do, but now I can see how I'll fix the access check code. Nasty part that remains is the name resolution code which is used to returning arrays of in_addr structs. Jeremy. (This used to be commit 3f6bd0e1ec5cc6670f3d08f76fc2cd94c9cd1a08)
* r25472: Fix the interfaces code to detect IPv6 interfaces, using theJeremy Allison2007-10-101-2/+2
| | | | | | | | new standard getifaddrs() and freeifaddrs() interfaces. Currently we only return IPv4 af_families. Needs fixing for binds to IPv6 but this has to be careful work. Jeremy. (This used to be commit 327875182c9219aeba687e10aaea93546d9a70ea)
* r24047: With -Wmissing-prototypes these two always generate warnings. TheyVolker Lendecke2007-10-101-0/+14
| | | | | should be properly prototyped. For now, gloss over the warning. (This used to be commit 2137158260cc9677bf9652a3d85334b0d7512b7b)
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-10-101-2/+1
| | | | (This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | | Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
* r20428: Rename dns_open. This conflicts with the dns_open symbol inJames Peach2007-10-101-2/+2
| | | | | libSystem on Mac OS X. (This used to be commit 2117904f18869fca0d4770883cf2de5fb00c4f85)
* r20173: DNS update fixes:Gerald Carter2007-10-101-23/+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)
* r20170: Fix secure DNS updates to work againstGerald Carter2007-10-101-2/+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)
* r19762: libaddns/*[ch] code fixes donated by Centeris CorporationGerald Carter2007-10-101-24/+117
| | | | | | | | | | | (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)
* r18019: Fix a C++ warnings: Don't use void * in libads/ for LDAPMessage anymore.Volker Lendecke2007-10-101-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)
* r17798: Beginnings of a standalone libaddns library released underGerald Carter2007-10-101-0/+99
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)