bbaumbach/samba-autobuild/.git
16 years agor17754: remove the --always-create option from mkproto.pl
Stefan Metzmacher [Wed, 23 Aug 2006 13:20:16 +0000 (13:20 +0000)]
r17754: remove the --always-create option from mkproto.pl
and make this behavior the default.

as with make 3.81 and autodependencies this way is much
faster as make can use faster codepathes internally.

(without this make needed more and more startup time after using
 autodependencies for a few weeks)

metze
(This used to be commit e85d7eeb0a233ffb88bec1bc88b697c18bba1ed4)

16 years agor17753: fix compiler warnings and make the code simpler
Stefan Metzmacher [Wed, 23 Aug 2006 13:14:03 +0000 (13:14 +0000)]
r17753: fix compiler warnings and make the code simpler

metze
(This used to be commit eda302ffa5458a34f78d733cd0a46e79a74e81d7)

16 years agor17752: using -1 in a uint16_t value causes compiler warnings,
Stefan Metzmacher [Wed, 23 Aug 2006 13:06:31 +0000 (13:06 +0000)]
r17752: using -1 in a uint16_t value causes compiler warnings,
use UINT16_MAX as invalid search handle

metze
(This used to be commit a4e19d6cc4cce611241c502de485dbd2496be0d3)

16 years agor17750: these have moved to ldb/replace/ now
Andrew Tridgell [Wed, 23 Aug 2006 11:32:29 +0000 (11:32 +0000)]
r17750: these have moved to ldb/replace/ now
(This used to be commit ac178b52935d7629f8583092e833b74093ca70e1)

16 years agor17749: more HPUX madness
Andrew Tridgell [Wed, 23 Aug 2006 11:31:43 +0000 (11:31 +0000)]
r17749: more HPUX madness
(This used to be commit 444e92890f08cdc0f5b84e964d1cc6a812e1073e)

16 years agor17748: make the casts much easier to understand
Stefan Metzmacher [Wed, 23 Aug 2006 11:29:08 +0000 (11:29 +0000)]
r17748: make the casts much easier to understand

metze
(This used to be commit 5992f3b918967ff478ad24333cfe583e0b14a4c9)

16 years agor17747: ldb's make test should not try to install something
Stefan Metzmacher [Wed, 23 Aug 2006 11:27:40 +0000 (11:27 +0000)]
r17747: ldb's make test should not try to install something

metze
(This used to be commit ccf9ad0d2ff8388dd76a36426657773a59e6c316)

16 years agor17746: the automatic archive creation in make breaks on 3 platforms. Lets try
Andrew Tridgell [Wed, 23 Aug 2006 11:21:44 +0000 (11:21 +0000)]
r17746: the automatic archive creation in make breaks on 3 platforms. Lets try
manual archives and see if they work a bit better ....
(This used to be commit 15ec8c3741f89ac4d6f0cd794dc916ee37d883cc)

16 years agor17745: got rid of the final asprintf() in ldb
Andrew Tridgell [Wed, 23 Aug 2006 10:55:20 +0000 (10:55 +0000)]
r17745: got rid of the final asprintf() in ldb
(This used to be commit 21377a607647c847c6902b685555a0206e61c6dd)

16 years agor17744: we explicit want to get warnings about declarations after statements:-)
Stefan Metzmacher [Wed, 23 Aug 2006 10:01:07 +0000 (10:01 +0000)]
r17744: we explicit want to get warnings about declarations after statements:-)

metze
(This used to be commit c3be1e18bcc050fe96be3f35e10ca643673749ca)

16 years agor17743: fix compiler warnings
Stefan Metzmacher [Wed, 23 Aug 2006 09:19:19 +0000 (09:19 +0000)]
r17743: fix compiler warnings

metze
(This used to be commit 694a56b0ae0125594d6a23d8465249f011b6284e)

16 years agor17742: make the casts explicit and remove compiler warnings
Stefan Metzmacher [Wed, 23 Aug 2006 09:00:57 +0000 (09:00 +0000)]
r17742: make the casts explicit and remove compiler warnings

metze
(This used to be commit b2cc485058c86d5be162a5e4c13c0b30f25c9d3d)

16 years agor17741: tru64 uses inttypes.h not stdint.h.
Andrew Tridgell [Wed, 23 Aug 2006 05:19:42 +0000 (05:19 +0000)]
r17741: tru64 uses inttypes.h not stdint.h.

ain't standards wonderful?
(This used to be commit 5eb59e5be09cd16bb0796b55575aa92dfd22650a)

