summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
* s4:selftest: use correct name for the test "ECHO-UDP" => "echo.udp"Stefan Metzmacher2010-12-111-1/+1
| | | | | | | | I wonder how commit 35fbc7bbda5851f7172538f79fc79be201f1d521 (s4-smbtorture: Make test names lowercase and dot-separated) ever passed make test. metze
* s4-smbtorture: Make test names lowercase and dot-separated.Jelmer Vernooij2010-12-11117-672/+649
| | | | | | | | This is consistent with the test names used by selftest, should make the names less confusing and easier to integrate with other tools. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 11 04:16:13 CET 2010 on sn-devel-104
* smbtorture: correct error handling in BASE-OPEN.James Peach2010-12-111-71/+104
| | | | | | | | | | | There are a number of cases in BASE-OPEN where an initial failure cascades into multiple failures due to lack of cleanup between test phases. Fix all these so that they close open file handles correctly. Replace torture_comment with torture_result where appropriate so that the results output contains a useful diagnostic. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Dec 11 03:19:39 CET 2010 on sn-devel-104
* heimdal: unset SLIST_ENTRY only if we are with windowsMatthieu Patou2010-12-111-1/+3
| | | | | | | | | | | | | This is needed because otherwise on some OS like netbsd,openbsd,MacOSX. The preprossessing of ./heimdal/lib/gssapi/mech/cred.h on this plateform is broken because mechqueue.h's definition won't be used as SLIST_HEAD is already defined. The definition occurs when net/if.h is included as it includes sys/queue.h Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sat Dec 11 00:34:51 CET 2010 on sn-devel-104
* build: add a function to test if -lc is neededMatthieu Patou2010-12-101-0/+2
| | | | | This is needed on openbsd as some linking flags makes mandatory to specify the libc for the linking
* s4-tests: Modified sec_descriptor.py to use the sd_utils helpers.Nadezhda Ivanova2010-12-101-208/+171
| | | | | Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Fri Dec 10 11:03:28 CET 2010 on sn-devel-104
* s4-tests: Modified acl.py to use the sd_utils helpers.Nadezhda Ivanova2010-12-101-127/+86
|
* s4-tests: Moved some commonly redefined security descriptor methods to a ↵Nadezhda Ivanova2010-12-101-0/+79
| | | | | | utils class These methods are used in more than one testsuite now so they are now in a utility class instead of being defined everywhere.
* subunitrun: Use unittest.TestProgram if subunit.TestProgram is notJelmer Vernooij2010-12-102-27/+12
| | | | | | | available. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Dec 10 03:49:03 CET 2010 on sn-devel-104
* s4-python: Add convenience function for forcibly importing bundledJelmer Vernooij2010-12-102-4/+17
| | | | package.
* subunitrun: Extend hack to cope with older system subunit run installs.Jelmer Vernooij2010-12-101-0/+2
|
* subunitrun: Remove global subunit module when reimporting from aJelmer Vernooij2010-12-101-1/+6
| | | | different location.
* s4-dist: Remove no longer existing files from blacklist (fixes 'makeJelmer Vernooij2010-12-101-2/+1
| | | | dist' inclusion of configure)
* s4-python: Fix use of bundled modules.Jelmer Vernooij2010-12-101-1/+1
|
* s4-python: Split up ensure_external_module.Jelmer Vernooij2010-12-102-10/+23
|
* selftest: Make sure system subunit.run has TestProgram.Jelmer Vernooij2010-12-101-1/+1
|
* smbtorture: Rename --list to --list-suites, add stub --list.Jelmer Vernooij2010-12-104-13/+14
|
* s4-selftest: Add convenience function for running testsuites usingJelmer Vernooij2010-12-101-9/+17
| | | | subunitrun.
* selftest: Allow discovering tests in pure python testsuites.Jelmer Vernooij2010-12-101-2/+2
|
* subunitrun: Support --list.Jelmer Vernooij2010-12-101-3/+8
|
* selftest: add --list option.Jelmer Vernooij2010-12-101-1/+5
|
* build: introduce SAMBA_CHECK_PYTHON_HEADERSMatthieu Patou2010-12-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | This function is a wrapper around waf's check_python_header. It avoids searching more than once for the headers bringing a small speed improvement and a better lisibility of the logs. But it's mainly to avoid a nasty bug when python libraries are in path pointed by python_LIBPL (ie. /usr/local/lib/python2.6/config/) instead of python_LIBDIR (ie. /usr/local/lib). On the first call waf will correctly find that in order to link with python libs it needs to add -L$python_LIBPL. But on the next calls of check_python_headers, waf will use both the current library path value (ie. -L/usr/local/lib/python2.6/config) and -L$python_LIBDIR (ie. /usr/local/lib/) which will make him beleive that python libraries are in $python_LIBDIR which at the end will make the final link test fails in check_python_headers as it will not use the good directory. So by avoiding calling check_python_headers more than once we avoid making waf fooling itself.
* s4 libcli: Add libcli_echo lib and torture testKai Blin2010-12-092-0/+3
| | | | | Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Thu Dec 9 23:57:03 CET 2010 on sn-devel-104
* s4: Implement UDP echo server exampleKai Blin2010-12-094-0/+388
| | | | | This is a simple UDP-based echo server. It is mainly intended as an example on how to do server service tasks in s4.
* s4:pyrpc_util: s/typename/type_name to avoid c++ warningsStefan Metzmacher2010-12-092-6/+6
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Dec 9 17:55:57 CET 2010 on sn-devel-104
* waf: remove the restriction that private libraries must not have a vnumAndrew Tridgell2010-12-091-4/+2
| | | | | | | | we need the vnum for ABI checking for public libraries built as private libraries when bundled Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Dec 9 12:47:41 CET 2010 on sn-devel-104
* s4-spnego Match Windows 2008, and no longer supply a name in the CIFS NegprotAndrew Bartlett2010-12-091-10/+1
| | | | | | | Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Dec 9 08:50:28 CET 2010 on sn-devel-104
* s4-lsa Implement kerberos ticket life policyAndrew Bartlett2010-12-097-10/+113
| | | | | | | | We now no longer print tickets with a potentially infinite life, and we report the same life over LSA as we use in the KDC. We should get this from group policy, but for now it's parametric smb.conf options. Andrew Bartlett
* s4-tests Workaround new default of 'client ntlmv2 auth = yes' in testsAndrew Bartlett2010-12-092-3/+3
| | | | | | The new default breaks some tests that were assuming LM or NTLM auth Andrew Bartlett
* s4-client Use NTLMv2 by default in the Samba4 client.Andrew Bartlett2010-12-091-0/+1
|
* waf-abi: auto-generate per-symbol versions from ABI filesAndrew Tridgell2010-12-091-2/+1
| | | | | | | | | | | | | This changes our version-script generation to use the ABI files that are saved in git with each version number change of our public libraries. We use these ABI files to generate a linker version script that gives the exact version number that each symbol was introduced. This provides us with automatic fine grained symbol versioning. Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org> Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* build: do not duplicate the checks for python in samba4Matthieu Patou2010-12-092-14/+3
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Thu Dec 9 00:47:23 CET 2010 on sn-devel-104
* s4:ldb: add ABI/ldb-0.9.20.sigsStefan Metzmacher2010-12-081-0/+245
| | | | metze
* s4:ldb: build libldb and pyldb-util as private libraries when building for ↵Stefan Metzmacher2010-12-081-3/+12
| | | | | | | | samba4 This matches the behavior of the talloc and tdb builds. metze
* s4:python: add PyString_FromStringOrNULL() to pyrpc_utilStefan Metzmacher2010-12-082-0/+10
| | | | metze
* smbtorture: use xxxULL notation instead of INT64_C(xxx)Matthieu Patou2010-12-081-2/+2
| | | | | | | | | The first one is portable the second not always Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Wed Dec 8 15:48:10 CET 2010 on sn-devel-104
* s4-acl: Replaced talloc_reference with talloc_steal, as aclread is the only ↵Nadezhda Ivanova2010-12-081-6/+3
| | | | | | | | | | | one using this result message. No need to reference as no one further up the stack uses the result, it is the result of a secondary request sent by aclread. As a result from code review by Kamen Mazdrashki and Anatoliy Atanasov Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Wed Dec 8 15:01:51 CET 2010 on sn-devel-104
* ldb: bump version number after introduction of new constant.Jelmer Vernooij2010-12-081-1/+1
|
* s4-acl: Fixed incorrect value of LDB_FLAG_INTERNAL_INACCESSIBLE_ATTRIBUTENadezhda Ivanova2010-12-081-1/+1
| | | | | Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Wed Dec 8 13:31:48 CET 2010 on sn-devel-104
* s4-pkgconfig: add @LIB_RPATH@ to our link flagsAndrew Tridgell2010-12-0810-10/+10
| | | | | | | | this is only set when rpath is used on install. It ensures that applications that link against Samba libraries get the rpath right Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Dec 8 12:46:00 CET 2010 on sn-devel-104
* s4-ldb: added @LIB_RPATH@ to the ldb pc fileAndrew Tridgell2010-12-081-1/+1
|
* s4-acl: Changed the mechanism of attribute removal to speed it up.Nadezhda Ivanova2010-12-081-41/+88
| | | | | | | | | Instead of using ldb_msg_remove_attr, now we are flagging the attributes to be removed, and allocating the new elements array to be returned at once. This seems to decrease the overhead by 50 percent. Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Wed Dec 8 12:00:27 CET 2010 on sn-devel-104
* s4-acl: Added a flag to mark an element as failing an access check.Nadezhda Ivanova2010-12-081-0/+3
|
* s4-param Allow +foo syntax in smb.conf list parsingAndrew Bartlett2010-12-084-13/+54
| | | | | | | | | | The idea here is to allow an smb.conf file to work from the defaults, rather than override them. For example, 'server services = +openchange'. Pair-Programmed-With: Andrew Tridgell <tridge@samba.org> Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Dec 8 09:39:06 CET 2010 on sn-devel-104
* s4-spnego use "not_defined_in_RFC4178@please_ignore" if no principal specifiedAndrew Bartlett2010-12-081-0/+2
| | | | | | | We need to make this the default, but for now just send it if we have not been given a target principal. Andrew Bartlett
* libcli/auth bring ADS_IGNORE_PRINCIPAL in commonAndrew Bartlett2010-12-081-1/+2
|
* s4-heimdal: enable symbol versioning in heimdalAndrew Tridgell2010-12-081-20/+38
| | | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
* s4-dns: dlz_bind9 doesn't need to link to gensec any moreAndrew Tridgell2010-12-081-1/+1
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-waf: get the version number right on private librariesAndrew Tridgell2010-12-082-17/+8
| | | | | | use the first digit of the version number for the library version Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
* s4-dns: use ldb hooks for samba extensions in dlz_bind9Andrew Tridgell2010-12-081-49/+35
| | | | | | | this avoids linking dlz_bind9 directly to heimdal, which allows a RTLD_DEEPBIND in ldb module loading to find the right kerberos version Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>