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

10223 Commits

Author SHA1 Message Date
Andrew Tridgell
66337169f1 r17771: add a comment explaing the odd cast
(This used to be commit 47e695ed88d364a7d423e804fe5340006ebf7c18)
2007-10-10 14:16:39 -05:00
Andrew Tridgell
a524e8cdde r17770: don't force -L/usr/lib, it breaks us4
(This used to be commit 348aff8c8372b235d42ede35c18f83fd53db99f9)
2007-10-10 14:16:39 -05:00
Andrew Tridgell
2d4ecdb3e1 r17769: only look for dlopen in -ldl if not found in libc. Needed for us4
(This used to be commit 0b254f3bde8827312c6fcb93ccd7a0c489ed5e20)
2007-10-10 14:16:39 -05:00
Andrew Tridgell
e5f7da55ef r17768: This merges in the current version of Brad Henry's windows testing
framework patch. There are some issues with the patch that I will
discuss in a separate email to the list, but given the low (zero?)
impact of the patch as it is, I think its better to integrate it now,
then let Brad send some minor update patches later
(This used to be commit 7232da0436ff1d84e419d268fee31a095bbb88b7)
2007-10-10 14:16:38 -05:00
Andrew Tridgell
b075bb842d r17765: fix handling of old solaris /bin/sh in ldb build/test
(This used to be commit f41d3ed4b3d76c37c9c5bfd15e9e4e27179450f0)
2007-10-10 14:16:38 -05:00
Andrew Tridgell
18f93fce20 r17764: more portable setenv() replacement
(This used to be commit 5c00b6d08324b46cd7025264c0320352d2842ead)
2007-10-10 14:16:38 -05:00
Andrew Tridgell
fe791078b7 r17763: moved setenv to ldb/replace/
(This used to be commit ed2dbc4dfe4556831c809dab24e3833cd2018138)
2007-10-10 14:16:38 -05:00
Andrew Tridgell
47fb506da2 r17762: HPUX needs setenv
(This used to be commit 535c96f1e7639071d34ea47a88181d861c3a3038)
2007-10-10 14:16:38 -05:00
Stefan Metzmacher
48c7cfcb74 r17756: I don't know why but this only works with the standalone
ldb build...I'll test more tomorrow.

metze
(This used to be commit aeee1b4655620154a8fefe471ac6327c5ccb8798)
2007-10-10 14:16:37 -05:00
Stefan Metzmacher
fba1659720 r17755: fix the build...
I hope we can find a more clean approach to import lib/replace/ into ldb.

