r17798: Beginnings of a standalone libaddns library released under
authorGerald Carter <jerry@samba.org>
Thu, 24 Aug 2006 15:43:32 +0000 (15:43 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:38:48 +0000 (11:38 -0500)
commit36f04674aeefd93c5a0408b8967dcd48b86fdbc1
tree548e829bae43f6ca5e2c239d21b84ed207e0d96b
parente6e54125003373f83e6900668ceb9981e8620776
r17798: Beginnings of a standalone libaddns library released under
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.
18 files changed:
source/Makefile.in
source/configure.in
source/libaddns/addns.h [new file with mode: 0644]
source/libaddns/dns.h [new file with mode: 0644]
source/libaddns/dnserr.h [new file with mode: 0644]
source/libaddns/dnsgss.c [new file with mode: 0644]
source/libaddns/dnsrecord.c [new file with mode: 0644]
source/libaddns/dnsrequest.c [new file with mode: 0644]
source/libaddns/dnsresponse.c [new file with mode: 0644]
source/libaddns/dnssign.c [new file with mode: 0644]
source/libaddns/dnssock.c [new file with mode: 0644]
source/libaddns/dnsupdate.c [new file with mode: 0644]
source/libaddns/dnsuprequest.c [new file with mode: 0644]
source/libaddns/dnsupresp.c [new file with mode: 0644]
source/libaddns/dnsutils.c [new file with mode: 0644]
source/libads/ldap.c
source/utils/net_ads.c
source/utils/net_dns.c [new file with mode: 0644]