summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2011-02-28Use <tevent.h> so the system tevent gets included, if enabled.Jelmer Vernooij2-2/+2
2011-02-27s4/dsdb-util: Use DS_NTDSDSA_OPT_IS_GC flag definitionKamen Mazdrashki1-1/+1
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Sun Feb 27 00:10:45 CET 2011 on sn-devel-104
2011-02-27s4/tests: Include 'replica_sync' test in S4 test suiteKamen Mazdrashki1-0/+1
2011-02-27s4/drs-test: Remove unused importsKamen Mazdrashki3-25/+0
2011-02-27s4/drs-test: remove netReplicateCmd test from 'deleted object' test caseKamen Mazdrashki1-10/+4
DCs synchronization is moved to the test case setUp method as there is no guarantee for the order of execution of tests in a test case - thus netReplicateCmd may be executed after ReplicateDeleteOjbect test
2011-02-27s4/drs-tests: Disable replication during 'deleted object' testKamen Mazdrashki1-17/+10
This allows us to remove the patch that prevents the test failure. Also pass 'forced' flag to samba-tool drs replicate command, otherwise DsReplicaSync will fail with 'replication not permitted' error
2011-02-27s4/drs-tests: Move enable/disable replication methods to DrsBase class so we ↵Kamen Mazdrashki2-12/+11
can re-use them
2011-02-27s4-drepl: Schedule event to trigger replication rather than calling ↵Kamen Mazdrashki1-2/+5
run_pending_ops directly Executing dreplsrv_run_pending_ops() directly may cause a segfault as in case of failure, the _drepl_replica_sync_done_cb() callback gets called *before* drepl_replica_sync() returns. In such case, irpc message gets freed twice - once when irpc_send_reply() gets called and once when drepl_replica_sync() returns
2011-02-27s4-drepl: Fix replica sync callback to really store last error rather than ↵Kamen Mazdrashki1-1/+1
last success
2011-02-27s4-drepl: Refactor dreplsrv_run_pull_ops() toKamen Mazdrashki1-16/+33
1. Take into account DSA options - we should not send replication requests in case OUTBOUND_REPLICATION is disabled 2. Use replication flags for the operation to determine if a forced replication is requested 3. In case outbound replication is disabled and we don't have DRSUAPI_DRS_SYNC_FORCED flag set, then we should record WERR_DS_DRA_SINK_DISABLED error as a last replication result
2011-02-27s4-drepl: Pass replication options from DsReplicaSync callKamen Mazdrashki4-5/+12
2011-02-25s4:heimdal - fix valgrind issue on Fedora 14Milan Crha7-153/+153
This should definitely fix bug #7858. Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Fri Feb 25 12:39:21 CET 2011 on sn-devel-104
2011-02-25Revert "heimdal_build omit #line statments to allow valgrind to work again"Matthias Dieter Wallnöfer8-57/+378
This reverts commit 80e23c68d83a7c9989f87d5a88a78bb76d222afc. A better patch has been provided by Milan Crha in the following commit.
2011-02-25heimdal_build omit #line statments to allow valgrind to work againAndrew Bartlett8-378/+57
The lex/yacc files were generated on Fedora 14, and have empty filenames in #line declarations. I don't know why this is, but it seems best just to omit the #line statements. This is what was causing Valgrind on Fedora not to run on Samba binaries and programs linked to Samba libraries. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Feb 25 11:46:56 CET 2011 on sn-devel-104
2011-02-25Implement the SMB2 close flag SMB2_CLOSE_FLAGS_FULL_INFORMATION (and move ↵Jeremy Allison1-1/+0
definition to correct place). Thanks to Nick Meier @ Microsoft for finding this @ Connectathon. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Feb 25 00:40:52 CET 2011 on sn-devel-104
2011-02-24s4:dynconfig: fix segfault in the set_dyn_*() functionsStefan Metzmacher1-12/+25
We should not try to call free on a const string (the default one). Now we make sure that the dyn_* variable is never NULL and only allocated if it's not the default value. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Feb 24 12:29:56 CET 2011 on sn-devel-104
2011-02-24s4:dynconfig: add prototypes for *dyn_LOCALEDIRStefan Metzmacher1-0/+1
metze
2011-02-24build: moved util_reg.c into a common subsystemAndrew Tridgell1-2/+2
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Feb 24 05:53:52 CET 2011 on sn-devel-104
2011-02-24build: moved spnego_parse.c into a common subsystemAndrew Tridgell1-2/+2
2011-02-24build: moved librpc/rpc/*.c into a rpccommon libraryAndrew Tridgell10-4/+11
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Feb 24 02:42:37 CET 2011 on sn-devel-104
2011-02-24build: moved libds/common/flag_mapping.c into a common subsystemAndrew Tridgell7-2/+9
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-24build: moved schannel_sign.c into a shared COMMON_SCHANNEL subsystemAndrew Tridgell3-4/+4
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-24build: moved libcli/auth/ntlmssp*.c into a common libcliauth.so libraryAndrew Tridgell4-8/+6
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-23Make lpcfg_server_role public.Jelmer Vernooij1-0/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Feb 23 00:44:16 CET 2011 on sn-devel-104
2011-02-22s4:librpc: let dcerpc-samr library use RPC_NDR_SAMR subsystemStefan Metzmacher1-2/+2
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Feb 22 21:51:43 CET 2011 on sn-devel-104
2011-02-22s4:build: add RPC_NDR_ATSVC subsystemStefan Metzmacher1-2/+2
metze
2011-02-22s4-descriptor: Fixed a typo in a comment and clarified it a bit.Nadezhda Ivanova1-2/+2
Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Tue Feb 22 12:39:23 CET 2011 on sn-devel-104
2011-02-22s4-descriptor: Fixed some missing curly braces.Nadezhda Ivanova1-10/+13
2011-02-22s4:torture/rpc/netlogon.c - fix two build warnings by castsMatthias Dieter Wallnöfer1-2/+2
Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Tue Feb 22 11:45:49 CET 2011 on sn-devel-104
2011-02-22s4-auth Move libcli/security/session.c to the top levelAndrew Bartlett12-125/+9
This code is now useful in common, as the elements of the auth_session_info structure have now been defined in common IDL. Andrew Bartlett
2011-02-22selftest move selftesthelpers to a top level helper scriptAndrew Bartlett1-138/+14
2011-02-22python: use os.environ[] instead of os.putenv()Andrew Tridgell3-7/+7
using os.putenv() causes too much confusion, as it doesn't update os.getenv() Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22s4-waf: added --enable-s3build configure optionAndrew Tridgell1-1/+6
this enables the build of the s3 binaries in the toplevel build Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22s4-waf: rename smbpasswd library to smbpasswdparserAndrew Tridgell4-4/+4
this removes a conflict with the s3 smbpasswd binary
2011-02-22s4-waf: rename 'param' to 'pyparam'Andrew Tridgell1-1/+1
we will use 'param' for the s3 libparam.so Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22s4-ndr: added NDR_WBINT to ndr_tablesAndrew Tridgell1-1/+1
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-21s4-descriptor: Fixed some compiler warnings.Nadezhda Ivanova1-2/+2
Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Mon Feb 21 18:02:21 CET 2011 on sn-devel-104
2011-02-21s4-descriptor: Removed unnecessary descriptor_change function and unused ↵Nadezhda Ivanova1-387/+0
callbacks.
2011-02-21s4-descriptor: Replaced the async descriptor_change with synchronous ↵Nadezhda Ivanova1-1/+149
descriptor_modify. The purpose is to make descriptor module synchronous. This will simplify reading and debugging, and also will make the implementation of SD hierarchy recalculation on modify much easier.
2011-02-21s4-descriptor: Replaced the synchronous descriptor_change with the ↵Nadezhda Ivanova1-1/+108
synchronous descriptor_add. The purpose is to make descriptor module synchronous. This will simplify reading and debugging, and also will make the implementation of SD hierarchy recalculation on modify much easier.
2011-02-21s4-smbtorture: use torture_comment() instead of printf in raw.write test.Günther Deschner1-66/+67
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Feb 21 15:26:38 CET 2011 on sn-devel-104
2011-02-21s4-smbtorture: fix some indent in raw.write test.Günther Deschner1-4/+4
Guenther
2011-02-21s4-smbtorture: fix trailing whitespace in raw.write test.Günther Deschner1-22/+22
Guenther
2011-02-21s4:scripting/python/modules.[ch] - explicitly say that "py_update_path" ↵Matthias Dieter Wallnöfer2-2/+2
takes no argument This quiets some build warnings. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Mon Feb 21 14:42:00 CET 2011 on sn-devel-104
2011-02-21s4:smbtorture do not leave output directory aroundChristian Ambach1-13/+10
calling smbtorture with no or invalid arguments left the temporary output directory around this patches removes the dead-end exit from usage and makes the logic go on until the final cleanup state is reached output directory will still be left around when test times out or testcases itself force an exit also make sure that the directory itself is deleted, not just the objects in it Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Mon Feb 21 11:35:30 CET 2011 on sn-devel-104
2011-02-21s4: avoid overwritting the dceprc.h file from toplevel librpcMatthieu Patou1-1/+8
Change back to what was the configuration of header_path before 177ddcb084e8f8608bf2012a7c58f7b1e56d2acd so that dcerpc.h is installed in ${prefix}/include and not in ${prefix}/include/gen_ndr as the toplevel librpc wants also to put a dcerpc.h file in this directory. Add some documentation in order to avoid any new regression. This change should fix problems for openchange team. Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Mon Feb 21 09:47:05 CET 2011 on sn-devel-104
2011-02-21pyldb: add tests for getting control resultsMatthieu Patou1-0/+8
2011-02-21pyldb: Add tests for the ldb_result objectMatthieu Patou1-0/+87
2011-02-21pyldb: create LdbResult, return value from ldb.search is now a LdbResultMatthieu Patou2-5/+332
2011-02-21s4-unittests: replace assertEquals(res, []) by assertEquals(len(res), 0)Matthieu Patou3-26/+26