Author: jerry Date: 2006-08-24 15:43:32 +0000 (Thu, 24 Aug 2006) New Revision: 17798
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17798 Log: Beginnings of a standalone libaddns library released under the LGPL. Original code by Krishna Ganugapati <[EMAIL PROTECTED]>. 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. Added: branches/SAMBA_3_0/source/libaddns/ branches/SAMBA_3_0/source/libaddns/addns.h branches/SAMBA_3_0/source/libaddns/dns.h branches/SAMBA_3_0/source/libaddns/dnserr.h branches/SAMBA_3_0/source/libaddns/dnsgss.c branches/SAMBA_3_0/source/libaddns/dnsrecord.c branches/SAMBA_3_0/source/libaddns/dnsrequest.c branches/SAMBA_3_0/source/libaddns/dnsresponse.c branches/SAMBA_3_0/source/libaddns/dnssign.c branches/SAMBA_3_0/source/libaddns/dnssock.c branches/SAMBA_3_0/source/libaddns/dnsupdate.c branches/SAMBA_3_0/source/libaddns/dnsuprequest.c branches/SAMBA_3_0/source/libaddns/dnsupresp.c branches/SAMBA_3_0/source/libaddns/dnsutils.c branches/SAMBA_3_0/source/utils/net_dns.c Modified: branches/SAMBA_3_0/source/Makefile.in branches/SAMBA_3_0/source/configure.in branches/SAMBA_3_0/source/libads/ldap.c branches/SAMBA_3_0/source/utils/net_ads.c Changeset: Sorry, the patch is too large (6428 lines) to include; please use WebSVN to see it! WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17798