16 years agor17740: get rid of dependence on asprintf(), using talloc_asprintf() instead
Andrew Tridgell [Wed, 23 Aug 2006 05:08:55 +0000 (05:08 +0000)]
r17740: get rid of dependence on asprintf(), using talloc_asprintf() instead
(This used to be commit 0e350ea0c1bba278995da5e8de677c5651eb623e)

16 years agor17739: forgot to add replace/*
Andrew Tridgell [Wed, 23 Aug 2006 04:55:39 +0000 (04:55 +0000)]
r17739: forgot to add replace/*
(This used to be commit ceb09f50b7d9f2626b42123e2482d562713f881b)

16 years agor17738: solving the seemingly trivial problem of timegm() being missing on
Andrew Tridgell [Wed, 23 Aug 2006 04:53:47 +0000 (04:53 +0000)]
r17738: solving the seemingly trivial problem of timegm() being missing on
some systems requires quite a large change in ldb. The core problem is
that ldb doesn't have its own equivalent of lib/replace/, so we have
no sane place to put things like timegm.c

This patch moves part of lib/replace/ from Samba4 into ldb, and the
next patch will remove those parts from Samba4. We will probably need
to similarly move parts of lib/replace/ into lib/talloc/ and lib/tdb/,
so that at each level the libraries have replacements for the
functions they need, but higher level libraries don't need to
re-include replacements if a lower level library already replaces the
function
(This used to be commit c2f6c217fb4a5c84499246480f00df40b0711074)

16 years agor17737: fixed a 'declaration in code' error
Andrew Tridgell [Wed, 23 Aug 2006 02:51:40 +0000 (02:51 +0000)]
r17737: fixed a 'declaration in code' error
(This used to be commit aca417c6b164b54334cc46e126dd362ddab509d3)

16 years agor17735: a (probably useless) attempt to workaround stupidity in HPs version of
Andrew Tridgell [Wed, 23 Aug 2006 02:06:07 +0000 (02:06 +0000)]
r17735: a (probably useless) attempt to workaround stupidity in HPs version of
make
(This used to be commit b85b1f5926789c0d6f7cad5f6b8dc4992cca5a13)

16 years agor17734: tru64 needs these for standalone build
Andrew Tridgell [Wed, 23 Aug 2006 01:55:02 +0000 (01:55 +0000)]
r17734: tru64 needs these for standalone build
(This used to be commit b735ad8cfa6c10b3e1e450bcec73904aa72e91b2)

16 years agor17733: doxygen is way too noisy to build every time, and it doesn't do
Andrew Tridgell [Wed, 23 Aug 2006 01:51:45 +0000 (01:51 +0000)]
r17733: doxygen is way too noisy to build every time, and it doesn't do
dependencies. If someone can fix it to only rebuild when something
changes, then feel free to re-enable it by default. Otherwise use
"make doxygen" if you are in need of a doxygen fix ....
(This used to be commit e9ab8d9f4820c03ee6023bc5dd586f4b5643aa2f)

16 years agor17732: after some help from Jelmer, changed builddocs.sh not to rely on
Andrew Tridgell [Wed, 23 Aug 2006 01:44:22 +0000 (01:44 +0000)]
r17732: after some help from Jelmer, changed builddocs.sh not to rely on
either an internet connection, or a list of xsl paths
(This used to be commit 7f3c699d0f8fc0e75b351bc851dbb9ffdc3617c4)

16 years agor17731: try to cope with freebsd handling of .a dependencies
Andrew Tridgell [Wed, 23 Aug 2006 01:13:40 +0000 (01:13 +0000)]
r17731: try to cope with freebsd handling of .a dependencies
(This used to be commit 1ad1d5f37e0915e5e477b99ef16fc82a01b82708)

16 years agor17730: cast dlsym result to try to avoid a compiler crash on hpux
Andrew Tridgell [Wed, 23 Aug 2006 00:46:40 +0000 (00:46 +0000)]
r17730: cast dlsym result to try to avoid a compiler crash on hpux
(This used to be commit 217cff9f00e350b769e40ff1d71ebbd5696c2938)

16 years agor17729: remove the dependence on an internet connection for building
Andrew Tridgell [Wed, 23 Aug 2006 00:42:33 +0000 (00:42 +0000)]
r17729: remove the dependence on an internet connection for building
standalone ldb by only running xsltproc if we can find a local copy of
the required stylesheets
(This used to be commit 16be09e0d6bd2c9c21f9cf0291dabf661a9a3797)

16 years agor17726: not having slapd installed isn't a ldb test failure
Andrew Tridgell [Tue, 22 Aug 2006 23:48:41 +0000 (23:48 +0000)]
r17726: not having slapd installed isn't a ldb test failure
(This used to be commit 33ccb93647a94fbbd2d08199b6655a3bf14d0a38)

16 years agor17725: VPATH and builds out of the source directory causes problems with the
Andrew Tridgell [Tue, 22 Aug 2006 23:32:19 +0000 (23:32 +0000)]
r17725: VPATH and builds out of the source directory causes problems with the
AIX 5.1 version of make. Putting a direct dependency on $(OBJS) works
around this, and should be harmless on other systems
(This used to be commit 6a7182b599d43d2da636dfb68547f0f4aea4050e)

16 years agor17724: don't rely on strnlen() as MacOSX 10.4 doesn't have it. Someday apple
Andrew Tridgell [Tue, 22 Aug 2006 23:12:22 +0000 (23:12 +0000)]
r17724: don't rely on strnlen() as MacOSX 10.4 doesn't have it. Someday apple
will realise that buffer overflows are bad ....
(This used to be commit 0a6968b71b3cc492edfc3d46bd7e0c66c7ed8557)

16 years agor17722: better to use talloc_vasprintf() than vasprintf() directly, as it
Andrew Tridgell [Tue, 22 Aug 2006 22:28:37 +0000 (22:28 +0000)]
r17722: better to use talloc_vasprintf() than vasprintf() directly, as it
depends on less libc functions
(This used to be commit a05101d83b06543cd32b08b4dec29d8f6bd27674)

16 years agor17721: fixed the dlopen and MODULESDIR handling in the standalone build
Andrew Tridgell [Tue, 22 Aug 2006 22:27:57 +0000 (22:27 +0000)]
r17721: fixed the dlopen and MODULESDIR handling in the standalone build
(This used to be commit a40e8c210a27a88e01b023c8b6d298e271c147d7)

16 years agor17720: in standalone ldb build, some systems need sys/stat.h and a defn of
Andrew Tridgell [Tue, 22 Aug 2006 20:49:58 +0000 (20:49 +0000)]
r17720: in standalone ldb build, some systems need sys/stat.h and a defn of
comparison_fn_t
(This used to be commit 99915268e60f6f877b639f1788ebdcf8105d6073)

16 years agor17719: ldb_cmdline needs to be static for cc on solaris
Andrew Tridgell [Tue, 22 Aug 2006 20:39:01 +0000 (20:39 +0000)]
r17719: ldb_cmdline needs to be static for cc on solaris
(This used to be commit db4d99f35b6874da01d0a1c68d64bd73635a7ec9)

16 years agor17718: don't consider a slapadd failure in the ldap backend tests as a ldb
Andrew Tridgell [Tue, 22 Aug 2006 20:33:39 +0000 (20:33 +0000)]
r17718: don't consider a slapadd failure in the ldap backend tests as a ldb
failure
(This used to be commit 72cdf93b5a9246f224afa3ba765fae25de1c2b7a)

16 years agor17717: this cried for bugs...and they happened...
Stefan Metzmacher [Tue, 22 Aug 2006 19:28:44 +0000 (19:28 +0000)]
r17717: this cried for bugs...and they happened...
we were passing a struct timeval reference as string,
and gcc gives a warning...use C99 style initialisation.

is there a special reason why the ACB_NORMAL is passed
when the force_password_change is selected?

metze
(This used to be commit 45061b1b7e76d56d557119eb2f7f6317e104d083)

16 years agor17716: make casts explicit and remove compiler warnings
Stefan Metzmacher [Tue, 22 Aug 2006 19:05:27 +0000 (19:05 +0000)]
r17716: make casts explicit and remove compiler warnings

metze
(This used to be commit 43f030e71e50f7846d539e3952afc70fdc3daa58)

16 years agor17715: make the cast explicit and remove compiler warnings
Stefan Metzmacher [Tue, 22 Aug 2006 19:01:08 +0000 (19:01 +0000)]
r17715: make the cast explicit and remove compiler warnings

metze
(This used to be commit dab51c1f7fa3cdb9e1c3b094935362af6d6725c4)

16 years agor17714: fix compiler warnings
Stefan Metzmacher [Tue, 22 Aug 2006 18:51:46 +0000 (18:51 +0000)]
r17714: fix compiler warnings

metze
(This used to be commit cea06e105a28e12989cd6fdf6d91d86347b8ffc4)

16 years agor17713: fix compiler warnings
Stefan Metzmacher [Tue, 22 Aug 2006 18:50:03 +0000 (18:50 +0000)]
r17713: fix compiler warnings

metze
(This used to be commit 21142ad7a2d37489e295d725c8700be0bb921091)

16 years agor17712: fix compiler warning
Stefan Metzmacher [Tue, 22 Aug 2006 18:49:11 +0000 (18:49 +0000)]
r17712: fix compiler warning

metze
(This used to be commit 669d1e5f923a5414b8ad2537da1723d50a240387)

16 years agor17711: fix compiler warnings
Stefan Metzmacher [Tue, 22 Aug 2006 18:09:49 +0000 (18:09 +0000)]
r17711: fix compiler warnings

metze
(This used to be commit f3dc51fef53287cc2e2af7ed4a9f3f52a5cd06ed)

16 years agor17708: make the automated testing of the ldb ldap backend more portable
Andrew Tridgell [Tue, 22 Aug 2006 11:26:27 +0000 (11:26 +0000)]
r17708: make the automated testing of the ldb ldap backend more portable
(This used to be commit bf88bc5de61c3c20d77e2d73e27e741031e9ec06)

16 years agor17707: Match the output (aside from dividers) the output of
Andrew Bartlett [Tue, 22 Aug 2006 10:49:54 +0000 (10:49 +0000)]
r17707: Match the output (aside from dividers) the output of
ol-schema-migrate.pl in the schema output.

Andrew Bartlett
(This used to be commit 8f624fd17503e85afe74a3e1915e30f28d19853b)

16 years agor17706: remove the dependence on gnu make in the standalone build
Andrew Tridgell [Tue, 22 Aug 2006 10:46:23 +0000 (10:46 +0000)]
r17706: remove the dependence on gnu make in the standalone build
(This used to be commit 07fa357f3f7251859f8afb6f2b0488b3718b0474)

16 years agor17705: Use the paged_searches module by default against the LDAP backend, if
Andrew Bartlett [Tue, 22 Aug 2006 10:20:38 +0000 (10:20 +0000)]
r17705: Use the paged_searches module by default against the LDAP backend, if
selected.

Andrew Bartlett
(This used to be commit 3bb0a0d91eeb64db1ad2eeb13eab50f338caeb46)

16 years agor17704: Add comments suggesting how to get the LDAP backend working.
Andrew Bartlett [Tue, 22 Aug 2006 10:19:46 +0000 (10:19 +0000)]
r17704: Add comments suggesting how to get the LDAP backend working.

Shutdown and reload the LDB, so the entryUUID module knows to read the
schema (will be changed once we have a central schema store and
notifications).

Andrew Bartlett
(This used to be commit d5814b689eedfc4c4701beb18a516db716a466f1)

16 years agor17703: Fixes to enable the entryUUID module to work for it's objectClass ->
Andrew Bartlett [Tue, 22 Aug 2006 10:05:20 +0000 (10:05 +0000)]
r17703: Fixes to enable the entryUUID module to work for it's objectClass ->
OID mappings.

The key point is to 'enable' the partitions in the partitions module
before the init is complete.  That way, the modules can perform
searches that use partitions.

Andrew Bartlett
(This used to be commit 420d1920a6824a6c0cb70b4ba832ddb90b0e95ff)

16 years agor17702: test for gcc, and only enable gcc flags if true
Andrew Tridgell [Tue, 22 Aug 2006 07:20:59 +0000 (07:20 +0000)]
r17702: test for gcc, and only enable gcc flags if true
(This used to be commit 6495620d1819a50b79c77258ced9d0cadd25e129)

16 years agor17701: doxygen (if installed!) needs to be run in the src directory
Andrew Tridgell [Tue, 22 Aug 2006 06:49:16 +0000 (06:49 +0000)]
r17701: doxygen (if installed!) needs to be run in the src directory
(This used to be commit bd1bd1c5ce52e9399461041e11cc30c93ba356a9)

16 years agor17700: Despite our best hopes, the way module initialisation tends to happen,
Andrew Bartlett [Tue, 22 Aug 2006 06:18:07 +0000 (06:18 +0000)]
r17700: Despite our best hopes, the way module initialisation tends to happen,
we make searches before things are initialised.  Cope with this.

Andrew Bartlett
(This used to be commit daa1a61891ede404bcce72affb7094e5c452c689)

16 years agor17699: Remove more printf calls.
Andrew Bartlett [Tue, 22 Aug 2006 06:07:01 +0000 (06:07 +0000)]
r17699: Remove more printf calls.

Try to cope with partital initialisation.

Andrew Bartlett
(This used to be commit 3c497405fea2f3e48a0d1bb2818b6a1ff345d368)

16 years agor17698: The original code assumed that &data->context was a valid talloc
Andrew Bartlett [Tue, 22 Aug 2006 06:01:47 +0000 (06:01 +0000)]
r17698: The original code assumed that &data->context was a valid talloc
pointer.

This only works when this is the only structure member, but when I
added a new context pointer, it failed.

Andrew Bartlett
(This used to be commit 5bcfa12cef0d9eba5d5d1f65f676e7852297667f)

16 years agor17697: - enable test for slapd
Andrew Tridgell [Tue, 22 Aug 2006 05:33:52 +0000 (05:33 +0000)]
r17697: - enable test for slapd

- include popt.m4
(This used to be commit 55748bb382358c1ecbef3d2d696833b695f75d74)

16 years agor17696: attempt to allow ldb to use an external popt directory, so we can
Andrew Tridgell [Tue, 22 Aug 2006 05:27:33 +0000 (05:27 +0000)]
r17696: attempt to allow ldb to use an external popt directory, so we can
point it at the popt sources in the samba source tree when building in
the build farm
(This used to be commit 13e14e0f8decbb7f3bafed9d980950d825a985e6)

16 years agor17695: added installcheck target
Andrew Tridgell [Tue, 22 Aug 2006 04:34:06 +0000 (04:34 +0000)]
r17695: added installcheck target
(This used to be commit 7cca1f83f40106707c00edf612796451536d73e5)

16 years agor17694: Don't use printf() in a module...
Andrew Bartlett [Tue, 22 Aug 2006 04:32:34 +0000 (04:32 +0000)]
r17694: Don't use printf() in a module...
(This used to be commit 9f810ddd1436672e16a6b80500bb14aa21e097de)

16 years agor17693: only install man pages if we have managed to generate them with
Andrew Tridgell [Tue, 22 Aug 2006 04:27:13 +0000 (04:27 +0000)]
r17693: only install man pages if we have managed to generate them with
xsltproc
(This used to be commit 3e48177dd138d835766cba304d266fd30a87ebef)

16 years agor17692: - don't try and run ldap tests unless we have slapd
Andrew Tridgell [Tue, 22 Aug 2006 04:19:40 +0000 (04:19 +0000)]
r17692: - don't try and run ldap tests unless we have slapd
- fix manpages install
(This used to be commit 9bc751d1f18be1b03e47412e94abe6390f752f98)

16 years agor17691: Make the structure more public, so we have somewhere for calling
Andrew Bartlett [Tue, 22 Aug 2006 04:15:39 +0000 (04:15 +0000)]
r17691: Make the structure more public, so we have somewhere for calling
modules to put private data.

Andrew Bartlett
(This used to be commit ba00f45357d113bf245c6622ef96701aa7c7026c)

16 years agor17690: Demonstrate how we can read the schema to find out details needed for
Andrew Bartlett [Tue, 22 Aug 2006 04:05:36 +0000 (04:05 +0000)]
r17690: Demonstrate how we can read the schema to find out details needed for
translation.  I hope to have this reading a schema structure in the
future.

Andrew Bartlett
(This used to be commit fb085a651ff60ab9b5d120a1ea228ff3edf0c224)

16 years agor17689: build works, this should fix install ....
Andrew Tridgell [Tue, 22 Aug 2006 03:57:31 +0000 (03:57 +0000)]
r17689: build works, this should fix install ....
(This used to be commit 9a7c1df956ad2e5abaa33b4c808cc1379c2d1c67)

16 years agor17688: the commit/test cycle for getting this to work in the build farm sure
Andrew Tridgell [Tue, 22 Aug 2006 03:51:22 +0000 (03:51 +0000)]
r17688: the commit/test cycle for getting this to work in the build farm sure
is tedious! nearly there I hope .....
(This used to be commit d0412765bade27acdd5cc03d7d527fe7ddd1fb11)

16 years agor17687: remove circular dependency
Andrew Tridgell [Tue, 22 Aug 2006 03:47:32 +0000 (03:47 +0000)]
r17687: remove circular dependency
(This used to be commit b12fd256ff827f45f24c56edbc6f44248ba9b9a3)

16 years agor17686: tdb.pc is in the build directory
Andrew Tridgell [Tue, 22 Aug 2006 03:34:08 +0000 (03:34 +0000)]
r17686: tdb.pc is in the build directory
(This used to be commit 01b76c7aa118f853593d006803796e50e8821533)

16 years agor17685: talloc.pc is in the build directory
Andrew Tridgell [Tue, 22 Aug 2006 03:28:02 +0000 (03:28 +0000)]
r17685: talloc.pc is in the build directory
(This used to be commit 14a8faa1640db4c083e7b9b06c21d466d0ef0ce3)

16 years agor17684: and we need -Iinclude for tdb
Andrew Tridgell [Tue, 22 Aug 2006 03:24:43 +0000 (03:24 +0000)]
r17684: and we need -Iinclude for tdb
(This used to be commit 3a22b28f2b6d960e00acf1038d8cd3b820cf0be7)

16 years agor17683: to pick up config.h we need -I. as well for talloc
Andrew Tridgell [Tue, 22 Aug 2006 03:24:23 +0000 (03:24 +0000)]
r17683: to pick up config.h we need -I. as well for talloc
(This used to be commit 07401300ffccd832371d1f6288052aa293a2eeb4)

16 years agor17682: Add newline to end of file
Andrew Bartlett [Tue, 22 Aug 2006 03:21:29 +0000 (03:21 +0000)]
r17682: Add newline to end of file
(This used to be commit 0e97b71386601a80f4bc264ee54e90a3a8a5841d)

16 years agor17681: fixed standalone talloc build to support building in a separate
Andrew Tridgell [Tue, 22 Aug 2006 01:50:44 +0000 (01:50 +0000)]
r17681: fixed standalone talloc build to support building in a separate
directory
(This used to be commit c137a7049ed6a74c035ef7fad86ac1e77e31028c)

16 years agor17680: make standalone tdb support building and testing in a different
Andrew Tridgell [Tue, 22 Aug 2006 01:45:39 +0000 (01:45 +0000)]
r17680: make standalone tdb support building and testing in a different
directory to source
(This used to be commit a81a3874e1a40131cbba22d14d7b68fd0f5b54c5)

16 years agor17679: - fix 'make test-ldap' to skip ldb specials
Andrew Tridgell [Tue, 22 Aug 2006 01:32:29 +0000 (01:32 +0000)]
r17679: - fix 'make test-ldap' to skip ldb specials

- allow ldb to be built in a separate build directory, using:

     /some/path/to/ldb/configure
     make

  this will make it much easier to put ldb in the build farm without
  interfering with the build farm builds of tdb and talloc
(This used to be commit 580ed6730d33bad62e9799a38377c40f2852ae89)

16 years agor17678: don't free result message twice
Andrew Tridgell [Tue, 22 Aug 2006 01:13:45 +0000 (01:13 +0000)]
r17678: don't free result message twice
(This used to be commit e3908818198bf0f89c1140e659ab2140bdfbc323)

16 years agor17675: increase max torture test runtime - we have some v slow hosts in the
Andrew Tridgell [Mon, 21 Aug 2006 23:13:06 +0000 (23:13 +0000)]
r17675: increase max torture test runtime - we have some v slow hosts in the
farm!
(This used to be commit 6a7800064fe456b47ea6d8b781a3e7fe7f8353ad)

16 years agor17674: fixed a problem on with our configure logic on systems that have
Andrew Tridgell [Mon, 21 Aug 2006 23:00:53 +0000 (23:00 +0000)]
r17674: fixed a problem on with our configure logic on systems that have
libgnutls but not some of the crt functions
(This used to be commit 7a0264c52dd8ab1b1bb321462f66955a866d90a9)

16 years agor17671: Update the tests according to changes in libnet context.
Rafal Szczesniak [Mon, 21 Aug 2006 21:03:28 +0000 (21:03 +0000)]
r17671: Update the tests according to changes in libnet context.

rafal
(This used to be commit 9e7709de62ccb66d312e985fa0846b1004e77d32)

16 years agor17670: 1) Refactor libnet context structure a bit, to have rpc connection
Rafal Szczesniak [Mon, 21 Aug 2006 20:52:14 +0000 (20:52 +0000)]
r17670: 1) Refactor libnet context structure a bit, to have rpc connection
   properties more consistently reflected.
2) Add domain open routine for lsa pipe - this is needed for ongoing
   name resolve function.

Tests (still neglected) and comments to follow.

rafal
(This used to be commit fe5652c2b8121bbe3b9932c43164035355478611)

16 years agor17662: some more enhancements to our schema extraction tool,
Simo Sorce [Mon, 21 Aug 2006 13:04:14 +0000 (13:04 +0000)]
r17662: some more enhancements to our schema extraction tool,
with a nasty hack in minschema.js that I really hate
(This used to be commit 74c40719f2965e2bc055e539f0933d95df070fbf)

16 years agor17661: A patch from Martin Kuehl:
Andrew Bartlett [Mon, 21 Aug 2006 10:45:58 +0000 (10:45 +0000)]
r17661: A patch from Martin Kuehl:

This commit extends the samba3sam test suite, which contains tests for
the samba3sam and ldb_map modules, with a lot of tests for inbound,
i.e. add, modify, rename and delete requests.

The tests each add a single record, modify it, rename it, and then
delete it, at each step checking that the operations were successful
and that the right data went into the right partitions.
They are run for an unmapped record, a mapped record with data only in
the remote partition, a mapped record with remote data that is later
modified to include local data, and a mapped record with data in both
the local and remote partitions.

It also adds a function to the backend objects that makes construction
of DNs for their respective partitions more comfortable.

Cheers,
Martin
(This used to be commit 1ddd06f24d71c606241863cf4fe047833c64a6d2)

16 years agor17660: fixed configure test
Andrew Tridgell [Mon, 21 Aug 2006 10:30:26 +0000 (10:30 +0000)]
r17660: fixed configure test
(This used to be commit 28238ad8f15b8bd3c49fb0b235becca25615cfe6)

16 years agor17659: cope with systems without the x509 gnutls functions
Andrew Tridgell [Mon, 21 Aug 2006 09:27:43 +0000 (09:27 +0000)]
r17659: cope with systems without the x509 gnutls functions
(This used to be commit 8148534d9c9e566c4ecd9b29857fa96916cd9e3f)

16 years agor17658: several replacement snprintf() fixes.
Andrew Tridgell [Mon, 21 Aug 2006 07:41:17 +0000 (07:41 +0000)]
r17658: several replacement snprintf() fixes.

1) when running the testsuite, actually test against the system
   sprintf(), not against ourselves (doh!)

2) fix the buffer termination to terminate buf2 as well

3) fix handling of %llu, and add a simple test

This fixes a bug with password expiry on solaris
(This used to be commit ad539ec11401732d1da0abd8eef1fe849a216c21)

16 years agor17656: some systems (like older solaris) don't return ENOTEMPTY on rmdir()
Andrew Tridgell [Mon, 21 Aug 2006 06:06:02 +0000 (06:06 +0000)]
r17656: some systems (like older solaris) don't return ENOTEMPTY on rmdir()
with non-empty directory
(This used to be commit 1775381afad8a97777a45b6e98802dda8b389ecb)

16 years agor17653: fix typo
Simo Sorce [Mon, 21 Aug 2006 05:01:55 +0000 (05:01 +0000)]
r17653: fix typo
(This used to be commit aca800bdcc5f402c1fc241e9e9c495933c85b715)

16 years agor17652: add oMSyntax to these attributes
Simo Sorce [Mon, 21 Aug 2006 04:44:38 +0000 (04:44 +0000)]
r17652: add oMSyntax to these attributes
(This used to be commit 425fda84e2a4636c87b30df9df3f2c998202c933)

16 years agor17651: Commit the set of classess used to generate our schema
Simo Sorce [Mon, 21 Aug 2006 04:33:36 +0000 (04:33 +0000)]
r17651: Commit the set of classess used to generate our schema
and update the schema with the latest additions
(This used to be commit 09a32726111200e421b6fcacf1586bfbe6024fa6)

16 years agor17648: update minschema.js
Simo Sorce [Mon, 21 Aug 2006 03:52:43 +0000 (03:52 +0000)]
r17648: update minschema.js
this version returns also oMSyntax and oMObjectClass and also
use the right value for the objects CNs

add a nasty hack to ejs' mprLdbMessage() to handle binary blobs situations
(This used to be commit 8dd1c1c05bc592d76d6e34b303048faf05c0fa6e)

16 years agor17647: the init fns should not take a mem_ctx
Andrew Tridgell [Mon, 21 Aug 2006 03:51:55 +0000 (03:51 +0000)]
r17647: the init fns should not take a mem_ctx
(This used to be commit e32fdc7e684b088629a5e858dd5bf0b80507ed65)

16 years agor17646: Use authentication if specified.
Andrew Bartlett [Mon, 21 Aug 2006 02:44:51 +0000 (02:44 +0000)]
r17646: Use authentication if specified.

Andrew Bartlett
(This used to be commit 67c9cd508ed9b28b4d605b79f6de421071177fa7)

16 years agor17645: gcc 4.1.x has started producing "value computed is not used" warnings
Andrew Tridgell [Mon, 21 Aug 2006 01:27:22 +0000 (01:27 +0000)]
r17645: gcc 4.1.x has started producing "value computed is not used" warnings
in very annoying ways for talloc_steal. This rather strange looking
cpp approach avoids these warnings. It's really a problem in gcc, but
better to do this than put up with the huge flood of warnings.
(This used to be commit 8236a0ac5e80c30e52fccc0ef41a6c808ea43420)

16 years agor17644: change the ldap server to always use the single process model. We are
Andrew Tridgell [Mon, 21 Aug 2006 01:25:20 +0000 (01:25 +0000)]
r17644: change the ldap server to always use the single process model. We are
not aiming to produce a high performance parallel ldap server, so
better to reserve the extra CPUs on a SMP box for file serving.
(This used to be commit 45c0580e5d3b18301bc5706423bb407d001fb61d)

16 years agor17642: some more mappings
Simo Sorce [Mon, 21 Aug 2006 00:57:54 +0000 (00:57 +0000)]
r17642: some more mappings
(This used to be commit df1fe1a5c543453d5500ded30a982e7795d88670)

16 years agor17641: some more info, add oMObjectClass values (binary :-/)
Simo Sorce [Mon, 21 Aug 2006 00:50:54 +0000 (00:50 +0000)]
r17641: some more info, add oMObjectClass values (binary :-/)
(This used to be commit b07a783b9881c5df305b939cd2acf9ee69610e9c)

16 years agor17639: Martin Kuhl noticed that we loaded an incorrect value for
Andrew Bartlett [Sun, 20 Aug 2006 23:30:54 +0000 (23:30 +0000)]
r17639: Martin Kuhl noticed that we loaded an incorrect value for
distinguisedName on templated objects.

In looking how to handle distinguishedName correctly on LDAP, I was
very glad to find it supported entryDN, and this adds another mapping.

Andrew Bartlett
(This used to be commit 3b5c973988648a2b2a5e1885ee894607e4d9679b)

16 years agor17634: Kill off another case where we used dnsDomain, and point it again at
Andrew Bartlett [Sun, 20 Aug 2006 21:58:02 +0000 (21:58 +0000)]
r17634: Kill off another case where we used dnsDomain, and point it again at
dnsRoot.

Fix to read the nETBIOSName from the correct result.

Andrew Bartlett
(This used to be commit dc37c48724115940094a0f6003ee2f74fe81d102)

16 years agor17633: Return NULL at the end of the file, or else we can't tell the
Andrew Bartlett [Sun, 20 Aug 2006 21:57:08 +0000 (21:57 +0000)]
r17633: Return NULL at the end of the file, or else we can't tell the
difference between end of file and a blank line.

Andrew Bartlett
(This used to be commit 6fd6239a0f16154c13713bf1398b2873d1103335)

16 years agor17632: This is the most accurate mappings between LDAP OID Syntaxes and AD Syntaxes.
Simo Sorce [Sun, 20 Aug 2006 21:23:47 +0000 (21:23 +0000)]
r17632: This is the most accurate mappings between LDAP OID Syntaxes and AD Syntaxes.
Generated by scripts that cross information from the Windows Schema and the
aggregate schema and cross verified by searching on the net
(This used to be commit 996452844a9ac3df10e8b2c63dc693e5a753fc9d)

16 years agor17631: Some syntaxes from MS in a now vanished internet draft
Simo Sorce [Sun, 20 Aug 2006 21:22:27 +0000 (21:22 +0000)]
r17631: Some syntaxes from MS in a now vanished internet draft
(This used to be commit 1020edb0c721da8889f5ce93e5497bb34ebbf786)

16 years agor17624: Samba3 does not yet do getprinterinfo level 6
Volker Lendecke [Sun, 20 Aug 2006 17:38:15 +0000 (17:38 +0000)]
r17624: Samba3 does not yet do getprinterinfo level 6
(This used to be commit 9455b0340f634afa25a5af5ed4ea385212cf95a7)

16 years agor17614: Our first "client side' ldb module.
Simo Sorce [Sat, 19 Aug 2006 20:53:43 +0000 (20:53 +0000)]
r17614: Our first "client side' ldb module.

This module has been created with the purpose of being used
for searches against ldap servers without the need to handle
the control manually

You can test it by passing -o modules:paged_searches to ldbsearch

The page search size is set to 500 objects.

Simo.
(This used to be commit 07d377f3c27966b40465bb5dc4f55746ba8489af)

16 years agor17613: style fix
Simo Sorce [Sat, 19 Aug 2006 20:44:41 +0000 (20:44 +0000)]
r17613: style fix
(This used to be commit 86fc149ca805e4c801f6251c8c9f2480010b4962)

16 years agor17609: Kill one more use of the fake dnsDomain attribute.
Andrew Bartlett [Fri, 18 Aug 2006 22:20:13 +0000 (22:20 +0000)]
r17609: Kill one more use of the fake dnsDomain attribute.

Add a talloc_steal to avoid a memory leak of the ldb_search result.

Andrew Bartlett
(This used to be commit 69525129f9d199b1d4caeb5d52c918fc0bc95737)

16 years agor17601: Fix declaration after statement.
Andrew Bartlett [Fri, 18 Aug 2006 12:27:14 +0000 (12:27 +0000)]
r17601: Fix declaration after statement.

Andrew Bartlett
(This used to be commit 05c276568a6c42c9ceb686a390c4fd279d4a5bb6)