jra/samba/.git
16 years agor20804: work arround HPUX and Tru64 make which don't like $$startdir
Stefan Metzmacher [Mon, 15 Jan 2007 13:28:09 +0000 (13:28 +0000)]
r20804: work arround HPUX and Tru64 make which don't like $$startdir

we now call asn1_compile and compile_et via a wrapper script

metze
(This used to be commit a5b67f5c7e78d3cf74668c7c6bf9aecd8e147d41)

16 years agor20803: fix compiler warning about extra semicolon
Stefan Metzmacher [Mon, 15 Jan 2007 11:11:16 +0000 (11:11 +0000)]
r20803: fix compiler warning about extra semicolon

metze
(This used to be commit 1feae45f283decff5c47dcc44349af128df3add5)

16 years agor20802: - don't add the same Makefile vars twice...
Stefan Metzmacher [Mon, 15 Jan 2007 10:49:02 +0000 (10:49 +0000)]
r20802: - don't add the same Makefile vars twice...
- this fixes a lot of warnings on Tru64

maybe this also fixes the build on Tru64 and HPUX...

metze
(This used to be commit a154fd04c84323d2e9e537e78fd95e29428cfd8a)

16 years agor20801: try to always fix up the acl revision when we add or remove
Stefan Metzmacher [Mon, 15 Jan 2007 10:47:22 +0000 (10:47 +0000)]
r20801: try to always fix up the acl revision when we add or remove
an ace

metze
(This used to be commit 18cc56be6a7c21e5b19d0826aca6ae2416c116b8)

16 years agor20800: fix compiler warnings
Stefan Metzmacher [Mon, 15 Jan 2007 10:39:17 +0000 (10:39 +0000)]
r20800: fix compiler warnings

metze
(This used to be commit 6ce994720cdd8b7dd0b789460b5ae7da19261696)

16 years agor20799: if any ace has the optional sub object, the acl revision needs
Stefan Metzmacher [Mon, 15 Jan 2007 10:10:15 +0000 (10:10 +0000)]
r20799: if any ace has the optional sub object, the acl revision needs
to be SECURITY_ACL_REVISION_ADS (4)

metze
(This used to be commit a67bb4365958f4bfadbf47b2231992e2aadd26a1)

16 years agor20798: fix ndr_size_security_ace() it should include the optional sub object
Stefan Metzmacher [Mon, 15 Jan 2007 09:54:08 +0000 (09:54 +0000)]
r20798: fix ndr_size_security_ace() it should include the optional sub object
for ADS style ace's

metze
(This used to be commit 161fea1a141de085eb6c84efc5b120e00cf95943)

16 years agor20797: make it more clear that this is a 32bit bitmap
Stefan Metzmacher [Mon, 15 Jan 2007 09:52:25 +0000 (09:52 +0000)]
r20797: make it more clear that this is a 32bit bitmap

metze
(This used to be commit e85a4bfbf3309019e31c2b598b3a564daad0df98)

16 years agor20795: dom_sid_parse_talloc() gets an null terminated string as input,
Stefan Metzmacher [Mon, 15 Jan 2007 09:02:58 +0000 (09:02 +0000)]
r20795: dom_sid_parse_talloc() gets an null terminated string as input,
the SDDL string has the sid strings embedded, so we need to create
a null terminated string...

metze
(This used to be commit 532395a18db84affa8a743b995e9fae2e3c312f2)

16 years agor20794: hopefully fix the build on systems without native linux aio
Stefan Metzmacher [Mon, 15 Jan 2007 08:17:15 +0000 (08:17 +0000)]
r20794: hopefully fix the build on systems without native linux aio

metze
(This used to be commit 4787b8e1f7a7bb6b1e0f8ca64a27e4c5e6f53c2c)

16 years agor20792: fix the build, sorry...
Stefan Metzmacher [Mon, 15 Jan 2007 07:46:36 +0000 (07:46 +0000)]
r20792: fix the build, sorry...

metze
(This used to be commit e2cdd882b5ab12396244a13e0e58d8ee52f234ab)

