summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2011-10-13libcli/auth: Provide a struct loadparm_context to schannel callsAndrew Bartlett3-9/+64
This will allow us to pass this down to the tdb_wrap layer. Andrew Bartlett
2011-10-13lib/param Add 'use mmap' parameter to control tdb use of mmapAndrew Bartlett1-0/+3
2011-10-13build: use lib/param loadparm code in source3 to get at lpcfg_ functionsAndrew Bartlett1-1/+5
2011-10-13Another part of the fix for Bug 8473 - smb2_find uses a hard coded max reply ↵Jeremy Allison1-3/+3
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
2011-10-13s3:smb2_server: get/set info are limited by max_trans size (bug #8473)Stefan Metzmacher2-0/+11
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Oct 13 03:32:02 CEST 2011 on sn-devel-104
2011-10-13s3:smb2_server: reject writes larger then the negotiated max_write size (bug ↵Stefan Metzmacher1-2/+0
#8473) metze
2011-10-13s3:smb2_server: remember the max_{trans,read,write} sizes we negotiated (bug ↵Stefan Metzmacher6-8/+12
#8473) We should enforce the negotiated max sizes instead of the lp_smb2_max_*() sizes. metze
2011-10-12s3:smbcacls: fix violation of coding conventionsGregor Beck1-1/+2
Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-12s3:net: avoid unnecessary initialization of the registry.Gregor Beck1-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>
2011-10-12s3:net: add command registry checkGregor Beck7-1/+1433
Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-12s3:net: factor out interact_edit()Gregor Beck4-94/+165
Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-12s3:registry add function srprs_hive()Gregor Beck3-38/+89
Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-12s3:utils change data_blob_dup_talloc() to take a DATA_BLOB by valueGregor Beck2-2/+2
Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-12s3:smbcontrol: let smbd pass the idmap msg to its children for convenienceGregor Beck5-16/+60
Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-12s3: factor out messaging_send_to_children()Gregor Beck3-8/+20
Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-12s3: fix id_cache_kill to delete the the id-mappig from cachesGregor Beck3-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>
2011-10-12s3:smbcacls: make get_domain_sid() staticMichael Adam1-1/+1
2011-10-12s3:dbwrap_ctdb: improve the check for skipping the __db_sequence_number__ ↵Michael Adam1-2/+1
record in traverse It did not compare the last charcter (usually '\0')
2011-10-12s3:dbwrap_ctdb: fix check for skipping the __db_sequence_number__ in traverseMichael Adam1-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...
2011-10-12Fix bug #8515 - Empty CIFS share can be blocked for other clients by ↵Volodymyr Khomenko1-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
2011-10-12Fix bug #8521 - winbindd cache timeout expiry test was reversedJeremy Allison1-1/+1
Found and fix reported by Micha Lenk <micha@lenk.info>. Thanks !
2011-10-12s3-group-mapping: Remove fstrings from GROUP_MAP.Simo Sorce22-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
2011-10-12s3-dbwrap_ctdb: fix the build.Günther Deschner1-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
2011-10-12s3-groupdb: split out groupdb/mapping_tdb.h.Günther Deschner4-4/+32
Guenther
2011-10-12s3 waf: Use upper case uselib_store parameter, otherwise the following ↵Kai Blin1-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
2011-10-12s3:dbwrap: remove m_all marshall buffer from ctdb transaction.Gregor Beck1-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
2011-10-12s3:dbwrap: traverse records created within this transaction.Gregor Beck1-1/+39
Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-12s3:registry: improve regdb_create_subkey_internal() to always complete ↵Michael Adam1-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>
2011-10-12s3:smbcacls fix leaking talloc stackframce on tcon failureGregor Beck1-2/+4
Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-12s3:smbcacls fix possible SEGFAULTGregor Beck1-10/+14
sddl_encode returns NULL on failure Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-12s3:smbcacls add option domain-sidGregor Beck1-5/+16
Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-12s3:smbcacls get_domain_sid for sddl parsing/formating from lsarpcGregor Beck1-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>
2011-10-12s3:smbcacls pretty print acl control fieldGregor Beck1-1/+43
Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-11s3-waf: make sure we build example vfs modules with --enable-developer.Günther Deschner2-0/+2
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Oct 11 21:22:55 CEST 2011 on sn-devel-104
2011-10-11s3-waf: fix configure check for HAVE_LINUX_READAHEAD.Günther Deschner1-5/+2
Guenther
2011-10-11s3-waf: fix configure check for HAVE_LINUX_FALLOCATE64.Günther Deschner1-10/+2
Guenther
2011-10-11s3-waf: fix configure check for HAVE_LINUX_FALLOCATE.Günther Deschner1-10/+2
Guenther
2011-10-11s3-waf: fix configure check for HAVE_POSIX_FADVISE.Günther Deschner1-5/+2
Guenther
2011-10-11s3:dbwrap: change dbwrap_store_uint32() to NTSTATUS return typeMichael Adam5-14/+18
for consistency and better error propagation Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue Oct 11 15:51:00 CEST 2011 on sn-devel-104
2011-10-11s3:dbwrap: change dbwrap_store_int32() to NTSTATUS return typeMichael Adam6-31/+53
for consistency and better error propagation
2011-10-11s3:dbwrap: change dbwrap_fetch_uint32() to NTSTATUS return type (instead of ↵Michael Adam10-48/+65
bool) for consistency and better error propagation
2011-10-11s3:dbwrap: convert dbwrap_fetch_int32() to NTSTATUS return codeMichael Adam8-31/+88
Return the int32 value retrieved from the db by reference. Before this, return value "-1" was used as a error indication, but it could also be a valid value from the database.
2011-10-11s3:idmap_tdb2: fix hwm-handling to use uint32 consistentlyMichael Adam1-10/+12
The initialization code user int32, later writes used uint32...
2011-10-11s3:idmap_tdb: fix hwm-handling to use uint32 consistentlyMichael Adam1-8/+10
The initialization code user int32, later writes used uint32...
2011-10-11s3:passdb:account_pol: use dbwrap_fetch_uint32, not dbwrap_fetch_int32 for ↵Michael Adam1-3/+12
the DB version This is also stored as uint32_t.
2011-10-11s3:idmap_autorid: make a debug message more preciseMichael Adam1-1/+1
2011-10-11s3:idmap_autorid: untangle function from check and log status in ↵Michael Adam1-6/+7
idmap_autorid_db_init()
2011-10-11s3:dbwrap: move definitions of db_record and db_contect structs to ↵Michael Adam5-35/+40
dbwrap_private.h The API and callers now only need the forward declarations.
2011-10-11s3:torture: convert torture.c to only use dbwrap wrapper functionsMichael Adam1-17/+26
Avoid direct use of the db_record and db_context structs.
2011-10-11s3:locking: convert posix.c to use dbwrap wrapper functions onlyMichael Adam1-29/+40
Avoid direct use of the db_record and db_context structs.