summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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:doc manpage for "net registry check"Gregor Beck1-0/+73
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 Beck6-8/+8
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-12samba.upgrade: Use list comprehension.Jelmer Vernooij1-4/+4
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Oct 12 22:44:40 CEST 2011 on sn-devel-104
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-12selftest: Fix plugin_s4_dc configuration.Andreas Schneider2-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
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-12Add new contributing FAQ announcing acceptance of corporate (C).Jeremy Allison1-0/+120
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Oct 12 03:46:41 CEST 2011 on sn-devel-104
2011-10-12samba.getopt: Allow --kerberos=auto, and fix exception name if an unknownJelmer Vernooij1-1/+4
value is specified. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Oct 12 02:12:21 CEST 2011 on sn-devel-104
2011-10-11s4/param: Expose lpcfg_smb_ports and lpcfg_socket_options, which are both ↵Jelmer Vernooij1-0/+1
required by winexe.
2011-10-11param: Expose lpcfg_smb_ports, required by winexe.Jelmer Vernooij1-0/+1
2011-10-11s3-waf: make sure we build example vfs modules with --enable-developer.Günther Deschner3-0/+27
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-11Fix the VFS for fsctl.Jeremy Allison2-0/+39
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Oct 11 19:49:22 CEST 2011 on sn-devel-104
2011-10-11lib/param: fix typo _SAMBA_BUILD => _SAMBA_BUILD_ causing segfaultsStefan Metzmacher1-1/+1
If lpcfg_dns_update_command() returns NULL 'samba' segfaults on startup. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Oct 11 17:25:19 CEST 2011 on sn-devel-104
2011-10-11script/autobuild.py: split 'samba3' 'make -j 4 everything' into multiple stepsStefan Metzmacher1-1/+5
Calling 'waf configure' while compiling .c files makes it very hard to find compile errors. We do 'make -j 4 bin/smbtorture4' before 'make -j 4 everything'. metze
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.