16 years agor20791: the ejsnet stuff can be a normal smbcalls module...
Stefan Metzmacher [Mon, 15 Jan 2007 07:34:04 +0000 (07:34 +0000)]
r20791: the ejsnet stuff can be a normal smbcalls module...

mimir: when you want to register more functions
       please do that in the smb_setup_ejs_net() function

metze
(This used to be commit 5828632931376c3982bf0b6d110d217a8e05d60e)

16 years agor20788: - remove epoll configure checks from libreplace
Stefan Metzmacher [Mon, 15 Jan 2007 07:15:47 +0000 (07:15 +0000)]
r20788: - remove epoll configure checks from libreplace
- fix epoll configure checks for the epoll and aio
  events backends
- we should only activate the epoll backend if sys/epoll.h
  and epoll_create() are found
- we should only activate the aio backend if sys/epoll.h, epoll_create(),
  libaio.h and io_getevents() are found

hopefully fix the build on 'bnhtest' in the build farm...

metze
(This used to be commit d46a5efb03ea1df50567cad00e1589870cdb31fe)

16 years agor20787: a subsystem doesn't need explicit dependencies to its modules
Stefan Metzmacher [Mon, 15 Jan 2007 07:07:35 +0000 (07:07 +0000)]
r20787: a subsystem doesn't need explicit dependencies to its modules

metze
(This used to be commit 017cf3f13799b03e0aef995bc4fa9ae74bc1acb7)

16 years agor20786: Fix the build.
Jelmer Vernooij [Mon, 15 Jan 2007 02:23:40 +0000 (02:23 +0000)]
r20786: Fix the build.
(This used to be commit 42bb335bd50a5070ee59c9d9748db8a9e9d6a9b0)

16 years agor20785: Add stub implementation for mgmt interface.
Jelmer Vernooij [Mon, 15 Jan 2007 00:42:16 +0000 (00:42 +0000)]
r20785: Add stub implementation for mgmt interface.
(This used to be commit e84a369d9b2f1f7313892d5bbf077df6069ba677)

16 years agor20784: Add ref pointer
Jelmer Vernooij [Sun, 14 Jan 2007 22:28:29 +0000 (22:28 +0000)]
r20784: Add ref pointer
(This used to be commit 2ba225ee12180d40a957e4e9a824a544c803a265)

16 years agor20783: Ejsnet files are now moved into a separate directory. I need to commit
Rafal Szczesniak [Sun, 14 Jan 2007 20:47:46 +0000 (20:47 +0000)]
r20783: Ejsnet files are now moved into a separate directory. I need to commit
this as the change is getting bigger and bigger.

Jelmer, Metze, I don't know enough of our build system so please check
if .mk files are ok.

rafal
(This used to be commit 77ede0656c0b17a84ee8550776ab158007f0e71f)

16 years agor20782: Place ejsnet files in a separate directory.
Rafal Szczesniak [Sun, 14 Jan 2007 20:37:14 +0000 (20:37 +0000)]
r20782: Place ejsnet files in a separate directory.

rafal
(This used to be commit 10968c3f4b0bb63a9902adcbd44d30ad7bfd4afe)

16 years agor20780: keep a dsdb_schema_fsmo struct as private data
Stefan Metzmacher [Sun, 14 Jan 2007 19:08:14 +0000 (19:08 +0000)]
r20780: keep a dsdb_schema_fsmo struct as private data
and remember if we're the schema master

metze
(This used to be commit c42dab21fb275ca36a517f97922af21447671785)

16 years agor20779: fix compiler warnings
Stefan Metzmacher [Sun, 14 Jan 2007 19:03:59 +0000 (19:03 +0000)]
r20779: fix compiler warnings

metze
(This used to be commit 0b98f11d3eeee3eaf862dc06468332a20e22c059)

16 years agor20778: we don't need a talloc_steal here
Stefan Metzmacher [Sun, 14 Jan 2007 18:54:42 +0000 (18:54 +0000)]
r20778: we don't need a talloc_steal here

