1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-22 05:57:43 +03:00

13 Commits

Author SHA1 Message Date
Gerald Carter
c787983336 r19762: libaddns/*[ch] code fixes donated by Centeris Corporation
(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
2007-10-10 12:15:53 -05:00
Andrew Tridgell
c8670b33b4 r18858: arrgh! - since HAVE_IMMEDIATE_STRUCTURES were last enabled the code
can no longer handle it (at least with gcc 4.1.2). Disable it until
investigated and fixed properly.
2007-10-10 12:01:06 -05:00
Stefan Metzmacher
454d9590de r18784: hopefully fix the BOOL bug on AIX
metze
2007-10-10 12:00:57 -05:00
Volker Lendecke
b2ff9680eb r18019: Fix a C++ warnings: Don't use void * in libads/ for LDAPMessage anymore.
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
2007-10-10 11:39:49 -05:00
Volker Lendecke
b05cac3cb5 r17851: Fix a warning & attempt to fix the Tru64 build 2007-10-10 11:38:53 -05:00
Volker Lendecke
ec42ec31c0 r17845: Remove a Solaris warning 2007-10-10 11:38:53 -05:00
Volker Lendecke
d727fc681c r17835: Fix Coverity bugs 306, 309, 310.
Jeremy, you might want to look at the trans2 one.

Volker
2007-10-10 11:38:52 -05:00
Volker Lendecke
c02970c272 r17833: Next step to fix the build farm.
Jerry, why don't you include "includes.h"?

Thanks,

Volker
2007-10-10 11:38:52 -05:00
Volker Lendecke
f5fcafd77e r17805: Sorry Jerry, I could not stand the warnings... :-) 2007-10-10 11:38:49 -05:00
Gerald Carter
6a4f4ce016 r17803: finally get the new libaddns code to build on Solaris 9 2007-10-10 11:38:49 -05:00
Gerald Carter
d16fea385a r17802: trying to fix more build farm hosts 2007-10-10 11:38:49 -05:00
Gerald Carter
3c54720285 r17799: Start fixing the building carnage. Only include calls to
uuid lib fucntions when WITH_DNS_UPDATES is defined.
2007-10-10 11:38:48 -05:00
Gerald Carter
36f04674ae 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.
2007-10-10 11:38:48 -05:00