summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
...
* s4-drepl: Refactor dreplsrv_run_pull_ops() toKamen Mazdrashki2011-02-271-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
* s4-drepl: Pass replication options from DsReplicaSync callKamen Mazdrashki2011-02-274-5/+12
|
* s4:heimdal - fix valgrind issue on Fedora 14Milan Crha2011-02-257-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
* Revert "heimdal_build omit #line statments to allow valgrind to work again"Matthias Dieter Wallnöfer2011-02-258-57/+378
| | | | | This reverts commit 80e23c68d83a7c9989f87d5a88a78bb76d222afc. A better patch has been provided by Milan Crha in the following commit.
* heimdal_build omit #line statments to allow valgrind to work againAndrew Bartlett2011-02-258-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
* Implement the SMB2 close flag SMB2_CLOSE_FLAGS_FULL_INFORMATION (and move ↵Jeremy Allison2011-02-251-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
* s4:dynconfig: fix segfault in the set_dyn_*() functionsStefan Metzmacher2011-02-241-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
* s4:dynconfig: add prototypes for *dyn_LOCALEDIRStefan Metzmacher2011-02-241-0/+1
| | | | metze
* build: moved util_reg.c into a common subsystemAndrew Tridgell2011-02-241-2/+2
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Feb 24 05:53:52 CET 2011 on sn-devel-104
* build: moved spnego_parse.c into a common subsystemAndrew Tridgell2011-02-241-2/+2
|
* build: moved librpc/rpc/*.c into a rpccommon libraryAndrew Tridgell2011-02-2410-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
* build: moved libds/common/flag_mapping.c into a common subsystemAndrew Tridgell2011-02-247-2/+9
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* build: moved schannel_sign.c into a shared COMMON_SCHANNEL subsystemAndrew Tridgell2011-02-243-4/+4
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* build: moved libcli/auth/ntlmssp*.c into a common libcliauth.so libraryAndrew Tridgell2011-02-244-8/+6
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* Make lpcfg_server_role public.Jelmer Vernooij2011-02-231-0/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Feb 23 00:44:16 CET 2011 on sn-devel-104
* s4:librpc: let dcerpc-samr library use RPC_NDR_SAMR subsystemStefan Metzmacher2011-02-221-2/+2
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Feb 22 21:51:43 CET 2011 on sn-devel-104
* s4:build: add RPC_NDR_ATSVC subsystemStefan Metzmacher2011-02-221-2/+2
| | | | metze
* s4-descriptor: Fixed a typo in a comment and clarified it a bit.Nadezhda Ivanova2011-02-221-2/+2
| | | | | Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Tue Feb 22 12:39:23 CET 2011 on sn-devel-104
* s4-descriptor: Fixed some missing curly braces.Nadezhda Ivanova2011-02-221-10/+13
|
* s4:torture/rpc/netlogon.c - fix two build warnings by castsMatthias Dieter Wallnöfer2011-02-221-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
* s4-auth Move libcli/security/session.c to the top levelAndrew Bartlett2011-02-2212-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
* selftest move selftesthelpers to a top level helper scriptAndrew Bartlett2011-02-221-138/+14
|
* python: use os.environ[] instead of os.putenv()Andrew Tridgell2011-02-223-7/+7
| | | | | | | using os.putenv() causes too much confusion, as it doesn't update os.getenv() Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-waf: added --enable-s3build configure optionAndrew Tridgell2011-02-221-1/+6
| | | | | | this enables the build of the s3 binaries in the toplevel build Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-waf: rename smbpasswd library to smbpasswdparserAndrew Tridgell2011-02-224-4/+4
| | | | this removes a conflict with the s3 smbpasswd binary
* s4-waf: rename 'param' to 'pyparam'Andrew Tridgell2011-02-221-1/+1
| | | | | | we will use 'param' for the s3 libparam.so Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-ndr: added NDR_WBINT to ndr_tablesAndrew Tridgell2011-02-221-1/+1
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-descriptor: Fixed some compiler warnings.Nadezhda Ivanova2011-02-211-2/+2
| | | | | Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Mon Feb 21 18:02:21 CET 2011 on sn-devel-104
* s4-descriptor: Removed unnecessary descriptor_change function and unused ↵Nadezhda Ivanova2011-02-211-387/+0
| | | | callbacks.
* s4-descriptor: Replaced the async descriptor_change with synchronous ↵Nadezhda Ivanova2011-02-211-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.
* s4-descriptor: Replaced the synchronous descriptor_change with the ↵Nadezhda Ivanova2011-02-211-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.
* s4-smbtorture: use torture_comment() instead of printf in raw.write test.Günther Deschner2011-02-211-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
* s4-smbtorture: fix some indent in raw.write test.Günther Deschner2011-02-211-4/+4
| | | | Guenther
* s4-smbtorture: fix trailing whitespace in raw.write test.Günther Deschner2011-02-211-22/+22
| | | | Guenther
* s4:scripting/python/modules.[ch] - explicitly say that "py_update_path" ↵Matthias Dieter Wallnöfer2011-02-212-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
* s4:smbtorture do not leave output directory aroundChristian Ambach2011-02-211-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
* s4: avoid overwritting the dceprc.h file from toplevel librpcMatthieu Patou2011-02-211-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
* pyldb: add tests for getting control resultsMatthieu Patou2011-02-211-0/+8
|
* pyldb: Add tests for the ldb_result objectMatthieu Patou2011-02-211-0/+87
|
* pyldb: create LdbResult, return value from ldb.search is now a LdbResultMatthieu Patou2011-02-212-5/+332
|
* s4-unittests: replace assertEquals(res, []) by assertEquals(len(res), 0)Matthieu Patou2011-02-213-26/+26
|
* ldb: controls marshalling/unmarshalling improvementMatthieu Patou2011-02-214-623/+930
| | | | | | | Add a function to marshall a control to a string Refactor the code of ldb_control_parse_strings to allow to extract the core code into ldb_control_parse_from_string so that this function can be called for just 1 string
* s4/drs-tests:Blackbox test to verify DsReplicaSync handlingKamen Mazdrashki2011-02-201-0/+91
| | | | | | | | | DsReplicaSync is indirectly called using 'samba-tool drs options' command to enable/disable replication and 'samba-tool drs replicate' command to trigger inbound replication cycle Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Sun Feb 20 23:03:03 CET 2011 on sn-devel-104
* s4/samba.tests: Raise BlackboxProcessError exception in case check_output ↵Kamen Mazdrashki2011-02-201-2/+2
| | | | | | | | | method fails This way the caller gets the chance to receive STDOUT and STDERR for a failed process. We may use this info to check if a process has failed properly, e.g. with expected output
* s4/samba.tests: Extend CalledProcessError class to store STDOUT and STDERR ↵Kamen Mazdrashki2011-02-201-0/+13
| | | | for a failed rocess call
* s4/drs-tests: Allow _net_drs_replicate to force replication and return ↵Kamen Mazdrashki2011-02-201-2/+4
| | | | output from command execution
* s4/drs-tests: Split samba-tool command line generation into separate methodKamen Mazdrashki2011-02-201-7/+12
| | | | so we can use to exec samba-tool passing different commands
* s4/drs-tests: Inherit DrsReplSchemaTestCase from DrsBaseTestCaseKamen Mazdrashki2011-02-201-45/+2
| | | | and remove duplicated functionality
* s4/drs-tests: Inherit DrsFsmoTestCase from DrsBaseTestCaseKamen Mazdrashki2011-02-201-35/+2
| | | | and remove duplicated functionality
* s4/drs-tests: Inherit DrsDeleteObjectTestCase from DrsBaseTestCaseKamen Mazdrashki2011-02-201-44/+2
| | | | and remove duplicated functionality