metze
(This used to be commit 0ef90769b49b93cb57e9a1ba2aea280ec70ae151)

16 years agor20777: only include closefrom.c if the system doesn't have it.
Stefan Metzmacher [Sun, 14 Jan 2007 18:48:14 +0000 (18:48 +0000)]
r20777: only include closefrom.c if the system doesn't have it.

hopefully solaris build fine now...

metze
(This used to be commit f9a6649f08a6634db4059b904e95ca870e2ab095)

16 years agor20776: require a loaded dsdb_schema for originating add and modify operations
Stefan Metzmacher [Sun, 14 Jan 2007 18:19:26 +0000 (18:19 +0000)]
r20776: require a loaded dsdb_schema for originating add and modify operations
(later we'll require it for all originating changes...)

metze
(This used to be commit fc1a836eccc0913fdab644341fa3e37a2f086de8)

16 years agor20775: - use the schema_fsmo module on the schema partition, which loads the schema
Stefan Metzmacher [Sun, 14 Jan 2007 18:03:26 +0000 (18:03 +0000)]
r20775: - use the schema_fsmo module on the schema partition, which loads the schema
  if it's already in the ldb
- reopen the ldb after applying the schema, to that we use the loaded schema
  when we apply the config and domain partition objects

metze
(This used to be commit 6d320ec19cac00059649703fc0455ba0ba3a16e6)

16 years agor20773: we need to include config.h and replace.h before we can use #ifdef statements
Stefan Metzmacher [Sun, 14 Jan 2007 17:50:37 +0000 (17:50 +0000)]
r20773: we need to include config.h and replace.h before we can use #ifdef statements
hopefully fix the build on solaris 9

metze
(This used to be commit 65ba2920a176c9d4ee77e381cf8f11bd0546e63c)

16 years agor20772: fix segfault caused by ldb_set_default_dns() from init_context hook of the...
Stefan Metzmacher [Sun, 14 Jan 2007 17:45:55 +0000 (17:45 +0000)]
r20772: fix segfault caused by ldb_set_default_dns() from init_context hook of the root dse module

metze
(This used to be commit a201d3fc4ddfa336e2a98412d05eac4e51d01cea)

16 years agor20771: add an ldb module which will force the Schema FSMO Role Owner
Stefan Metzmacher [Sun, 14 Jan 2007 17:04:15 +0000 (17:04 +0000)]
r20771: add an ldb module which will force the Schema FSMO Role Owner
constraints and it also loads the dsdb_schema at startup.

currently it only loads the dsdb_schema

metze
(This used to be commit d78de0fb68f8b4ef4c5372f3c3ed171e44cf2037)

16 years agor20770: remove unused var
Stefan Metzmacher [Sun, 14 Jan 2007 16:04:42 +0000 (16:04 +0000)]
r20770: remove unused var

metze
(This used to be commit b311de14c1c1011ba7da2142d4067f70e2a5f176)

16 years agor20769: - it's wrong to add the schemaInfo blob as 2nd value to the prefixMap attribu...
Stefan Metzmacher [Sun, 14 Jan 2007 15:56:55 +0000 (15:56 +0000)]
r20769: - it's wrong to add the schemaInfo blob as 2nd value to the prefixMap attribute...(was a typo)
- as the schemaInfo attribute is already applied to the ldb because it's a replicated attribute
  we should not replace it

metze
(This used to be commit 56109df406a60ef27a2a3d94979d46c470e32117)

16 years agor20768: store the prefixMap and schemaInfo attributes on the schema head object
Stefan Metzmacher [Sun, 14 Jan 2007 15:49:06 +0000 (15:49 +0000)]
r20768: store the prefixMap and schemaInfo attributes on the schema head object

metze
(This used to be commit ac228b3a6a8c33385ab63ab0608b3aa4b99375f5)

16 years agor20767: don't pass a dsdb_schema to dsdb_extended_replicated_objects_commit()
Stefan Metzmacher [Sun, 14 Jan 2007 15:35:10 +0000 (15:35 +0000)]
r20767: don't pass a dsdb_schema to dsdb_extended_replicated_objects_commit()
anymore it should use the dsdb_schema attached to the ldb_context
via dsdb_get_schema()

metze
(This used to be commit efa31bbc3717fbf087ff76c4396975f131b16b92)

16 years agor20766: when creating dsdb_attribute or dsdb_class structs from ldb, try the oid...
Stefan Metzmacher [Sun, 14 Jan 2007 15:22:12 +0000 (15:22 +0000)]
r20766: when creating dsdb_attribute or dsdb_class structs from ldb, try the oid mapping
if the dsdb_schema has mappings attached

metze
(This used to be commit 6ecd1342ded63b99b51250714127344a5304c47f)

16 years agor20765: add two more schema related error codes
Stefan Metzmacher [Sun, 14 Jan 2007 15:17:48 +0000 (15:17 +0000)]
r20765: add two more schema related error codes

metze
(This used to be commit 75f5a88f2229fa604726ecb0ebb2b5a4589d5b86)

16 years agor20764: fix some little bugs
Stefan Metzmacher [Sun, 14 Jan 2007 14:24:05 +0000 (14:24 +0000)]
r20764: fix some little bugs

metze
(This used to be commit 1c3d1723e9a386038aaf34a5df7c279afa7d48a2)

16 years agor20763: add function to get the oid mappings in drsuapi or ldb form
Stefan Metzmacher [Sun, 14 Jan 2007 13:49:19 +0000 (13:49 +0000)]
r20763: add function to get the oid mappings in drsuapi or ldb form

metze
(This used to be commit cab3acb9bbb617bd6450134399f5bd7ad2770454)

16 years agor20762: load the default dn's after the rootdse module is initialized,
Stefan Metzmacher [Sun, 14 Jan 2007 13:45:18 +0000 (13:45 +0000)]
r20762: load the default dn's after the rootdse module is initialized,
so that following module can access the default dn's.

metze
(This used to be commit a934da4dcfeae49fcfc901a071da2d41507da69b)

16 years agor20761: let ldb modules call ldb_set_default_dns()
Stefan Metzmacher [Sun, 14 Jan 2007 13:43:09 +0000 (13:43 +0000)]
r20761: let ldb modules call ldb_set_default_dns()

metze
(This used to be commit 224a31cdbf12a555b8c46786c9f83fec8e839c5a)

16 years agor20760: also handle the case where no private data is attached to the module
Stefan Metzmacher [Sun, 14 Jan 2007 13:40:53 +0000 (13:40 +0000)]
r20760: also handle the case where no private data is attached to the module

metze
(This used to be commit c8f5aad40af0741984ded2047931a77161f69ece)

16 years agor20758: Adapt RAW-UNLINK error returns for wildcard unlinks to Samba3.
Volker Lendecke [Sun, 14 Jan 2007 10:38:06 +0000 (10:38 +0000)]
r20758: Adapt RAW-UNLINK error returns for wildcard unlinks to Samba3.

If someone is feeling like solving that puzzle, contact Jeremy or me for hints
:-)

