Stefan Metzmacher [Wed, 17 Jan 2007 16:11:46 +0000 (16:11 +0000)]
r20853: attach the DSDB_CONTROL_CURRENT_PARTITION_OID control when requests
are passed to a specific partition
metze
Stefan Metzmacher [Wed, 17 Jan 2007 16:10:33 +0000 (16:10 +0000)]
r20852: add a function to add a ldb control to a ldb_request
metze
Jelmer Vernooij [Wed, 17 Jan 2007 14:49:36 +0000 (14:49 +0000)]
r20850: Prefix all server calls with dcesrv_
Stefan Metzmacher [Wed, 17 Jan 2007 14:19:06 +0000 (14:19 +0000)]
r20849: first step to move away from using find_backend() and use find_partition()
instead
metze
Stefan Metzmacher [Wed, 17 Jan 2007 13:46:16 +0000 (13:46 +0000)]
r20847: - split some code out into a new function find_partition()
- make all functions static
metze
Jelmer Vernooij [Tue, 16 Jan 2007 17:45:33 +0000 (17:45 +0000)]
r20836: Use real type name, to fix compilation with -WC++-compat
Jelmer Vernooij [Tue, 16 Jan 2007 15:51:37 +0000 (15:51 +0000)]
r20834: No longer generate extra pointers for top-level [out] unique pointers.
Jelmer Vernooij [Tue, 16 Jan 2007 15:18:53 +0000 (15:18 +0000)]
r20831: Update RPC-SCANNER as well after IDL changes.
Jelmer Vernooij [Tue, 16 Jan 2007 14:44:23 +0000 (14:44 +0000)]
r20830: merge mgmt work
Jelmer Vernooij [Tue, 16 Jan 2007 14:32:56 +0000 (14:32 +0000)]
r20829: Update ignores.
Stefan Metzmacher [Tue, 16 Jan 2007 10:57:55 +0000 (10:57 +0000)]
r20826: make the dsdb_control_current_partition struct public and allocate an oid for the
control
metze
Stefan Metzmacher [Tue, 16 Jan 2007 09:48:39 +0000 (09:48 +0000)]
r20825: control the subsystem default output type via a variable too
metze
Jelmer Vernooij [Tue, 16 Jan 2007 01:36:15 +0000 (01:36 +0000)]
r20823: Remove newlines in calls to torture_fail().
Jelmer Vernooij [Mon, 15 Jan 2007 23:42:52 +0000 (23:42 +0000)]
r20822: Fix total failure counting.
Stefan Metzmacher [Mon, 15 Jan 2007 19:27:45 +0000 (19:27 +0000)]
r20819: - include system/aio.h
- use full prototype for main
- use ifdef instead if
metze
Stefan Metzmacher [Mon, 15 Jan 2007 19:08:03 +0000 (19:08 +0000)]
r20816: merge from samba3:
include setjmp.h via system/wait.h
metze
Stefan Metzmacher [Mon, 15 Jan 2007 19:05:11 +0000 (19:05 +0000)]
r20815: merge from samba3
metze
Stefan Metzmacher [Mon, 15 Jan 2007 18:44:06 +0000 (18:44 +0000)]
r20814: always define SHLIBEXT, to fix the build on host with no support for shared libs,
there we just define it to an invalid value
metze
Stefan Metzmacher [Mon, 15 Jan 2007 18:38:43 +0000 (18:38 +0000)]
r20813: fix the build with autodependencies
metze
Stefan Metzmacher [Mon, 15 Jan 2007 17:55:26 +0000 (17:55 +0000)]
r20810: unlink the test file when the test is done
metze
Stefan Metzmacher [Mon, 15 Jan 2007 17:53:53 +0000 (17:53 +0000)]
r20809: rename struct partition into struct dsdb_control_current_partition
we'll soon pass this down as DSDB_CONTROL_CURRENT_PARTITION_OID control
so that the repl_meta_data module knows where to update the replUpToDateVector
attribute
metze
Stefan Metzmacher [Mon, 15 Jan 2007 17:41:53 +0000 (17:41 +0000)]
r20808: remove whitespace
metze
Stefan Metzmacher [Mon, 15 Jan 2007 14:19:03 +0000 (14:19 +0000)]
r20807: test static password for the test_*.ldb' files
metze
Stefan Metzmacher [Mon, 15 Jan 2007 14:17:26 +0000 (14:17 +0000)]
r20806: make it possible to configure the secrets.ldb url
via "secrets database = my_secrets.ldb"
metze
Stefan Metzmacher [Mon, 15 Jan 2007 13:54:21 +0000 (13:54 +0000)]
r20805: don't use hardcoded values for secrects.keytab and sam.ldb
metze
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
Stefan Metzmacher [Mon, 15 Jan 2007 11:11:16 +0000 (11:11 +0000)]
r20803: fix compiler warning about extra semicolon
metze
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
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
Stefan Metzmacher [Mon, 15 Jan 2007 10:39:17 +0000 (10:39 +0000)]
r20800: fix compiler warnings
metze
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
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
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
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
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
Stefan Metzmacher [Mon, 15 Jan 2007 07:46:36 +0000 (07:46 +0000)]
r20792: fix the build, sorry...
metze
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
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
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
Jelmer Vernooij [Mon, 15 Jan 2007 02:23:40 +0000 (02:23 +0000)]
r20786: Fix the build.
Jelmer Vernooij [Mon, 15 Jan 2007 00:42:16 +0000 (00:42 +0000)]
r20785: Add stub implementation for mgmt interface.
Jelmer Vernooij [Sun, 14 Jan 2007 22:28:29 +0000 (22:28 +0000)]
r20784: Add ref pointer
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
Rafal Szczesniak [Sun, 14 Jan 2007 20:37:14 +0000 (20:37 +0000)]
r20782: Place ejsnet files in a separate directory.
rafal
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
Stefan Metzmacher [Sun, 14 Jan 2007 19:03:59 +0000 (19:03 +0000)]
r20779: fix compiler warnings
metze
Stefan Metzmacher [Sun, 14 Jan 2007 18:54:42 +0000 (18:54 +0000)]
r20778: we don't need a talloc_steal here
metze
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
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
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
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
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
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
Stefan Metzmacher [Sun, 14 Jan 2007 16:04:42 +0000 (16:04 +0000)]
r20770: remove unused var
metze
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
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
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
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
Stefan Metzmacher [Sun, 14 Jan 2007 15:17:48 +0000 (15:17 +0000)]
r20765: add two more schema related error codes
metze
Stefan Metzmacher [Sun, 14 Jan 2007 14:24:05 +0000 (14:24 +0000)]
r20764: fix some little bugs
metze
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
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
Stefan Metzmacher [Sun, 14 Jan 2007 13:43:09 +0000 (13:43 +0000)]
r20761: let ldb modules call ldb_set_default_dns()
metze
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
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
Jelmer Vernooij [Sun, 14 Jan 2007 05:06:50 +0000 (05:06 +0000)]
r20757: Strip recipe functionality (should be one layer up)
Jelmer Vernooij [Sun, 14 Jan 2007 04:32:11 +0000 (04:32 +0000)]
r20756: Update to use generated recipes.
Jelmer Vernooij [Sun, 14 Jan 2007 03:38:56 +0000 (03:38 +0000)]
r20755: Add progress indicator to test runner
Jelmer Vernooij [Sun, 14 Jan 2007 03:18:04 +0000 (03:18 +0000)]
r20754: Simplify code for calculating total number of failed tests.
Derrell Lipman [Sun, 14 Jan 2007 03:03:40 +0000 (03:03 +0000)]
r20753: editorial change
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.
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.
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.
Jelmer Vernooij [Sun, 14 Jan 2007 01:42:07 +0000 (01:42 +0000)]
r20748: Add file I forgot to commit
Jelmer Vernooij [Sun, 14 Jan 2007 01:39:34 +0000 (01:39 +0000)]
r20747: Move cifsdd to blackbox section
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.
Jelmer Vernooij [Sat, 13 Jan 2007 20:02:10 +0000 (20:02 +0000)]
r20739: Add more command-line options.
Jelmer Vernooij [Sat, 13 Jan 2007 16:08:58 +0000 (16:08 +0000)]
r20737: Add option parsing.
Stefan Metzmacher [Sat, 13 Jan 2007 15:49:32 +0000 (15:49 +0000)]
r20736: skip the NBT-WINSREPLICATION-OWNED test in make quicktest
metze
Stefan Metzmacher [Sat, 13 Jan 2007 15:40:33 +0000 (15:40 +0000)]
r20735: print out a headline and the oMObjectClass
metze
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
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
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
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
Stefan Metzmacher [Sat, 13 Jan 2007 15:01:39 +0000 (15:01 +0000)]
r20730: this can be const
metze
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
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
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
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
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.)
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
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
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
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
Stefan Metzmacher [Fri, 12 Jan 2007 17:17:02 +0000 (17:17 +0000)]
r20712: add a function to compare GUID's
metze
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
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
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
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
Stefan Metzmacher [Fri, 12 Jan 2007 13:17:25 +0000 (13:17 +0000)]
r20705: store the "replUpToDateVector" attribute in DSDB_EXTENDED_REPLICATED_OBJECTS
metze