metze
(This used to be commit f9fc3f08258d36b6008aac207471f1e193065321)
2007-10-10 14:16:37 -05:00
Stefan Metzmacher
f592640d92 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)
2007-10-10 14:16:37 -05:00
Stefan Metzmacher
ec626a732c r17753: fix compiler warnings and make the code simpler
metze
(This used to be commit eda302ffa5458a34f78d733cd0a46e79a74e81d7)
2007-10-10 14:16:37 -05:00
Stefan Metzmacher
312ded39cc 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)
2007-10-10 14:16:37 -05:00
Andrew Tridgell
09129c73d7 r17750: these have moved to ldb/replace/ now
(This used to be commit ac178b52935d7629f8583092e833b74093ca70e1)
2007-10-10 14:16:36 -05:00
Andrew Tridgell
6ac7ea5027 r17749: more HPUX madness
(This used to be commit 444e92890f08cdc0f5b84e964d1cc6a812e1073e)
2007-10-10 14:16:36 -05:00
Stefan Metzmacher
7852524532 r17748: make the casts much easier to understand
metze
(This used to be commit 5992f3b918967ff478ad24333cfe583e0b14a4c9)
2007-10-10 14:16:36 -05:00
Stefan Metzmacher
7a76b20d4f r17747: ldb's make test should not try to install something
metze
(This used to be commit ccf9ad0d2ff8388dd76a36426657773a59e6c316)
2007-10-10 14:16:36 -05:00
Andrew Tridgell
461ff1ecc9 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)
2007-10-10 14:16:36 -05:00
Andrew Tridgell
8ad26badea r17745: got rid of the final asprintf() in ldb
(This used to be commit 21377a607647c847c6902b685555a0206e61c6dd)
2007-10-10 14:16:35 -05:00
Stefan Metzmacher
d68a169886 r17744: we explicit want to get warnings about declarations after statements:-)
metze
(This used to be commit c3be1e18bcc050fe96be3f35e10ca643673749ca)
2007-10-10 14:16:35 -05:00
Stefan Metzmacher
0749ab0400 r17743: fix compiler warnings
metze
(This used to be commit 694a56b0ae0125594d6a23d8465249f011b6284e)
2007-10-10 14:16:35 -05:00
Stefan Metzmacher
4cd7e5a245 r17742: make the casts explicit and remove compiler warnings
metze
(This used to be commit b2cc485058c86d5be162a5e4c13c0b30f25c9d3d)
2007-10-10 14:16:35 -05:00
Andrew Tridgell
d95354300c r17741: tru64 uses inttypes.h not stdint.h.
ain't standards wonderful?
(This used to be commit 5eb59e5be09cd16bb0796b55575aa92dfd22650a)
2007-10-10 14:16:35 -05:00
Andrew Tridgell
0a98d90995 r17740: get rid of dependence on asprintf(), using talloc_asprintf() instead
(This used to be commit 0e350ea0c1bba278995da5e8de677c5651eb623e)
2007-10-10 14:16:34 -05:00
Andrew Tridgell
57f587729d r17739: forgot to add replace/*
(This used to be commit ceb09f50b7d9f2626b42123e2482d562713f881b)
2007-10-10 14:16:34 -05:00
Andrew Tridgell
309ef90690 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)
2007-10-10 14:16:34 -05:00
Andrew Tridgell
36cb569e9b r17737: fixed a 'declaration in code' error
(This used to be commit aca417c6b164b54334cc46e126dd362ddab509d3)
2007-10-10 14:16:34 -05:00
Andrew Tridgell
1f7a813199 r17735: a (probably useless) attempt to workaround stupidity in HPs version of
make
(This used to be commit b85b1f5926789c0d6f7cad5f6b8dc4992cca5a13)
2007-10-10 14:16:34 -05:00
Andrew Tridgell
8cbf9b64dc r17734: tru64 needs these for standalone build
(This used to be commit b735ad8cfa6c10b3e1e450bcec73904aa72e91b2)
2007-10-10 14:16:33 -05:00
Andrew Tridgell
96adaec729 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)
2007-10-10 14:16:33 -05:00
Andrew Tridgell
f1da198449 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)
2007-10-10 14:16:33 -05:00
Andrew Tridgell
48032446a6 r17731: try to cope with freebsd handling of .a dependencies
(This used to be commit 1ad1d5f37e0915e5e477b99ef16fc82a01b82708)
2007-10-10 14:16:33 -05:00
Andrew Tridgell
99309fac5c r17730: cast dlsym result to try to avoid a compiler crash on hpux
(This used to be commit 217cff9f00e350b769e40ff1d71ebbd5696c2938)
2007-10-10 14:16:33 -05:00
Andrew Tridgell
c09f6050f7 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)
2007-10-10 14:16:32 -05:00
Andrew Tridgell
8e36c42846 r17726: not having slapd installed isn't a ldb test failure
(This used to be commit 33ccb93647a94fbbd2d08199b6655a3bf14d0a38)
2007-10-10 14:16:32 -05:00
Andrew Tridgell
28e1409720 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)
2007-10-10 14:16:32 -05:00
Andrew Tridgell
5b9633e40d 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)
2007-10-10 14:16:32 -05:00
Andrew Tridgell
2fe39a82bf r17722: better to use talloc_vasprintf() than vasprintf() directly, as it
depends on less libc functions
(This used to be commit a05101d83b06543cd32b08b4dec29d8f6bd27674)
2007-10-10 14:16:32 -05:00
Andrew Tridgell
ba8ed91a75 r17721: fixed the dlopen and MODULESDIR handling in the standalone build
(This used to be commit a40e8c210a27a88e01b023c8b6d298e271c147d7)
2007-10-10 14:16:31 -05:00
Andrew Tridgell
10d8142e5d r17720: in standalone ldb build, some systems need sys/stat.h and a defn of
comparison_fn_t
(This used to be commit 99915268e60f6f877b639f1788ebdcf8105d6073)
2007-10-10 14:16:31 -05:00
Andrew Tridgell
e7f56e45b2 r17719: ldb_cmdline needs to be static for cc on solaris
(This used to be commit db4d99f35b6874da01d0a1c68d64bd73635a7ec9)
2007-10-10 14:16:31 -05:00
Andrew Tridgell
7c5bb2bce7 r17718: don't consider a slapadd failure in the ldap backend tests as a ldb
failure
(This used to be commit 72cdf93b5a9246f224afa3ba765fae25de1c2b7a)
2007-10-10 14:16:31 -05:00
Stefan Metzmacher
867d900b56 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)
2007-10-10 14:16:31 -05:00
Stefan Metzmacher
4b7139242b r17716: make casts explicit and remove compiler warnings
metze
(This used to be commit 43f030e71e50f7846d539e3952afc70fdc3daa58)
2007-10-10 14:16:31 -05:00
Stefan Metzmacher
0e5f94131d r17715: make the cast explicit and remove compiler warnings
metze
(This used to be commit dab51c1f7fa3cdb9e1c3b094935362af6d6725c4)
2007-10-10 14:16:30 -05:00
Stefan Metzmacher
02515a7613 r17714: fix compiler warnings
metze
(This used to be commit cea06e105a28e12989cd6fdf6d91d86347b8ffc4)
2007-10-10 14:16:30 -05:00
Stefan Metzmacher
1cecad2522 r17713: fix compiler warnings
metze
(This used to be commit 21142ad7a2d37489e295d725c8700be0bb921091)
2007-10-10 14:16:30 -05:00
Stefan Metzmacher
31356c0283 r17712: fix compiler warning
metze
(This used to be commit 669d1e5f923a5414b8ad2537da1723d50a240387)
2007-10-10 14:16:29 -05:00
Stefan Metzmacher
cc973cbd77 r17711: fix compiler warnings
metze
(This used to be commit f3dc51fef53287cc2e2af7ed4a9f3f52a5cd06ed)
2007-10-10 14:16:29 -05:00
Andrew Tridgell
d8f2434296 r17708: make the automated testing of the ldb ldap backend more portable
(This used to be commit bf88bc5de61c3c20d77e2d73e27e741031e9ec06)
2007-10-10 14:16:29 -05:00