Volker
(This used to be commit 93e6dbaf5b81661d85539877fd0874480cfa5673)

16 years agor20757: Strip recipe functionality (should be one layer up)
Jelmer Vernooij [Sun, 14 Jan 2007 05:06:50 +0000 (05:06 +0000)]
r20757: Strip recipe functionality (should be one layer up)
(This used to be commit a3f7b184735fb6467bec03eeff53a72003a78097)

16 years agor20756: Update to use generated recipes.
Jelmer Vernooij [Sun, 14 Jan 2007 04:32:11 +0000 (04:32 +0000)]
r20756: Update to use generated recipes.
(This used to be commit 842637f78bbfb66ff669dadf3c7387dbc45feaf8)

16 years agor20755: Add progress indicator to test runner
Jelmer Vernooij [Sun, 14 Jan 2007 03:38:56 +0000 (03:38 +0000)]
r20755: Add progress indicator to test runner
(This used to be commit bbe00636a931d92fc0c2eb05d769376451fb21a7)

16 years agor20754: Simplify code for calculating total number of failed tests.
Jelmer Vernooij [Sun, 14 Jan 2007 03:18:04 +0000 (03:18 +0000)]
r20754: Simplify code for calculating total number of failed tests.
(This used to be commit f288ca5f6805d04a2da60a26006ca293d9fa7cc0)

