1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-09 08:58:35 +03:00

11691 Commits

Author SHA1 Message Date
Stefan Metzmacher
e0efa2c97a r20714: we can use talloc_asprintf_append() again, because strupper_talloc()
creates string with the correct memory size without padding zero bytes
at the end

metze
(This used to be commit df8e97014bf67e59ab9a88ce225819d6057dfb08)
2007-10-10 14:40:30 -05:00
Stefan Metzmacher
33f8946640 r20713: sort the cursors in replUpToDateVector by source_dsa_invocation_id,
w2k3 seems to do the same.

It's later useful, when we would have a large array
be could use a binary search

metze
(This used to be commit cd654f20e16c32f82ceb2b66453ce8d1be7020dd)
2007-10-10 14:40:30 -05:00
Stefan Metzmacher
cf5f76bf66 r20712: add a function to compare GUID's
metze
(This used to be commit 6237d9f0b575ccb739b96d2a9f4c3643a727c4b7)
2007-10-10 14:40:30 -05:00
Stefan Metzmacher
ce87c63146 r20710: update or create the "repsFrom" values after applying replicated objects
metze
(This used to be commit 665d8f9626f8ef1c64f6fac79bdc40d14330f126)
2007-10-10 14:40:30 -05:00
Stefan Metzmacher
18f8180469 r20709: pass a repsFromTo1 struct down as it contains all needed info for the source dsa
and the highwater mark vector

metze
(This used to be commit a31e017e5388e5abd6ed9d09adcf26d2527954a6)
2007-10-10 14:40:29 -05:00
Stefan Metzmacher
faf57b1dc5 r20708: fix crash bug! we can't use stack memory for async requests...
jelmer: please take more care when you fix pidl warnings:-)

metze
(This used to be commit 05da114ea8db637febe88ac1ce5c92640de7754a)
2007-10-10 14:40:29 -05:00
Stefan Metzmacher
845cfb3983 r20706: the '@' chars should only be in front of each line,
but here the line is wrapped with '\' ...

metze
(This used to be commit 096a2ee97f97b3f9f57d844703ffaba53f7dd5d7)
2007-10-10 14:40:29 -05:00
Stefan Metzmacher
ffa259f4a4 r20705: store the "replUpToDateVector" attribute in DSDB_EXTENDED_REPLICATED_OBJECTS
metze
(This used to be commit c9e7a58f6a16dfa28323fd0fd01ad6ee516c51b0)
2007-10-10 14:40:28 -05:00
Stefan Metzmacher
6976f704ba r20704: add functions to get and set the ntds objectGUID and invocationId
metze
(This used to be commit c271ad824f763ba10ee74517062c6283fa20be89)
2007-10-10 14:40:28 -05:00
Stefan Metzmacher
f8ce15a417 r20703: fix minor memory leak
metze
(This used to be commit 4012e54ef22fc9a18d4533f6b48530ddc9c67992)
2007-10-10 14:40:28 -05:00
Stefan Metzmacher
ed62bda650 r20702: fix spelling
metze
(This used to be commit dd2832b37a8cb82d62b4974b779a178bb2872839)
2007-10-10 14:40:27 -05:00
Andrew Tridgell
427fa23ca5 r20698: added AIO writing support
(This used to be commit dbf54c7b49d427af8112414760369cd21c8b5941)
2007-10-10 14:40:24 -05:00
James Peach
34fe5027d0 r20697: A couple of minot cross-compile fixes.
(This used to be commit d4c7dd19f3a114ee1527cbcd3071b4921600977d)
2007-10-10 14:40:24 -05:00
Jelmer Vernooij
5f450fbd9a r20696: Print mktestsetup errors to stderr rather than to either stderr or stdout.
Instead, print variables for the setup created to mktestsetup's stdout.
(This used to be commit b7fd9645f5f2e1e5a00fbb94f772487c78136ee6)
2007-10-10 14:40:24 -05:00
Jelmer Vernooij
c827955d80 r20693: Add reimplementation of selftest in perl. Once this has been tested
more properly, I hope to use this as a replacement for the existing
file.
(This used to be commit 1e013aba7697716451c25eeab851b6812b2e066f)
2007-10-10 14:40:23 -05:00
Simo Sorce
f1c81fdecd r20689: "pdc" and "bdc" have been replaced by "domain controller"
(This used to be commit 6976f283fc30a401bcc1d2c5089135c3fe8f1728)
2007-10-10 14:40:23 -05:00
Jelmer Vernooij
aecbb307b5 r20688: Use argv[0] equivalent of perl.
(This used to be commit 3dfcd9f807852f757899d4ae519e7f353002ccaf)
2007-10-10 14:40:23 -05:00
Stefan Metzmacher
50ed6e7124 r20686: this is a generic uptodateness vector
metze
(This used to be commit 352d88c8a8ebe4d0ab9f89c9e7eadc3c29d5cdd2)
2007-10-10 14:40:22 -05:00
Stefan Metzmacher
384ce1baec r20685: apply records using dsdb_extended_replicated_objects_commit()
metze
(This used to be commit 8f1fd303a78dd9df94b9a7b8b243dc20bfc7eaee)
2007-10-10 14:40:22 -05:00
Stefan Metzmacher
930fca1c97 r20684: if we don't have any indexes, then we should not waste time
to traverse the whole tdb and unpack each record

