summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-03-14lib/util: cope with races between lstat and mkdir in directory_create_or_exist()Stefan Metzmacher1-2/+8
metze
2012-03-14lib/util: use a helper variable in directory_create_or_exist()Stefan Metzmacher1-2/+5
metze
2012-03-14lib/util: do an early return on error directory_create_or_exist()Stefan Metzmacher1-10/+10
metze
2012-03-14lib/util: remove unneeded else branch in directory_create_or_exist()Stefan Metzmacher1-21/+24
metze
2012-03-14lib/util: don't start DEBUG output with 'error 'Stefan Metzmacher1-1/+1
This confused the subunit code. metze
2012-03-14s4-dsdb: Fix the case for attribute name msDS-hasMasterNCsAmitay Isaacs2-3/+3
Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Wed Mar 14 11:59:02 CET 2012 on sn-devel-104
2012-03-14lib/tdb: remove unnecessary XOPEN and FILE_OFFSET_BITS defines in test/Rusty Russell17-20/+0
These were relics: they don't need to be defined here as long as we are careful to include the replace headers before any standard headers (we are). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User: Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date: Wed Mar 14 10:12:26 CET 2012 on sn-devel-104
2012-03-14lib/tdb2: remove unneccessary _FILE_OFFSET_BITS define in test/.Rusty Russell1-2/+0
This was a relic from testing; it can interfere with compile. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2012-03-14autoconf: make autoconf build work on OS X 10.6Matthieu Patou1-2/+2
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Wed Mar 14 08:31:19 CET 2012 on sn-devel-104
2012-03-14lib/crypto: Detect CommonCrypto and use it if availableMatthieu Patou5-2/+23
CommonCrypto/CommonDigest is available on Mac and there is function in the libc for MD5 calculation. MD5Final is a C define of CC_MD5_Final. Under some circumstance we have the symbol defined twice in samba binaries on Snow Leopard at least. By detecting CommonCrypto/CommonDigest we end up always using the system version if available.
2012-03-14lib/tdb2: make summary handle capabilities properly.Rusty Russell1-31/+13
Another PPC issue (endian?) revealed that the summary code did not handle capabilities correctly: in fact, it went into an endless loop. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User: Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date: Wed Mar 14 06:51:43 CET 2012 on sn-devel-104
2012-03-14lib/tdb2: fix error string formatting.Rusty Russell3-5/+7
This caused a crash on PPC64 when we failed the mmap (found by failtest, reported by Amitay) Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2012-03-14lib/tdb2: Add gcc-style format attribute to tdb_logerr.Rusty Russell1-4/+5
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2012-03-14Fix bug #8811 - sd_has_inheritable_components segfaults on an SD that ↵Jeremy Allison1-0/+4
se_access_check accepts. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Mar 14 05:08:03 CET 2012 on sn-devel-104
2012-03-14Fix bug #8795 - Samba does not handle the Owner Rights permissions at allRichard Sharpe3-6/+49
Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Mar 14 02:26:34 CET 2012 on sn-devel-104
2012-03-13Second part of fix for bug #7933 - samba fails to honor SEC_STD_WRITE_OWNER ↵Jeremy Allison1-4/+6
bit with the acl_xattr module. Error found by Andrew Bartlett <abartlet@samba.org> and Ricky Nance <ricky.nance@weaubleau.k12.mo.us>. Don't use a pointer when you really mean a bool flag. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Mar 13 21:56:15 CET 2012 on sn-devel-104
2012-03-13Fix bug #8807 - dcerpc_lsa_lookup_sids_noalloc() crashes when groups has ↵Christian Ambach1-3/+7
more than 1000 groups Use correct talloc heirarchy. Signed-off-by: Jeremy Allison <jra@samba.org>
2012-03-13s4-python: Add missing python source file encoding.Andreas Schneider1-0/+2
See http://www.python.org/dev/peps/pep-0263/ Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Tue Mar 13 19:31:09 CET 2012 on sn-devel-104
2012-03-13s4-python: Remove env from non-executable webserver script.Andreas Schneider1-2/+1
2012-03-13s4-python: Remove env from non-executable samba_tool scripts.Andreas Schneider2-4/+0
2012-03-13s4-python: Remove env from non-executable dcerpc scripts.Andreas Schneider11-21/+4
2012-03-13s4-python: Remove execute flag from non-executable rpc_talloc script.Andreas Schneider1-0/+0
2012-03-13s4-python: Remove env from non-executable blackbox test scripts.Andreas Schneider2-3/+0
2012-03-13s4-python: Remove execute flag from ndrdump blackbox script.Andreas Schneider1-0/+0
2012-03-13s4-python: Remove env from non-executable test scripts.Andreas Schneider28-57/+0
2012-03-13s4-python: Remove env from non-executable netcmd scripts.Andreas Schneider21-44/+0
2012-03-13s4-python: Remove execute flag from netcmd scripts.Andreas Schneider2-0/+0
2012-03-13s4-python: Remove env from non-executable samba scripts.Andreas Schneider16-33/+0
2012-03-13s4-python: Remove execute flag of upgradehelpers.py.Andreas Schneider1-0/+0
2012-03-13s3-spoolss: Consistently fail OpenPrinterEx with "" printernameAndrew Bartlett1-0/+4
samba3.rpc.spoolss.printserver has become a flakey test recently, and this papers over the real problem. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Mar 13 17:51:00 CET 2012 on sn-devel-104
2012-03-13nbench: Fix typo.Jelmer Vernooij1-1/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Mar 13 14:53:07 CET 2012 on sn-devel-104
2012-03-13samba.8: Fix typo: deamon -> daemon.Jelmer Vernooij1-1/+1
2012-03-13samba_dnsupdate: Mention contents of invalid line when encountering parsing ↵Jelmer Vernooij1-2/+5
error. Bug: https://bugzilla.samba.org/show_bug.cgi?id=8809
2012-03-13samba_dnsupdate: Raise proper exception when getting unexpected DNS reply.Jelmer Vernooij1-2/+1
2012-03-13samba_dnsupdate: Use docstrings, which show up nicely in API docs.Jelmer Vernooij1-21/+17
2012-03-13s3-rpc: Decrypt with the proper session key in CreateTrustedDomainEx2.Alexander Bokovoy5-79/+120
On LSA and SAMR pipes session_key is truncated to 16 byte when doing encryption/decryption. However, this was not done for trusted domain-related modifying operations. As result, Samba 4 client libraries do not work against Samba 3 while working against Windows 2008 r2. Solved this by introducing "session_extract_session_key()" function that allows to specify intent of use of the key. Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Tue Mar 13 12:23:44 CET 2012 on sn-devel-104
2012-03-13selftest: samba3.smbtorture_s3.LOCAL-TALLOC-DICT works nowStefan Metzmacher1-1/+0
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Mar 13 10:38:20 CET 2012 on sn-devel-104
2012-03-13s3:torture: fix segfault in LOCAL-TALLOC-DICTStefan Metzmacher1-1/+3
talloc_dict_set() expects a pointer to an talloc'ed pointer. metze
2012-03-13s3:torture: talloc_dict_traverse() returns the number of entriesStefan Metzmacher1-2/+7
metze
2012-03-12selftest.run: Use subunit version of iso8601.Jelmer Vernooij1-2/+2
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Mar 12 01:36:25 CET 2012 on sn-devel-104
2012-03-11selftest.py: Remove some unnecessary checks.Jelmer Vernooij1-6/+1
2012-03-11selftest.py: Move some infrastructure for running commands to selftest.run, ↵Jelmer Vernooij3-37/+162
with tests.
2012-03-11upgradedns: Remove unused import.Jelmer Vernooij1-1/+0
2012-03-11samba-tool: Write diagnostics to stderr rather than stdout.Jelmer Vernooij1-1/+1
2012-03-11s4:upgradeprovision - fix some output messagesMatthias Dieter Wallnöfer1-3/+3
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Mar 11 21:54:54 CET 2012 on sn-devel-104
2012-03-11s3: Improve statvfs supportBrad Smith2-9/+14
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Sun Mar 11 14:18:04 CET 2012 on sn-devel-104
2012-03-11waf: Do not use standards.h on darwinVolker Lendecke1-1/+6
We get a nasty warning every time we include that
2012-03-11s4 dns: Test deleting records and fix a small buKai Blin2-0/+43
Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Sun Mar 11 02:27:45 CET 2012 on sn-devel-104
2012-03-11s4 dns: Be less chatty during testsKai Blin1-4/+6
2012-03-11s4 dns: Clean up tests a bitKai Blin1-2/+1