16 years agor20753: editorial change
Derrell Lipman [Sun, 14 Jan 2007 03:03:40 +0000 (03:03 +0000)]
r20753: editorial change
(This used to be commit 261c38375115565b2dc844a3ad7b03c1894a9265)

16 years agor20752: There's no reason to wait 5 seconds before the first Status and Statistics
Derrell Lipman [Sun, 14 Jan 2007 02:56:09 +0000 (02:56 +0000)]
r20752: There's no reason to wait 5 seconds before the first Status and Statistics
report is generated.  Upon "appear" events, set timer expiry to 0 seconds for
the first timeout.
(This used to be commit 7b98d6a77f02c2dc145630b0cf9e8bb6a1b25c92)

16 years agor20751: It's unlikely that even 1 in 1000 users of SWAT will be running IE. That not
Derrell Lipman [Sun, 14 Jan 2007 02:54:41 +0000 (02:54 +0000)]
r20751: It's unlikely that even 1 in 1000 users of SWAT will be running IE.  That not
withstanding, although many web sites ignore Gecko and work properly only when
accessed via IE, we should strive to a higher standard.

This check-in makes the Samba4 Web Application Framework work in IE as well.
(This used to be commit fed131747a8a8f7c3ff2db1fe78d2e198b996073)

16 years agor20750: Use files in script/tests to build a recipe rather than running the tests...
Jelmer Vernooij [Sun, 14 Jan 2007 02:02:06 +0000 (02:02 +0000)]
r20750: Use files in script/tests to build a recipe rather than running the tests immediately.
(This used to be commit d31d16e4ebe3957f332e9013f898738c8f3090d9)

16 years agor20748: Add file I forgot to commit
Jelmer Vernooij [Sun, 14 Jan 2007 01:42:07 +0000 (01:42 +0000)]
r20748: Add file I forgot to commit
(This used to be commit 2794af5726a1e1beb6fcb1aaaa4ba9aa9d4a9071)

16 years agor20747: Move cifsdd to blackbox section
Jelmer Vernooij [Sun, 14 Jan 2007 01:39:34 +0000 (01:39 +0000)]
r20747: Move cifsdd to blackbox section
(This used to be commit 96ac1c62eef29e8c8c1df9719b6785134efe525c)

16 years agor20746: Don't report each individual test in test_smbclient as a single testsuite.
Jelmer Vernooij [Sun, 14 Jan 2007 01:33:16 +0000 (01:33 +0000)]
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)

16 years agor20739: Add more command-line options.
Jelmer Vernooij [Sat, 13 Jan 2007 20:02:10 +0000 (20:02 +0000)]
r20739: Add more command-line options.
(This used to be commit 8ca927f8883ec7b7e9c91ae2c2df2cac2110601d)

16 years agor20737: Add option parsing.
Jelmer Vernooij [Sat, 13 Jan 2007 16:08:58 +0000 (16:08 +0000)]
r20737: Add option parsing.
(This used to be commit b1719ebf3812b79715cf4e549426d798571b4908)

16 years agor20736: skip the NBT-WINSREPLICATION-OWNED test in make quicktest
Stefan Metzmacher [Sat, 13 Jan 2007 15:49:32 +0000 (15:49 +0000)]
r20736: skip the NBT-WINSREPLICATION-OWNED test in make quicktest

metze
(This used to be commit b3ff3f8c3623c6bf40038b07fdb1084b35442588)

16 years agor20735: print out a headline and the oMObjectClass
Stefan Metzmacher [Sat, 13 Jan 2007 15:40:33 +0000 (15:40 +0000)]
r20735: print out a headline and the oMObjectClass

metze
(This used to be commit 0ccd35bb3ddd8281953e589a6247423c38fc64b1)