metze
(This used to be commit 492c79de13eab8db6079f880a8f0857dc7a29fa8)
2007-10-10 14:40:22 -05:00
Stefan Metzmacher
bd96c74e14 r20683: load indexes before applying replicated objects,
as for every object the repl_meta_data module needs to look
up the object by objectGUID

metze
(This used to be commit 55f845377ce3a7aeb028805754dc9c05d429548e)
2007-10-10 14:40:21 -05:00
Stefan Metzmacher
fbba1b39d4 r20682: make the dsdb_extended_replicated_objects_commit() interface a bit more useful,
so that we can apply the schema partition objects with one call

metze
(This used to be commit 165ff94b8a89ef4b9145405633ed11ab9567376b)
2007-10-10 14:40:21 -05:00
Stefan Metzmacher
f68dff9f81 r20681: implement the DSDB_EXTENDED_REPLICATED_OBJECTS operation.
the merging of existing objects is not implemented yet...

there are a few ifdef REPLMD_FULL_ASYNC because we need to workarouns
ldb's async infrastructure (which don't handle full async sub requests nicely)

metze
(This used to be commit da4ff0e7ccde47b3e092313ba22422350cf50f78)
2007-10-10 14:40:21 -05:00
Stefan Metzmacher
513a43fc23 r20680: prepare the helper functions for applying replicated objects
to pass all needed info to the repl_meta_data module

metze
(This used to be commit d5db31cde279cf05bd13bcf0da03767ab3498079)
2007-10-10 14:40:21 -05:00
Stefan Metzmacher
ee3c158602 r20679: make the init_handle stuff a bit easier and get rid of really ugly talloc_get_type()
usage

simo: if you change more modules, please include also this change

metze
(This used to be commit 88051a82c4918ba8183e0d6909161b2af2109446)
2007-10-10 14:40:20 -05:00
Stefan Metzmacher
05533e23f9 r20678: add index for objectGUID
metze
(This used to be commit e967b370173e1ae86632132851ab33d92c221291)
2007-10-10 14:40:20 -05:00
James Peach
fa5560bdcb r20677: Condense compilations rules.
(This used to be commit 586b5113a09ec5ff751bcdaf4094d5672d58f220)
2007-10-10 14:40:20 -05:00
Jelmer Vernooij
e8d2437cd5 r20676: Add ref pointer to fix warning.
(This used to be commit 1afcf850679b6752935455a8f9198679649922b8)
2007-10-10 14:40:19 -05:00
Jelmer Vernooij
310adf0fab r20675: Fix installation.
(This used to be commit 5d09131cc8a11dc2b0aa1f8f5296cf8869a436db)
2007-10-10 14:40:19 -05:00
Simo Sorce
d38a7a39fa r20670: Make the logic more clear
(This used to be commit 906630f18e5fab4be6c40018aafe67df1e27c92e)
2007-10-10 14:40:19 -05:00
Simo Sorce
f400fc4d0d r20669: Simplifing more
(This used to be commit 03de577059cb71bb6d5df7a65b5f5ba30bdea746)
2007-10-10 14:40:19 -05:00
Andrew Tridgell
4056528f72 r20665: put in my version of aio.h
sorry about that ....
(This used to be commit a91373291422e2f50b91fd7c2317dce5d2a4ab63)
2007-10-10 14:37:28 -05:00
Stefan Metzmacher
e73f1c2f2a r20661: the golden rule: "make things private if possible!"
fix 'make install' because no entry was in the headermap

metze
(This used to be commit 2a9d6d381d991977be10b525c88fb279237bafd9)
2007-10-10 14:37:28 -05:00
Stefan Metzmacher
4a1ac217f4 r20659: add missing system/aio.h
tridge: please commit your version and merge it to both samba3 branches

metze
(This used to be commit ba492e2c3a64dfc5d4743ba568c63cb9a59e2849)
2007-10-10 14:37:27 -05:00
Stefan Metzmacher
9320521cb5 r20657: fix compiler warning and bug:-)
metze
(This used to be commit ddf6c90159a99c2f70a93915839caa43afc5500b)
2007-10-10 14:37:27 -05:00
Simo Sorce
a1a5d12c13 r20656: This way the process flow should be much more readable.
We need to make it easier, but this should be a step in
the right direction.
(This used to be commit ad58177ee46a4f02ee2e2d97882b851226bd3af2)
2007-10-10 14:37:27 -05:00
Volker Lendecke
98ac70b6a3 r20653: If this is the wrong way to fix the build, I apologize. But these includes are
necessary in my environment to get through make.

