Andrew Tridgell [Tue, 5 Sep 2006 12:01:18 +0000 (12:01 +0000)]
r18083: i should sleep more ....
Andrew Tridgell [Tue, 5 Sep 2006 11:52:28 +0000 (11:52 +0000)]
r18082: bring talloc in line with new conventions
Andrew Tridgell [Tue, 5 Sep 2006 11:51:00 +0000 (11:51 +0000)]
r18081: libreplace now uses config.h again
Andrew Tridgell [Tue, 5 Sep 2006 11:47:28 +0000 (11:47 +0000)]
r18080: added distclean target to talloc
Andrew Tridgell [Tue, 5 Sep 2006 11:45:55 +0000 (11:45 +0000)]
r18079: fix for in-tree build with samba4 dir layout
Andrew Tridgell [Tue, 5 Sep 2006 11:42:20 +0000 (11:42 +0000)]
r18078: these tests came from talloc
Andrew Tridgell [Tue, 5 Sep 2006 11:38:50 +0000 (11:38 +0000)]
r18077: move some configure tests out of talloc that are now in libreplace
Andrew Tridgell [Tue, 5 Sep 2006 11:34:43 +0000 (11:34 +0000)]
r18076: convert talloc to the new libreplace system
Andrew Tridgell [Tue, 5 Sep 2006 11:33:46 +0000 (11:33 +0000)]
r18075: with the new scheme, we now use config.h again (thanks jelmer!)
Andrew Tridgell [Tue, 5 Sep 2006 11:22:11 +0000 (11:22 +0000)]
r18074: config.m4 is now libreplace.m4
Andrew Tridgell [Tue, 5 Sep 2006 11:21:16 +0000 (11:21 +0000)]
r18073: next step in grab libreplace plan - see IRC logs for very detailed
discussion wity metze and jelmer!
Andrew Bartlett [Tue, 5 Sep 2006 10:45:05 +0000 (10:45 +0000)]
r18072: Really delete things in the base partition, after we changed where the
default search scope points to.
Andrew Bartlett
Andrew Bartlett [Tue, 5 Sep 2006 09:42:54 +0000 (09:42 +0000)]
r18068: This splits the handling of multiple SASL packets between the GENSEC
backend (if it chooses to implement it), or the GENSEC socket code.
This is to allow us to handle DIGEST-MD5 across to cyrus-sasl.
Andrew Bartlett
Andrew Tridgell [Tue, 5 Sep 2006 07:58:26 +0000 (07:58 +0000)]
r18067: some tweaks for irix and hpux
this checks for -AC99 or -c99 to get C99 structure init to work. It's
based on a similar macro metze did for Samba4.
the double sinclude() is weird, but I can't see any other way to use a
common config.m4 between libreplace and all the projects that use it
Stefan Metzmacher [Tue, 5 Sep 2006 06:40:39 +0000 (06:40 +0000)]
r18064: merge from samba3
metze
Andrew Tridgell [Tue, 5 Sep 2006 04:58:23 +0000 (04:58 +0000)]
r18061: this should fix the libreplace build on us4 with gcc
Andrew Tridgell [Tue, 5 Sep 2006 04:53:46 +0000 (04:53 +0000)]
r18060: use gmake for libreplace if available
Andrew Tridgell [Tue, 5 Sep 2006 04:48:01 +0000 (04:48 +0000)]
r18059: another cpp error
Andrew Tridgell [Tue, 5 Sep 2006 04:23:11 +0000 (04:23 +0000)]
r18058: we don't actually need __VA_ARGS__ yet (its another C99 feature which
I don't think we use anywhere)
Andrew Tridgell [Tue, 5 Sep 2006 04:19:16 +0000 (04:19 +0000)]
r18057: fixed an #ifdef
Andrew Tridgell [Tue, 5 Sep 2006 02:05:36 +0000 (02:05 +0000)]
r18056: includes needed for O_CREAT
Andrew Tridgell [Tue, 5 Sep 2006 02:03:22 +0000 (02:03 +0000)]
r18055: aix needs time.h for timegm.c to compile
Andrew Tridgell [Tue, 5 Sep 2006 01:54:49 +0000 (01:54 +0000)]
r18054: snprintf.c needs to use replace.h to get the rep_vasprintf and related
macros
Andrew Tridgell [Tue, 5 Sep 2006 01:50:52 +0000 (01:50 +0000)]
r18053: the sig_atomic_t test needs to be in libreplace for getpass.c to
compile on hpux
Andrew Tridgell [Mon, 4 Sep 2006 22:58:55 +0000 (22:58 +0000)]
r18052: discard_const_p() isn't part of the libreplace API, so we can't use it
inside libreplace.
Andrew Tridgell [Mon, 4 Sep 2006 22:49:30 +0000 (22:49 +0000)]
r18051: - add gcc warning flags
- fix piles of warnings and ftruncate bug in libreplace testsuite
Rafal Szczesniak [Mon, 4 Sep 2006 20:48:29 +0000 (20:48 +0000)]
r18050: Run more NET tests on the build farm.
rafal
Simo Sorce [Mon, 4 Sep 2006 16:30:40 +0000 (16:30 +0000)]
r18046: Add 'z' specifier support and a configure test.
Jeremy should I backport this to samba3 too?
Jelmer Vernooij [Mon, 4 Sep 2006 13:47:57 +0000 (13:47 +0000)]
r18045: Update format, list "test" target as phony.
Andrew Tridgell [Mon, 4 Sep 2006 13:35:03 +0000 (13:35 +0000)]
r18044: timegm.c needs to be in a separate file
Andrew Tridgell [Mon, 4 Sep 2006 13:28:54 +0000 (13:28 +0000)]
r18043: added strlcpy() test
Andrew Tridgell [Mon, 4 Sep 2006 13:27:16 +0000 (13:27 +0000)]
r18042: testsuite needs to link to libreplace.a :-)
Andrew Tridgell [Mon, 4 Sep 2006 13:10:49 +0000 (13:10 +0000)]
r18041: started on the bodies of the testsuite functions for libreplace
Jelmer Vernooij [Mon, 4 Sep 2006 13:10:14 +0000 (13:10 +0000)]
r18040: Use only one strnlen implementation
Jelmer Vernooij [Mon, 4 Sep 2006 13:07:29 +0000 (13:07 +0000)]
r18039: Include header with time_t if needed.
Andrew Tridgell [Mon, 4 Sep 2006 12:57:40 +0000 (12:57 +0000)]
r18038: make test fns static
Andrew Tridgell [Mon, 4 Sep 2006 12:56:14 +0000 (12:56 +0000)]
r18037: added 'make installcheck' target
Jelmer Vernooij [Mon, 4 Sep 2006 12:49:17 +0000 (12:49 +0000)]
r18036: Add missing file
Andrew Tridgell [Mon, 4 Sep 2006 12:39:41 +0000 (12:39 +0000)]
r18035: - fixed 'make clean' to remove test objects
- fixed 'make install' to create target dir
should be ready to go into the build farm as a standalone build now?
Andrew Tridgell [Mon, 4 Sep 2006 12:36:06 +0000 (12:36 +0000)]
r18034: fixed build of libreplace outside of source directory
Andrew Tridgell [Mon, 4 Sep 2006 12:31:40 +0000 (12:31 +0000)]
r18033: added install-sh, needed for standalone libreplace build
Andrew Tridgell [Mon, 4 Sep 2006 12:31:23 +0000 (12:31 +0000)]
r18032: added a 'make distclean'
Jelmer Vernooij [Mon, 4 Sep 2006 12:21:42 +0000 (12:21 +0000)]
r18031: Merge my replace fixes:
* libreplace can now build stand-alone
* add stub testsuite for libreplace
* make talloc/tdb/ldb use libreplace
Volker Lendecke [Mon, 4 Sep 2006 08:55:58 +0000 (08:55 +0000)]
r18027: Fix some 64-bit warnings
Andrew Tridgell [Mon, 4 Sep 2006 04:54:20 +0000 (04:54 +0000)]
r18026: patch from Brad allowing the windows testing to be configured
externally in the build farm
Andrew Bartlett [Mon, 4 Sep 2006 03:59:04 +0000 (03:59 +0000)]
r18025: Don't try to set a target host if there isn't one (such as with ldapi://).
Andrew Bartlett
Andrew Bartlett [Mon, 4 Sep 2006 01:59:23 +0000 (01:59 +0000)]
r18024: The %c sscanf format I'm using doesn't null terminate.
Andrew Bartlett
Andrew Bartlett [Mon, 4 Sep 2006 00:32:46 +0000 (00:32 +0000)]
r18023: Add support infrusructure for testing against an OpenLDAP server.
This will give a bit more noise on platforms without OpenLDAP (when we
run the slaptest check), but it shouldn't be too bad.
We don't start the LDAP server or re-provision unless LDAP_TEST is set.
Andrew Bartlett
Andrew Bartlett [Mon, 4 Sep 2006 00:27:37 +0000 (00:27 +0000)]
r18022: Increment number of records converted, and print number of records skipped.
Andrew Bartlett
Andrew Bartlett [Mon, 4 Sep 2006 00:26:10 +0000 (00:26 +0000)]
r18021: Add ldapi support to our LDAP client. To be used for testing an
OpenLDAP backend.
Andrew Bartlett
Volker Lendecke [Sun, 3 Sep 2006 16:33:12 +0000 (16:33 +0000)]
r18018: Fix the build on OpenBSD. No license problem this time, I've written strnlen
from scratch.
Volker
Rafal Szczesniak [Sun, 3 Sep 2006 12:30:55 +0000 (12:30 +0000)]
r18017: Separate NET tests out of RPC. This way it's easier to run libnet
tests only for quick checking.
rafal
Simo Sorce [Sat, 2 Sep 2006 02:41:26 +0000 (02:41 +0000)]
r17998: start working on syntaxes
Andrew Tridgell [Fri, 1 Sep 2006 14:23:17 +0000 (14:23 +0000)]
r17993: as metze pointed out, the composite_error() already calls the async
handler, so don't call composite_done()
Andrew Tridgell [Fri, 1 Sep 2006 12:37:17 +0000 (12:37 +0000)]
r17992: reverted r17842
This needs more consideration, as the patch removed the copyright
notice and license from the timegm.c code.
Volker, when you get a minute can you let me know what problem this
patch fixed so I can find a different approach?
Andrew Bartlett [Fri, 1 Sep 2006 10:41:27 +0000 (10:41 +0000)]
r17991: Implement a few more calls (with not implemented :-).
Remove references to dnsDomain, replace with references to dnsRoot
Andrew Bartlett
Andrew Tridgell [Fri, 1 Sep 2006 10:33:55 +0000 (10:33 +0000)]
r17990: added timeout checking on dcerpc connection establishment. This should
fix the problem on some build farm hosts where we were waiting forever
for a connection to DRSUAPI to be made, so the next test will start.
Next is to try and work out why the connection is timing out on some
hosts. That is probably a server bug, but at least with this change we
can see it.
Andrew Bartlett [Fri, 1 Sep 2006 07:28:25 +0000 (07:28 +0000)]
r17989: Add RPC-NETLOGON as a test we now run against Samba4.
Andrew Bartlett
Andrew Bartlett [Fri, 1 Sep 2006 07:22:33 +0000 (07:22 +0000)]
r17988: Add 'not for Samba4' hacks into the RPC-NETLOGON torture test.
Andrew Bartlett
Andrew Bartlett [Fri, 1 Sep 2006 07:21:13 +0000 (07:21 +0000)]
r17987: Make the LSA pipe listen on the \pipe\netlogon interface.
Andrew Bartlett
Andrew Bartlett [Fri, 1 Sep 2006 06:59:24 +0000 (06:59 +0000)]
r17986: Add a copy of the Heimdal licence to our source tree, to make it very
clear what the conditions on this code are, and that the terms are GPL
compatible.
Andrew Bartlett
Andrew Bartlett [Fri, 1 Sep 2006 04:37:31 +0000 (04:37 +0000)]
r17983: Use the UTF8-correct strcasecmp_m call for sorting these entries,
which has been recently fixed to cope with NULL pointers (fix segfault
on Solaris).
Andrew Bartlett
Andrew Bartlett [Fri, 1 Sep 2006 04:34:21 +0000 (04:34 +0000)]
r17982: One final hack...
When against a real, schema-checking LDAP backend, we need
extensibleObject on the baseDN entry (as entryUUID isn't run for
creating this basic ldif) output.
Andrew Tridgell [Fri, 1 Sep 2006 04:23:24 +0000 (04:23 +0000)]
r17980: handle NULL arguments without crashing in strcasecmp_m() and
strncasecmp_m(). This makes the use of these functions in sorting
routines with RPC replies sane
Andrew Tridgell [Fri, 1 Sep 2006 01:51:54 +0000 (01:51 +0000)]
r17978: make the ldap backend test for ldb work both with and without modules
(so it works on both redhat and debian, for example)
Andrew Bartlett [Thu, 31 Aug 2006 13:10:11 +0000 (13:10 +0000)]
r17968: Consolidate the DSSETUP and LSA pipes into a single file, as DSSETUP
is just one call.
This simplifies the one remaining DSSETUP call, and removes another
user of the dnsDomain attribute.
Andrew Bartlett
Andrew Bartlett [Thu, 31 Aug 2006 13:07:51 +0000 (13:07 +0000)]
r17967: Somewhere along the line we lost unixName here, and so lost the
ability for 'administrator' to log in as unix user 'root'.
Andrew Bartlett
Stefan Metzmacher [Thu, 31 Aug 2006 11:35:03 +0000 (11:35 +0000)]
r17966: remove all generated files
metze
Stefan Metzmacher [Thu, 31 Aug 2006 11:31:10 +0000 (11:31 +0000)]
r17965: make talloc build more portable
metze
Stefan Metzmacher [Thu, 31 Aug 2006 10:31:40 +0000 (10:31 +0000)]
r17964: try to support sun* hosts
metze
Stefan Metzmacher [Thu, 31 Aug 2006 10:17:54 +0000 (10:17 +0000)]
r17963: fix install logic for talloc.3
metze
Stefan Metzmacher [Thu, 31 Aug 2006 10:04:49 +0000 (10:04 +0000)]
r17962: source/intl/ isn't used in samba4 anymore
metze
Stefan Metzmacher [Thu, 31 Aug 2006 09:57:57 +0000 (09:57 +0000)]
r17961: source/po/ isn't justed in samba4, so remove it
metze
Stefan Metzmacher [Thu, 31 Aug 2006 09:38:48 +0000 (09:38 +0000)]
r17960: try to use gmake if present on IRIX
metze
Stefan Metzmacher [Thu, 31 Aug 2006 09:26:43 +0000 (09:26 +0000)]
r17958: as talloc_init() enabled null tracking, we should avoid to use it
in smbtorture, and in the LOCAL-TALLOC we should reset the null tracking
also make bin/smbtorture //url/foo LOCAL-TALLOC LOCAL-TALLOC possible
metze
Stefan Metzmacher [Thu, 31 Aug 2006 09:18:06 +0000 (09:18 +0000)]
r17957: don't try to use an internet connection when generating the manpage
and only install the manpage if we build it
metze
Andrew Bartlett [Thu, 31 Aug 2006 08:22:13 +0000 (08:22 +0000)]
r17956: LSA Cleanup!
This commit cleans up a number of aspects of the LSA interface.
Firstly, we do 2 simple searches on opening the LSA policy, to obtain
the basic information we need. This also avoids us searching for
dnsDomain (an invented attribute).
While I was at it, I added and tested new LSA calls, including the
enumTrustedDomainsEx call. I have also merged the identical structures
lsa_DomainInformation and lsa_DomainList.
Also in this commit: Fix netlogon use of uninitialised variables.
Andrew Bartlett
Andrew Bartlett [Thu, 31 Aug 2006 08:17:09 +0000 (08:17 +0000)]
r17955: Don't search for the dnsDomain attribute, it is invented (not in the
AD schema).
Andrew Bartlett
Andrew Bartlett [Thu, 31 Aug 2006 08:15:23 +0000 (08:15 +0000)]
r17954: Avoid including \n in error strings (left over from DEBUG() conversion).
Make it easier to debug CrackNames failures.
Andrew Bartlett
Stefan Metzmacher [Thu, 31 Aug 2006 07:43:09 +0000 (07:43 +0000)]
r17952: merge changes from samba3
metze
Stefan Metzmacher [Thu, 31 Aug 2006 06:33:54 +0000 (06:33 +0000)]
r17950: sync talloc with samba3
metze
Rafal Szczesniak [Wed, 30 Aug 2006 22:30:47 +0000 (22:30 +0000)]
r17940: Fix a warning spotted on the buildfarm.
rafal
Rafal Szczesniak [Wed, 30 Aug 2006 22:05:59 +0000 (22:05 +0000)]
r17939: Fix compiler warnings spotted on buildfarm.
rafal
Rafal Szczesniak [Wed, 30 Aug 2006 20:48:06 +0000 (20:48 +0000)]
r17938: More comments.
rafal
Jelmer Vernooij [Wed, 30 Aug 2006 13:27:13 +0000 (13:27 +0000)]
r17932: Fix header installation.
Jelmer Vernooij [Wed, 30 Aug 2006 11:47:40 +0000 (11:47 +0000)]
r17931: Really remove the files this time. Looks like there's something wrong with
the rename code in bzr-svn...
Jelmer Vernooij [Wed, 30 Aug 2006 11:29:34 +0000 (11:29 +0000)]
r17930: Merge noinclude branch:
* Move dlinklist.h, smb.h to subsystem-specific directories
* Clean up ads.h and move what is left of it to dsdb/
(only place where it's used)
Simo Sorce [Tue, 29 Aug 2006 22:50:49 +0000 (22:50 +0000)]
r17926: add trustedDomain class
Andrew Bartlett [Tue, 29 Aug 2006 22:38:59 +0000 (22:38 +0000)]
r17925: Another class we need.
Andrew Bartlett
Stefan Metzmacher [Tue, 29 Aug 2006 09:51:49 +0000 (09:51 +0000)]
r17907: - add a generic talloc_report_depth_cb() function which takes a callback
to do the actual report.
- make the talloc_report_depth_file() a wrapper of it
- and talloc_report() and talloc_report_full() are wrapper of
talloc_report_depth_file()
metze
Stefan Metzmacher [Tue, 29 Aug 2006 09:46:59 +0000 (09:46 +0000)]
r17905: fix c++ warnings
metze
Stefan Metzmacher [Tue, 29 Aug 2006 09:29:09 +0000 (09:29 +0000)]
r17904: we don't want warnings about unused parameters
volker that one was for you:-)
metze
Simo Sorce [Mon, 28 Aug 2006 23:30:43 +0000 (23:30 +0000)]
r17898: handle objectcategory and isdefunct for classes
Stefan Metzmacher [Mon, 28 Aug 2006 18:21:21 +0000 (18:21 +0000)]
r17895: - talloc_increase_ref_count() can fail
- make talloc_reference() typesafe when gcc >= 3 is used
metze
Simo Sorce [Mon, 28 Aug 2006 18:00:45 +0000 (18:00 +0000)]
r17894: better name for the internal syntax type
Stefan Metzmacher [Mon, 28 Aug 2006 17:50:26 +0000 (17:50 +0000)]
r17893: add a function to disable the null_context
metze
Stefan Metzmacher [Mon, 28 Aug 2006 17:40:31 +0000 (17:40 +0000)]
r17892: fix the last talloc c++ warning
metze
Stefan Metzmacher [Mon, 28 Aug 2006 17:38:49 +0000 (17:38 +0000)]
r17891: remove c++ warnings from talloc
metze
Stefan Metzmacher [Mon, 28 Aug 2006 17:21:34 +0000 (17:21 +0000)]
r17890: add -Wc++-compat option to gcc but don't use it yet
metze
Stefan Metzmacher [Mon, 28 Aug 2006 17:18:41 +0000 (17:18 +0000)]
r17889: allocate a valid element where the pointer can point to,
fix c++ warnings
metze