16 years agor20734: always terminate the string... so that an empty data_blob
Stefan Metzmacher [Sat, 13 Jan 2007 15:39:49 +0000 (15:39 +0000)]
r20734: always terminate the string... so that an empty data_blob
gets '\0' as "" string

metze
(This used to be commit 4f5daa830a3c02a05ba1bc7f32eedbe1d52640a1)

16 years agor20733: add a function to load the oid mappings from ldb_val's
Stefan Metzmacher [Sat, 13 Jan 2007 15:29:47 +0000 (15:29 +0000)]
r20733: add a function to load the oid mappings from ldb_val's

metze
(This used to be commit b7f681a8a144907fa8e0a6503345da7c391dd156)

16 years agor20732: add idl for storing the prefixMap attribute
Stefan Metzmacher [Sat, 13 Jan 2007 15:28:24 +0000 (15:28 +0000)]
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)

16 years agor20731: we need the complex memmove() handling for removing an attribute only in...
Stefan Metzmacher [Sat, 13 Jan 2007 15:03:00 +0000 (15:03 +0000)]
r20731: we need the complex memmove() handling for removing an attribute only in one place

metze
(This used to be commit dfdfdd6cefeac2974a4b3425a49e3dd93ad7e952)

16 years agor20730: this can be const
Stefan Metzmacher [Sat, 13 Jan 2007 15:01:39 +0000 (15:01 +0000)]
r20730: this can be const

metze
(This used to be commit 181db920476a9ebddeee1ebea17be0baf85ea59e)

16 years agor20729: add a version number to struct dsdb_extended_replicated_objects
Stefan Metzmacher [Sat, 13 Jan 2007 11:37:13 +0000 (11:37 +0000)]
r20729: add a version number to struct dsdb_extended_replicated_objects

metze
(This used to be commit 2e79863d54030526841e5858e7be6a815c25593b)

16 years agor20728: the DSDB_CONTROL_REPLICATED_OBJECT_OID control isn't used anymore
Stefan Metzmacher [Sat, 13 Jan 2007 11:24:39 +0000 (11:24 +0000)]
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)

16 years agor20727: implement basic merging of replicated objects when it already exist
Stefan Metzmacher [Sat, 13 Jan 2007 11:17:27 +0000 (11:17 +0000)]
r20727: implement basic merging of replicated objects when it already exist
in the ldb

metze
(This used to be commit 262e42123d0bca77560fbb5a33c13a9c275ba3ec)

16 years agor20726: - only add the rdn attribute and it's meta_data when the 'name' attribute...
Stefan Metzmacher [Sat, 13 Jan 2007 10:53:12 +0000 (10:53 +0000)]
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)

16 years agor20723: Web Application Framework
Derrell Lipman [Sat, 13 Jan 2007 02:27:54 +0000 (02:27 +0000)]
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)

16 years agor20716: add a dsdb_cache ldb module which will load the dsdb_schema and other things
Stefan Metzmacher [Fri, 12 Jan 2007 17:58:38 +0000 (17:58 +0000)]
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)

16 years agor20715: set the dsdb_schema on the ldb_context
Stefan Metzmacher [Fri, 12 Jan 2007 17:26:55 +0000 (17:26 +0000)]
r20715: set the dsdb_schema on the ldb_context
after we have created a temporary one

metze
(This used to be commit 35a88f3d39e447a0e2adbd14676d15e5a5ac9488)

16 years agor20714: we can use talloc_asprintf_append() again, because strupper_talloc()
Stefan Metzmacher [Fri, 12 Jan 2007 17:25:43 +0000 (17:25 +0000)]
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)

16 years agor20713: sort the cursors in replUpToDateVector by source_dsa_invocation_id,
Stefan Metzmacher [Fri, 12 Jan 2007 17:19:48 +0000 (17:19 +0000)]
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)

16 years agor20712: add a function to compare GUID's
Stefan Metzmacher [Fri, 12 Jan 2007 17:17:02 +0000 (17:17 +0000)]
r20712: add a function to compare GUID's

metze
(This used to be commit 6237d9f0b575ccb739b96d2a9f4c3643a727c4b7)

