summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* lib/util: Add back control of mmap and hash size in tdb for top level buildAndrew Bartlett2011-10-1315-32/+88
| | | | | | | | This passes down a struct loadparm_context to allow these parameters to be checked. This may be s3 or s4 context, allowing the #if _SAMBA_BUILD_ macro to go away safely. Andrew Bartlett
* s4-messaging: Pass the loadparm context, not just the messaging pathAndrew Bartlett2011-10-1314-33/+36
| | | | | | This will allow the TDB layer to get at the lp_ctx for tdb options. Andrew Bartlett
* libcli/auth: Provide a struct loadparm_context to schannel callsAndrew Bartlett2011-10-1310-27/+83
| | | | | | This will allow us to pass this down to the tdb_wrap layer. Andrew Bartlett
* lib/param Print error when mkdir of lock path failsAndrew Bartlett2011-10-131-1/+3
| | | | | | This matches the s3 code for lock_path(). Andrew Bartlett
* lib/param Add 'use mmap' parameter to control tdb use of mmapAndrew Bartlett2011-10-132-0/+15
|
* build: use lib/param loadparm code in source3 to get at lpcfg_ functionsAndrew Bartlett2011-10-131-1/+5
|
* Another part of the fix for Bug 8473 - smb2_find uses a hard coded max reply ↵Jeremy Allison2011-10-135-10/+10
| | | | | | | | | | | size of 0x10000 instead of smb2_max_trans. Change the defaults and the documentation to reflect the 64k limit. Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Oct 13 12:22:23 CEST 2011 on sn-devel-104
* config.h: define HAVE_LIBREPLACERusty Russell2011-10-132-0/+3
| | | | | | | | | tdb2 wants to know if it should use replace.h. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User: Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date: Thu Oct 13 08:58:35 CEST 2011 on sn-devel-104
* samba-tool: Use self.outf in a few more places.Jelmer Vernooij2011-10-1313-88/+104
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Oct 13 05:06:52 CEST 2011 on sn-devel-104
* samba-tool delegation: Use self.outf, simplify some code.Jelmer Vernooij2011-10-131-14/+8
|
* samba.getopt: Refactor parsing of --kerberos argument into separate function.Jelmer Vernooij2011-10-131-13/+16
|
* s3:smb2_server: get/set info are limited by max_trans size (bug #8473)Stefan Metzmacher2011-10-132-0/+11
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Oct 13 03:32:02 CEST 2011 on sn-devel-104
* s3:smb2_server: reject writes larger then the negotiated max_write size (bug ↵Stefan Metzmacher2011-10-131-2/+0
| | | | | | #8473) metze
* s3:smb2_server: remember the max_{trans,read,write} sizes we negotiated (bug ↵Stefan Metzmacher2011-10-136-8/+12
| | | | | | | | | #8473) We should enforce the negotiated max sizes instead of the lp_smb2_max_*() sizes. metze
* s4:torture/smb2: we only support 64KB reads/writes for nowStefan Metzmacher2011-10-132-8/+8
| | | | | | We don't have multi-credit support yet. metze
* samba-tools/testparm: Add really basic unit test, demonstrating how to write ↵Jelmer Vernooij2011-10-131-0/+29
| | | | | | | unit tests for samba-tool in Python. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Oct 13 01:56:20 CEST 2011 on sn-devel-104
* netcmd: Add Command.get_logger() method.Jelmer Vernooij2011-10-133-5/+8
|
* netcmd: Add errf stream to command instances.Jelmer Vernooij2011-10-132-8/+9
|
* samba-tool/testparm: Fix traceback when checking client name/ip against ↵Jelmer Vernooij2011-10-131-2/+2
| | | | hosts allowed.
* samba-tool/testparm: Fix handling of command-line options.Jelmer Vernooij2011-10-131-26/+29
|
* selftest: mark samba4.drs.delete_object.python knownfailMichael Adam2011-10-131-0/+1
| | | | | | | this currently prevents autobuild from succeeding intermittently Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Thu Oct 13 00:22:18 CEST 2011 on sn-devel-104
* s3:smbcacls: fix violation of coding conventionsGregor Beck2011-10-121-1/+2
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3:net: avoid unnecessary initialization of the registry.Gregor Beck2011-10-121-2/+7
| | | | | | | This allows for using help without having access to the registry and prevents update code to run if only a readonly check is to be performed. Signed-off-by: Michael Adam <obnox@samba.org>
* s3:doc manpage for "net registry check"Gregor Beck2011-10-121-0/+73
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3:net: add command registry checkGregor Beck2011-10-127-1/+1433
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3:net: factor out interact_edit()Gregor Beck2011-10-124-94/+165
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3:registry add function srprs_hive()Gregor Beck2011-10-123-38/+89
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3:utils change data_blob_dup_talloc() to take a DATA_BLOB by valueGregor Beck2011-10-126-8/+8
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3:smbcontrol: let smbd pass the idmap msg to its children for convenienceGregor Beck2011-10-125-16/+60
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3: factor out messaging_send_to_children()Gregor Beck2011-10-123-8/+20
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3: fix id_cache_kill to delete the the id-mappig from cachesGregor Beck2011-10-123-2/+5
| | | | | | | | The intendet and documented behavior of smbcontrol smbd idmap kill is to delete the mapping from caches and additionally kill the smbd if an affected id is in use. Signed-off-by: Michael Adam <obnox@samba.org>
* s3:smbcacls: make get_domain_sid() staticMichael Adam2011-10-121-1/+1
|
* s3:dbwrap_ctdb: improve the check for skipping the __db_sequence_number__ ↵Michael Adam2011-10-121-2/+1
| | | | | | record in traverse It did not compare the last charcter (usually '\0')
* s3:dbwrap_ctdb: fix check for skipping the __db_sequence_number__ in traverseMichael Adam2011-10-121-1/+1
| | | | | Brown paperbag. This omitted the "== 0" hand hence skipped all keys of the same length as __db_sequence_number__ but different from it...
* samba.upgrade: Use list comprehension.Jelmer Vernooij2011-10-121-4/+4
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Oct 12 22:44:40 CEST 2011 on sn-devel-104
* Fix bug #8515 - Empty CIFS share can be blocked for other clients by ↵Volodymyr Khomenko2011-10-121-0/+8
| | | | | | | | | deleting it via empty path (DELETE_PENDING until the last client) Disallow "." in can_set_delete_on_close(). Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Oct 12 21:07:27 CEST 2011 on sn-devel-104
* Fix bug #8521 - winbindd cache timeout expiry test was reversedJeremy Allison2011-10-121-1/+1
| | | | Found and fix reported by Micha Lenk <micha@lenk.info>. Thanks !
* s3-group-mapping: Remove fstrings from GROUP_MAP.Simo Sorce2011-10-1222-455/+935
| | | | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Oct 12 19:28:12 CEST 2011 on sn-devel-104
* s3-dbwrap_ctdb: fix the build.Günther Deschner2011-10-121-1/+4
| | | | | | | | | Michael, please check. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Oct 12 15:25:56 CEST 2011 on sn-devel-104
* s3-groupdb: split out groupdb/mapping_tdb.h.Günther Deschner2011-10-124-4/+32
| | | | Guenther
* selftest: Fix plugin_s4_dc configuration.Andreas Schneider2011-10-122-7/+26
| | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Oct 12 13:50:10 CEST 2011 on sn-devel-104
* s3 waf: Use upper case uselib_store parameter, otherwise the following ↵Kai Blin2011-10-121-2/+2
| | | | | | | checks won't find it Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Wed Oct 12 09:49:50 CEST 2011 on sn-devel-104
* s3:dbwrap: remove m_all marshall buffer from ctdb transaction.Gregor Beck2011-10-121-23/+1
| | | | | | | | | it was only used by ctdb_replay_transaction and was a actually write only Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Oct 12 05:20:36 CEST 2011 on sn-devel-104
* s3:dbwrap: traverse records created within this transaction.Gregor Beck2011-10-121-1/+39
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3:registry: improve regdb_create_subkey_internal() to always complete ↵Michael Adam2011-10-121-2/+12
| | | | | | | | | incomlete keys Originally, this function did not create the key's subkey list record if only the record was listed in the subkeylist of its parent key. Now this is fixed. Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
* s3:smbcacls fix leaking talloc stackframce on tcon failureGregor Beck2011-10-121-2/+4
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3:smbcacls fix possible SEGFAULTGregor Beck2011-10-121-10/+14
| | | | | | sddl_encode returns NULL on failure Signed-off-by: Michael Adam <obnox@samba.org>
* s3:smbcacls add option domain-sidGregor Beck2011-10-121-5/+16
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3:smbcacls get_domain_sid for sddl parsing/formating from lsarpcGregor Beck2011-10-121-2/+72
| | | | | | get_global_sid panics if we are not root and may give the wrong answer anyway. Signed-off-by: Michael Adam <obnox@samba.org>
* s3:smbcacls pretty print acl control fieldGregor Beck2011-10-121-1/+43
| | | | Signed-off-by: Michael Adam <obnox@samba.org>