summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
* 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
* s4/drs-tests: Add a base class to hold common functionality for all DRS ↵Kamen Mazdrashki2011-02-201-0/+104
| | | | python tests
* ldb-samba: Add missing dependency on pyldb-util.Jelmer Vernooij2011-02-201-1/+1
|
* lib/util/charcnv Move iconv handle setup in commonAndrew Bartlett2011-02-182-5/+2
| | | | | | | | We now use the struct smb_iconv_convenience at the core of all our iconv code, and use global_iconv_convenience for the callers that don't specify one. Andrew Bartlett
* s4-idl: rename s4 server_id.idl to server_id4.idlAndrew Tridgell2011-02-1814-14/+14
| | | | | | this avoids a conflict with the new s3 server_id.idl Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* librpc make ndr-standard a common libraryAndrew Bartlett2011-02-181-13/+0
|
* librpc push NDR_SECURITY and NDR_DCERPC to the top level wscript filesAndrew Bartlett2011-02-181-13/+6
| | | | | | | There isn't any reson to keep these private to source3 and source4 and more, and doing so creates problems for the top level build. Andrew Bartlett
* s4-auth: rename 'auth' subsystem to 'auth4'Andrew Tridgell2011-02-1810-34/+34
| | | | | | | | this prevents conflicts with the s3 auth modules. The auth modules in samba3 may appear in production smb.conf files, so it is preferable to rename the s4 modules for minimal disruption. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s3build: added NMBDSOCKETDIR to dynconfigAndrew Tridgell2011-02-183-1/+5
| | | | | | this is needed for the s3 top level build Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dsdb: operational module does not need auth any moreAndrew Tridgell2011-02-182-3/+1
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-smbtorture: add more complex spoolss_EnumPrinterDataEx test.Günther Deschner2011-02-171-0/+721
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Feb 17 16:46:28 CET 2011 on sn-devel-104
* s4:scripting/python/modules.c - remove a really unnecessary variableMatthias Dieter Wallnöfer2011-02-171-1/+0
| | | | | Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Feb 17 16:01:44 CET 2011 on sn-devel-104
* heimdal Pass F_CANON down to the hdb layer for servers in AS-REP as wellAndrew Bartlett2011-02-171-2/+1
| | | | | | | | | | | | | This fixes Win2003 domain logons against Samba4, which need a canonicalised reply, and helpfully do set that flag. Specifically, they need that realm in krbtgt/realm@realm that these both match exactly in the reply. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Feb 17 06:40:53 CET 2011 on sn-devel-104
* s4-build: added LOCALEDIR config optionAndrew Tridgell2011-02-172-1/+3
| | | | s3 needs dyn_LOCALEDIR
* s4-waf: move wbinfo buildrule to winbind.Günther Deschner2011-02-171-0/+4
| | | | | | Will be moved back later, once we have a more common samba-util.so Guenther
* s4-smbtorture: Fix for RPC-LSA-FOREST-TRUST.Sumit Bose2011-02-161-2/+5
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s4-smbtorture: Two fixes for forest trust test against samba.Sumit Bose2011-02-161-2/+6
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s4: Fix a typoVolker Lendecke2011-02-151-1/+1
|
* s4:torture/rpc/samr.c - fix up the "test_GroupList" suite regarding ↵Matthias Dieter Wallnöfer2011-02-151-2/+16
| | | | | | | | | QueryDisplayInfo This is needed to comply with the previous patch. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Tue Feb 15 17:40:22 CET 2011 on sn-devel-104
* s4:samr RPC server - QueryDisplayInfo returns always all domains users, ↵Matthias Dieter Wallnöfer2011-02-151-34/+40
| | | | | | | | | | | | | | | | aliases and groups That means when calling "QueryDisplayInfo" on the BUILTIN handle we still get all related domain objects - for example all domain (global + universal) groups. This is contrary to the "EnumDomain..." calls which do really only return the objects in the specified domain policy handle. This has been observed against Windows Server 2008 and confirmed by dochelp. In the same occasion I've converted from a "gendb*"-oriented search call to "dsdb_search". Patch-reviewed-by: Andrew Tridgell <tridge@samba.org>
* s4-ldb_modules/operational: Make use of dsdb_module_reference_dn() functionKamen Mazdrashki2011-02-151-17/+4
| | | | | | | it does exactly what we need here Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Tue Feb 15 16:55:32 CET 2011 on sn-devel-104
* s4:sam.py - add another "description" test caseMatthias Dieter Wallnöfer2011-02-151-0/+13
| | | | | | | Exactly for the syntax which is needed by Volker in s3's "pdb_ads". Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Tue Feb 15 16:10:15 CET 2011 on sn-devel-104
* s4:acl LDB module - interpret "userAccountControl" as "uint32_t"Matthias Dieter Wallnöfer2011-02-151-3/+3
| | | | | | | This is the same way as it is done in the samldb LDB module. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Tue Feb 15 12:08:26 CET 2011 on sn-devel-104
* s4: Don't grant level II oplock to a file with byte-range locks.Pavel Shilovsky2011-02-154-2/+52
| | | | | | | | | Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru> Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Tue Feb 15 11:09:17 CET 2011 on sn-devel-104
* s4:drsuapi/getncchanges: make sure we don't process filteres objects more ↵Stefan Metzmacher2011-02-151-3/+3
| | | | | | | | | than once metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Feb 15 09:46:55 CET 2011 on sn-devel-104
* Fix private libdir and codepages pathsSimo Sorce2011-02-151-1/+1
| | | | | | | | | | The private libraries need to be arch specific as well. With --enable-fhs the codepages should go in /usr/share/samba and not in /usr/lib{64}/samba as they are data files not libraries. Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Tue Feb 15 04:22:37 CET 2011 on sn-devel-104
* Increase minor version since a public header has changedSimo Sorce2011-02-142-1/+249
| | | | | | | | | | Samba4 now depends on a new macro defined in the public ldb_modules.h header: LDB_FLAG_INTERNAL_FORCE_SINGLE_VALUE_CHECK. Bump up the minor release of ldb accordingly. Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Mon Feb 14 19:39:31 CET 2011 on sn-devel-104