16 years agor20710: update or create the "repsFrom" values after applying replicated objects
Stefan Metzmacher [Fri, 12 Jan 2007 17:02:55 +0000 (17:02 +0000)]
r20710: update or create the "repsFrom" values after applying replicated objects

metze
(This used to be commit 665d8f9626f8ef1c64f6fac79bdc40d14330f126)

16 years agor20709: pass a repsFromTo1 struct down as it contains all needed info for the source dsa
Stefan Metzmacher [Fri, 12 Jan 2007 16:02:10 +0000 (16:02 +0000)]
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)

16 years agor20708: fix crash bug! we can't use stack memory for async requests...
Stefan Metzmacher [Fri, 12 Jan 2007 14:26:08 +0000 (14:26 +0000)]
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)

16 years agor20706: the '@' chars should only be in front of each line,
Stefan Metzmacher [Fri, 12 Jan 2007 14:05:07 +0000 (14:05 +0000)]
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)

16 years agor20705: store the "replUpToDateVector" attribute in DSDB_EXTENDED_REPLICATED_OBJECTS
Stefan Metzmacher [Fri, 12 Jan 2007 13:17:25 +0000 (13:17 +0000)]
r20705: store the "replUpToDateVector" attribute in DSDB_EXTENDED_REPLICATED_OBJECTS

metze
(This used to be commit c9e7a58f6a16dfa28323fd0fd01ad6ee516c51b0)

16 years agor20704: add functions to get and set the ntds objectGUID and invocationId
Stefan Metzmacher [Fri, 12 Jan 2007 13:08:06 +0000 (13:08 +0000)]
r20704: add functions to get and set the ntds objectGUID and invocationId

metze
(This used to be commit c271ad824f763ba10ee74517062c6283fa20be89)

16 years agor20703: fix minor memory leak
Stefan Metzmacher [Fri, 12 Jan 2007 13:00:55 +0000 (13:00 +0000)]
r20703: fix minor memory leak

metze
(This used to be commit 4012e54ef22fc9a18d4533f6b48530ddc9c67992)

16 years agor20702: fix spelling
Stefan Metzmacher [Fri, 12 Jan 2007 12:55:30 +0000 (12:55 +0000)]
r20702: fix spelling

metze
(This used to be commit dd2832b37a8cb82d62b4974b779a178bb2872839)

16 years agor20698: added AIO writing support
Andrew Tridgell [Fri, 12 Jan 2007 05:47:00 +0000 (05:47 +0000)]
r20698: added AIO writing support
(This used to be commit dbf54c7b49d427af8112414760369cd21c8b5941)

16 years agor20697: A couple of minot cross-compile fixes.
James Peach [Fri, 12 Jan 2007 03:05:31 +0000 (03:05 +0000)]
r20697: A couple of minot cross-compile fixes.
(This used to be commit d4c7dd19f3a114ee1527cbcd3071b4921600977d)

16 years agor20696: Print mktestsetup errors to stderr rather than to either stderr or stdout.
Jelmer Vernooij [Fri, 12 Jan 2007 03:00:47 +0000 (03:00 +0000)]
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)

16 years agor20693: Add reimplementation of selftest in perl. Once this has been tested
Jelmer Vernooij [Fri, 12 Jan 2007 02:33:09 +0000 (02:33 +0000)]
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)

16 years agor20689: "pdc" and "bdc" have been replaced by "domain controller"
Simo Sorce [Thu, 11 Jan 2007 23:09:57 +0000 (23:09 +0000)]
r20689: "pdc" and "bdc" have been replaced by "domain controller"
(This used to be commit 6976f283fc30a401bcc1d2c5089135c3fe8f1728)

16 years agor20688: Use argv[0] equivalent of perl.
Jelmer Vernooij [Thu, 11 Jan 2007 22:47:29 +0000 (22:47 +0000)]
r20688: Use argv[0] equivalent of perl.
(This used to be commit 3dfcd9f807852f757899d4ae519e7f353002ccaf)

