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

9998 Commits

Author SHA1 Message Date
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
Andrew Bartlett
b2658f0dd6 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)
2007-10-10 14:16:28 -05:00
Andrew Tridgell
b2dd4b3e15 r17706: remove the dependence on gnu make in the standalone build
(This used to be commit 07fa357f3f7251859f8afb6f2b0488b3718b0474)
2007-10-10 14:16:28 -05:00
Andrew Bartlett
7783080810 r17705: Use the paged_searches module by default against the LDAP backend, if
selected.

Andrew Bartlett
(This used to be commit 3bb0a0d91eeb64db1ad2eeb13eab50f338caeb46)
2007-10-10 14:16:28 -05:00
Andrew Bartlett
4c69b46944 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)
2007-10-10 14:16:28 -05:00
Andrew Bartlett
6ddd5f6e66 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)
2007-10-10 14:16:28 -05:00
Andrew Tridgell
d5c4606798 r17702: test for gcc, and only enable gcc flags if true
(This used to be commit 6495620d1819a50b79c77258ced9d0cadd25e129)
2007-10-10 14:16:27 -05:00
Andrew Tridgell
8c53215884 r17701: doxygen (if installed!) needs to be run in the src directory
(This used to be commit bd1bd1c5ce52e9399461041e11cc30c93ba356a9)
2007-10-10 14:16:27 -05:00
Andrew Bartlett
3d33bc10ed 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)
2007-10-10 14:16:27 -05:00
Andrew Bartlett
54b5ba20f6 r17699: Remove more printf calls.
Try to cope with partital initialisation.

Andrew Bartlett
(This used to be commit 3c497405fea2f3e48a0d1bb2818b6a1ff345d368)
2007-10-10 14:16:27 -05:00
Andrew Bartlett
cda3a37d76 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)
2007-10-10 14:16:27 -05:00
Andrew Tridgell
1d1f100a73 r17697: - enable test for slapd
- include popt.m4
(This used to be commit 55748bb382358c1ecbef3d2d696833b695f75d74)
2007-10-10 14:16:26 -05:00
Andrew Tridgell
787dbed6c3 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)
2007-10-10 14:16:26 -05:00
Andrew Tridgell
66758e092b r17695: added installcheck target
(This used to be commit 7cca1f83f40106707c00edf612796451536d73e5)
2007-10-10 14:16:26 -05:00
Andrew Bartlett
23557a9f17 r17694: Don't use printf() in a module...
(This used to be commit 9f810ddd1436672e16a6b80500bb14aa21e097de)
2007-10-10 14:16:26 -05:00
Andrew Tridgell
70da14f025 r17693: only install man pages if we have managed to generate them with
xsltproc
(This used to be commit 3e48177dd138d835766cba304d266fd30a87ebef)
2007-10-10 14:16:26 -05:00
Andrew Tridgell
be99212aec r17692: - don't try and run ldap tests unless we have slapd
- fix manpages install
(This used to be commit 9bc751d1f18be1b03e47412e94abe6390f752f98)
2007-10-10 14:16:25 -05:00
Andrew Bartlett
3e83b0fac4 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)
2007-10-10 14:16:25 -05:00
Andrew Bartlett
e4759eb0b6 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)
2007-10-10 14:16:25 -05:00
Andrew Tridgell
c2bc9bdda1 r17689: build works, this should fix install ....
(This used to be commit 9a7c1df956ad2e5abaa33b4c808cc1379c2d1c67)
2007-10-10 14:16:25 -05:00
Andrew Tridgell
c21e51b19a 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)
2007-10-10 14:16:25 -05:00
Andrew Tridgell
c4e83e8efc r17687: remove circular dependency
(This used to be commit b12fd256ff827f45f24c56edbc6f44248ba9b9a3)
2007-10-10 14:16:24 -05:00
Andrew Tridgell
04d5c4aefd r17686: tdb.pc is in the build directory
(This used to be commit 01b76c7aa118f853593d006803796e50e8821533)
2007-10-10 14:16:24 -05:00
Andrew Tridgell
f35b215147 r17685: talloc.pc is in the build directory
(This used to be commit 14a8faa1640db4c083e7b9b06c21d466d0ef0ce3)
2007-10-10 14:16:24 -05:00
Andrew Tridgell
67c5ccbd93 r17684: and we need -Iinclude for tdb
(This used to be commit 3a22b28f2b6d960e00acf1038d8cd3b820cf0be7)
2007-10-10 14:16:23 -05:00
Andrew Tridgell
a11045d913 r17683: to pick up config.h we need -I. as well for talloc
(This used to be commit 07401300ffccd832371d1f6288052aa293a2eeb4)
2007-10-10 14:16:23 -05:00