Volker
(This used to be commit 47e80da39f27a7e7aa6f85d6333f2d1772292ec9)
2007-10-10 14:37:27 -05:00
Volker Lendecke
726f93c1f6 r20652: Attempt to fix the build
(This used to be commit 29d04fadf3db8cb1a6eb2d8ca33f0106cafaaab2)
2007-10-10 14:37:26 -05:00
Andrew Tridgell
1c211a2e43 r20650: revert a bunch of code I didn't mean to commit yet
(This used to be commit b3e2d4908781781a487eaeb683d22eb967e5597d)
2007-10-10 14:37:26 -05:00
Andrew Tridgell
c6ccfeb9cb r20649: fixed strlower_talloc() and strupper_talloc() to end with right size,
so talloc_append_string() works
(This used to be commit 0d36b036b381d4f81a22ce31066d89932d73597b)
2007-10-10 14:37:24 -05:00
Andrew Bartlett
2ffd009a74 r20648: Closer to a build... Add missing header file.
(This used to be commit a4051a2d6537a536266ce7562cd6b833528dd263)
2007-10-10 14:37:24 -05:00
Andrew Tridgell
f6274959ba r20647: add cluster code
(This used to be commit 5870830b99a8d76bda1ff5af3fcf8dda9aba50ec)
2007-10-10 14:37:24 -05:00
Andrew Tridgell
1cd4339b9a r20646: first preparations for cluster enablement. This changes "
uint32_t server_id
to
  struct server_id server_id;

which allows a server ID to have an node number. The node number will
be zero in non-clustered case. This is the most basic hook needed for
clustering, and ctdb.
(This used to be commit 2365abaa991d57d68c6ebe9be608e01c907102eb)
2007-10-10 14:37:23 -05:00
Andrew Bartlett
848e236516 r20645: Commit the build system changes to allow scripts in config.mk files.
Andrew Bartlett
(This used to be commit 14b485ba9c72a654e5cf9e61f71fd0fb502d603b)
2007-10-10 14:37:23 -05:00
Andrew Bartlett
2309c52444 r20643: Remove generated files accidentilly committed.
Andrew Bartlett
(This used to be commit 12953ee765de1beeab547cb30ab292b77501d9c9)
2007-10-10 14:37:23 -05:00
Andrew Bartlett
126b48e5ab r20642: This bit of autoconf causes us pain. Revert back to how we had things
before the last merge.

Andrew Bartlett
(This used to be commit 9e7124cc85ec9ed8291769689aa38ab14b3754d8)
2007-10-10 14:37:22 -05:00
Derrell Lipman
e87ef675fb r20641: Everything relevant from the old swat (now swat.obsolete) directory has been moved to webapps. Remove the obsolete directory.
(This used to be commit e7a17c66ea08d74183efd6c0dedb68992e02e6db)
2007-10-10 14:37:21 -05:00
Andrew Bartlett
f7242f6437 r20640: Commit part 2/2
Update Heimdal to match current lorikeet-heimdal.  This includes
integrated PAC hooks, so Samba doesn't have to handle this any more.

This also brings in the PKINIT code, hence so many new files.

Andrew Bartlett
(This used to be commit 351f7040f7bb73b9a60b22b564686f7c2f98a729)
2007-10-10 14:37:20 -05:00
Andrew Bartlett
08976cb3d2 r20639: Commit part 1 of 2.
This patch updates our build system and glue to support a new snapshot
of lorikeet-heimdal.

We now procude a [SUBSYTEM] in the ans1_deps.pl script, and can depend
on that in the heimdal_build/config.mk.  This is much easier than
listing every generated .o file individually.

This required some small changes to the build system, due to the way
the parent directory was handled for the output of scripts.  I've also
cleaned up et_deps.pl to handle cleaning up it's generated files on
clean.

The PAC glue in Heimdal has changed significantly: we no longer have a
custom hack in the KDC, instead we have the windc plugin interface.
As such, pac-glue.c is much smaller.  In the future, when I'm
confident of the new code, we will also be able to 'downsize'
auth/kerberos/kerberos_pac.c.

(I'll include the updated copy of heimdal in the next chekin, to make
it clearer what's changed in Samba4 itself).

Andrew Bartlett
(This used to be commit 75fddbbc0811010a28ca5bb597b573b3f10ef6d6)
2007-10-10 14:37:20 -05:00
Jelmer Vernooij
348b7bc380 r20638: Check for NULL pointers (where possible) in print functions. Fixes #4218,
but without reintroducing coverity warnings.
(This used to be commit a0e2e30d570f246d646f88d7f81ab08208b96131)
2007-10-10 14:37:19 -05:00