16 years agor20686: this is a generic uptodateness vector
Stefan Metzmacher [Thu, 11 Jan 2007 14:21:23 +0000 (14:21 +0000)]
r20686: this is a generic uptodateness vector

metze
(This used to be commit 352d88c8a8ebe4d0ab9f89c9e7eadc3c29d5cdd2)

16 years agor20685: apply records using dsdb_extended_replicated_objects_commit()
Stefan Metzmacher [Thu, 11 Jan 2007 13:15:53 +0000 (13:15 +0000)]
r20685: apply records using dsdb_extended_replicated_objects_commit()

metze
(This used to be commit 8f1fd303a78dd9df94b9a7b8b243dc20bfc7eaee)

16 years agor20684: if we don't have any indexes, then we should not waste time
Stefan Metzmacher [Thu, 11 Jan 2007 12:18:17 +0000 (12:18 +0000)]
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)

16 years agor20683: load indexes before applying replicated objects,
Stefan Metzmacher [Thu, 11 Jan 2007 11:11:34 +0000 (11:11 +0000)]
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)

16 years agor20682: make the dsdb_extended_replicated_objects_commit() interface a bit more useful,
Stefan Metzmacher [Thu, 11 Jan 2007 10:21:38 +0000 (10:21 +0000)]
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)

16 years agor20681: implement the DSDB_EXTENDED_REPLICATED_OBJECTS operation.
Stefan Metzmacher [Thu, 11 Jan 2007 09:54:10 +0000 (09:54 +0000)]
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)

16 years agor20680: prepare the helper functions for applying replicated objects
Stefan Metzmacher [Thu, 11 Jan 2007 09:45:30 +0000 (09:45 +0000)]
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)

16 years agor20679: make the init_handle stuff a bit easier and get rid of really ugly talloc_get...
Stefan Metzmacher [Thu, 11 Jan 2007 09:38:21 +0000 (09:38 +0000)]
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)

16 years agor20678: add index for objectGUID
Stefan Metzmacher [Thu, 11 Jan 2007 09:35:26 +0000 (09:35 +0000)]
r20678: add index for objectGUID

metze
(This used to be commit e967b370173e1ae86632132851ab33d92c221291)

16 years agor20677: Condense compilations rules.
James Peach [Thu, 11 Jan 2007 04:32:43 +0000 (04:32 +0000)]
r20677: Condense compilations rules.
(This used to be commit 586b5113a09ec5ff751bcdaf4094d5672d58f220)

16 years agor20676: Add ref pointer to fix warning.
Jelmer Vernooij [Thu, 11 Jan 2007 04:12:35 +0000 (04:12 +0000)]
r20676: Add ref pointer to fix warning.
(This used to be commit 1afcf850679b6752935455a8f9198679649922b8)

16 years agor20675: Fix installation.
Jelmer Vernooij [Thu, 11 Jan 2007 02:10:01 +0000 (02:10 +0000)]
r20675: Fix installation.
(This used to be commit 5d09131cc8a11dc2b0aa1f8f5296cf8869a436db)

16 years agor20670: Make the logic more clear
Simo Sorce [Wed, 10 Jan 2007 22:31:42 +0000 (22:31 +0000)]
r20670: Make the logic more clear
(This used to be commit 906630f18e5fab4be6c40018aafe67df1e27c92e)

16 years agor20669: Simplifing more
Simo Sorce [Wed, 10 Jan 2007 22:22:28 +0000 (22:22 +0000)]
r20669: Simplifing more
(This used to be commit 03de577059cb71bb6d5df7a65b5f5ba30bdea746)

16 years agor20665: put in my version of aio.h
Andrew Tridgell [Wed, 10 Jan 2007 20:07:13 +0000 (20:07 +0000)]
r20665: put in my version of aio.h

sorry about that ....
(This used to be commit a91373291422e2f50b91fd7c2317dce5d2a4ab63)

16 years agor20661: the golden rule: "make things private if possible!"
Stefan Metzmacher [Wed, 10 Jan 2007 18:41:22 +0000 (18:41 +0000)]
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)