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

11711 Commits

Author SHA1 Message Date
Jelmer Vernooij
727748bee8 r20750: Use files in script/tests to build a recipe rather than running the tests immediately.
(This used to be commit d31d16e4ebe3957f332e9013f898738c8f3090d9)
2007-10-10 14:40:42 -05:00
Jelmer Vernooij
70dbcf6d69 r20748: Add file I forgot to commit
(This used to be commit 2794af5726a1e1beb6fcb1aaaa4ba9aa9d4a9071)
2007-10-10 14:40:36 -05:00
Jelmer Vernooij
f60f9de6a8 r20747: Move cifsdd to blackbox section
(This used to be commit 96ac1c62eef29e8c8c1df9719b6785134efe525c)
2007-10-10 14:40:36 -05:00
Jelmer Vernooij
d9665a737b r20746: Don't report each individual test in test_smbclient as a single testsuite.
Create separate directory for blackbox tests.
(This used to be commit 7e6357f21350d264ebedabd34f2b8f42fc0427ff)
2007-10-10 14:40:36 -05:00
Jelmer Vernooij
1d1315adcd r20739: Add more command-line options.
(This used to be commit 8ca927f8883ec7b7e9c91ae2c2df2cac2110601d)
2007-10-10 14:40:35 -05:00
Jelmer Vernooij
1e29e06d80 r20737: Add option parsing.
(This used to be commit b1719ebf3812b79715cf4e549426d798571b4908)
2007-10-10 14:40:35 -05:00
Stefan Metzmacher
02097b0955 r20736: skip the NBT-WINSREPLICATION-OWNED test in make quicktest
metze
(This used to be commit b3ff3f8c3623c6bf40038b07fdb1084b35442588)
2007-10-10 14:40:35 -05:00
Stefan Metzmacher
fbec233ec7 r20735: print out a headline and the oMObjectClass
metze
(This used to be commit 0ccd35bb3ddd8281953e589a6247423c38fc64b1)
2007-10-10 14:40:34 -05:00
Stefan Metzmacher
c186fb9463 r20734: always terminate the string... so that an empty data_blob
gets '\0' as "" string

metze
(This used to be commit 4f5daa830a3c02a05ba1bc7f32eedbe1d52640a1)
2007-10-10 14:40:34 -05:00
Stefan Metzmacher
43063d5b14 r20733: add a function to load the oid mappings from ldb_val's
metze
(This used to be commit b7f681a8a144907fa8e0a6503345da7c391dd156)
2007-10-10 14:40:34 -05:00
Stefan Metzmacher
0410300810 r20732: add idl for storing the prefixMap attribute
as w2k3 doesn't return it when you ask for we don't know
the exact format, but we assume that it starts with a uint32 version

and as this attribute is not replicated we can chosse our own version...

metze
(This used to be commit cf546b7c182f6a9b636023377b5260d155bc15dd)
2007-10-10 14:40:33 -05:00
Stefan Metzmacher
7dd80e872d r20731: we need the complex memmove() handling for removing an attribute only in one place
metze
(This used to be commit dfdfdd6cefeac2974a4b3425a49e3dd93ad7e952)
2007-10-10 14:40:33 -05:00
Stefan Metzmacher
bc4af8dd5e r20730: this can be const
metze
(This used to be commit 181db920476a9ebddeee1ebea17be0baf85ea59e)
2007-10-10 14:40:33 -05:00
Stefan Metzmacher
21729fff11 r20729: add a version number to struct dsdb_extended_replicated_objects
metze
(This used to be commit 2e79863d54030526841e5858e7be6a815c25593b)
2007-10-10 14:40:33 -05:00
Stefan Metzmacher
82b4069171 r20728: the DSDB_CONTROL_REPLICATED_OBJECT_OID control isn't used anymore
because we now use DSDB_EXTENDED_REPLICATED_OBJECTS_OID extended operation

metze
(This used to be commit 4380cc9ed6ac2e6c133b5a36f922b341474a8e7e)
2007-10-10 14:40:32 -05:00
Stefan Metzmacher
2cf643929c r20727: implement basic merging of replicated objects when it already exist
in the ldb

metze
(This used to be commit 262e42123d0bca77560fbb5a33c13a9c275ba3ec)
2007-10-10 14:40:32 -05:00
Stefan Metzmacher
7ff19c935d r20726: - only add the rdn attribute and it's meta_data when the 'name' attribute is there
- add the values for objectGUID and whenChanged inside the ldb module,
  so that the ldb module has only replicated attributes as input

metze
(This used to be commit 0ecb07e0526462529fb21cec30e789a9002b30a1)
2007-10-10 14:40:32 -05:00
Derrell Lipman
2c5a1e6bdd r20723: Web Application Framework
- Clearly no one has ever tried to obtain the Referer from the web server
  before. :-)

- Send the Referer from the web application, in preparation for later security
  updates.  (These updates are not immediately necessary, as ScriptTransport
  is disabled and we check the content type on XmlHttpTransport.  This isn't
  anything to worry about.)
(This used to be commit 33c07f4b92ac349af85dff11e24111fb16d201d0)
2007-10-10 14:40:31 -05:00
Stefan Metzmacher
007c6f6e65 r20716: add a dsdb_cache ldb module which will load the dsdb_schema and other things
on startup into memory structures in future.

metze
(This used to be commit fbb1f85e320830f52bdf410ad61f2ec60e168d80)
2007-10-10 14:40:31 -05:00
Stefan Metzmacher
936fb1c0f7 r20715: set the dsdb_schema on the ldb_context
after we have created a temporary one

metze
(This used to be commit 35a88f3d39e447a0e2adbd14676d15e5a5ac9488)
2007-10-10 14:40:31 -05:00
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