kai/samba-autobuild/.git
8 years agoadd lib/param files to .gitignore
Andrew Bartlett [Thu, 13 Oct 2011 11:58:26 +0000 (22:58 +1100)]
add lib/param files to .gitignore

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Thu Oct 13 15:40:16 CEST 2011 on sn-devel-104

8 years agobuild: run perl generators at autogen.sh time
Andrew Bartlett [Thu, 13 Oct 2011 11:53:20 +0000 (22:53 +1100)]
build: run perl generators at autogen.sh time

8 years agobuild: clean new generated param headers
Andrew Bartlett [Thu, 13 Oct 2011 11:53:03 +0000 (22:53 +1100)]
build: clean new generated param headers

8 years agobuild: only regenerate param files when required
Andrew Bartlett [Thu, 13 Oct 2011 11:51:30 +0000 (22:51 +1100)]
build: only regenerate param files when required

8 years agolib/param reduce the cost of loadparm_init_s3()
Andrew Bartlett [Thu, 13 Oct 2011 09:16:28 +0000 (20:16 +1100)]
lib/param reduce the cost of loadparm_init_s3()

The parameter redirection covers most things now, so this should be safe.

Andrew Bartlett

8 years agolib/util: Add back control of mmap and hash size in tdb for top level build
Andrew Bartlett [Wed, 12 Oct 2011 12:01:08 +0000 (23:01 +1100)]
lib/util: Add back control of mmap and hash size in tdb for top level build

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

8 years agos4-messaging: Pass the loadparm context, not just the messaging path
Andrew Bartlett [Thu, 13 Oct 2011 09:01:56 +0000 (20:01 +1100)]
s4-messaging: Pass the loadparm context, not just the messaging path

This will allow the TDB layer to get at the lp_ctx for tdb options.

Andrew Bartlett

8 years agolibcli/auth: Provide a struct loadparm_context to schannel calls
Andrew Bartlett [Wed, 12 Oct 2011 11:55:34 +0000 (22:55 +1100)]
libcli/auth: Provide a struct loadparm_context to schannel calls

This will allow us to pass this down to the tdb_wrap layer.

Andrew Bartlett

8 years agolib/param Print error when mkdir of lock path fails
Andrew Bartlett [Wed, 12 Oct 2011 11:37:24 +0000 (22:37 +1100)]
lib/param Print error when mkdir of lock path fails

This matches the s3 code for lock_path().

Andrew Bartlett

8 years agolib/param Add 'use mmap' parameter to control tdb use of mmap
Andrew Bartlett [Wed, 12 Oct 2011 11:36:40 +0000 (22:36 +1100)]
lib/param Add 'use mmap' parameter to control tdb use of mmap

8 years agobuild: use lib/param loadparm code in source3 to get at lpcfg_ functions
Andrew Bartlett [Sat, 8 Oct 2011 01:18:09 +0000 (12:18 +1100)]
build: use lib/param loadparm code in source3 to get at lpcfg_ functions

8 years agoAnother part of the fix for Bug 8473 - smb2_find uses a hard coded max reply size...
Jeremy Allison [Wed, 12 Oct 2011 21:00:32 +0000 (14:00 -0700)]
Another part of the fix for Bug 8473 - smb2_find uses a hard coded max reply 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

8 years agoconfig.h: define HAVE_LIBREPLACE
Rusty Russell [Thu, 13 Oct 2011 03:07:52 +0000 (13:37 +1030)]
config.h: define HAVE_LIBREPLACE

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

8 years agosamba-tool: Use self.outf in a few more places.
Jelmer Vernooij [Wed, 12 Oct 2011 22:36:44 +0000 (00:36 +0200)]
samba-tool: Use self.outf in a few more places.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Thu Oct 13 05:06:52 CEST 2011 on sn-devel-104

8 years agosamba-tool delegation: Use self.outf, simplify some code.
Jelmer Vernooij [Wed, 12 Oct 2011 22:19:51 +0000 (00:19 +0200)]
samba-tool delegation: Use self.outf, simplify some code.

8 years agosamba.getopt: Refactor parsing of --kerberos argument into separate function.
Jelmer Vernooij [Wed, 12 Oct 2011 21:45:52 +0000 (23:45 +0200)]
samba.getopt: Refactor parsing of --kerberos argument into separate function.

8 years agos3:smb2_server: get/set info are limited by max_trans size (bug #8473)
Stefan Metzmacher [Wed, 12 Oct 2011 15:46:50 +0000 (17:46 +0200)]
s3:smb2_server: get/set info are limited by max_trans size (bug #8473)

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Oct 13 03:32:02 CEST 2011 on sn-devel-104

8 years agos3:smb2_server: reject writes larger then the negotiated max_write size (bug #8473)
Stefan Metzmacher [Wed, 12 Oct 2011 14:58:46 +0000 (16:58 +0200)]
s3:smb2_server: reject writes larger then the negotiated max_write size (bug #8473)

metze

8 years agos3:smb2_server: remember the max_{trans,read,write} sizes we negotiated (bug #8473)
Stefan Metzmacher [Fri, 23 Sep 2011 15:18:14 +0000 (17:18 +0200)]
s3:smb2_server: remember the max_{trans,read,write} sizes we negotiated (bug #8473)

We should enforce the negotiated max sizes instead of the
lp_smb2_max_*() sizes.

metze

8 years agos4:torture/smb2: we only support 64KB reads/writes for now
Stefan Metzmacher [Wed, 12 Oct 2011 16:34:26 +0000 (18:34 +0200)]
s4:torture/smb2: we only support 64KB reads/writes for now

We don't have multi-credit support yet.

metze

8 years agosamba-tools/testparm: Add really basic unit test, demonstrating how to write unit...
Jelmer Vernooij [Wed, 12 Oct 2011 21:27:57 +0000 (23:27 +0200)]
samba-tools/testparm: Add really basic unit test, demonstrating how to write 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

8 years agonetcmd: Add Command.get_logger() method.
Jelmer Vernooij [Wed, 12 Oct 2011 21:21:52 +0000 (23:21 +0200)]
netcmd: Add Command.get_logger() method.

8 years agonetcmd: Add errf stream to command instances.
Jelmer Vernooij [Wed, 12 Oct 2011 21:19:12 +0000 (23:19 +0200)]
netcmd: Add errf stream to command instances.

8 years agosamba-tool/testparm: Fix traceback when checking client name/ip against hosts allowed.
Jelmer Vernooij [Wed, 12 Oct 2011 21:11:14 +0000 (23:11 +0200)]
samba-tool/testparm: Fix traceback when checking client name/ip against hosts allowed.

8 years agosamba-tool/testparm: Fix handling of command-line options.
Jelmer Vernooij [Wed, 12 Oct 2011 21:10:14 +0000 (23:10 +0200)]
samba-tool/testparm: Fix handling of command-line options.

8 years agoselftest: mark samba4.drs.delete_object.python knownfail
Michael Adam [Wed, 12 Oct 2011 20:11:26 +0000 (22:11 +0200)]
selftest: mark samba4.drs.delete_object.python knownfail

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

8 years agos3:smbcacls: fix violation of coding conventions
Gregor Beck [Wed, 12 Oct 2011 12:34:45 +0000 (14:34 +0200)]
s3:smbcacls: fix violation of coding conventions

Signed-off-by: Michael Adam <obnox@samba.org>
8 years agos3:net: avoid unnecessary initialization of the registry.
Gregor Beck [Mon, 26 Sep 2011 11:42:15 +0000 (13:42 +0200)]
s3:net: avoid unnecessary initialization of the registry.

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>
8 years agos3:doc manpage for "net registry check"
Gregor Beck [Thu, 25 Aug 2011 14:26:25 +0000 (16:26 +0200)]
s3:doc manpage for "net registry check"

Signed-off-by: Michael Adam <obnox@samba.org>
8 years agos3:net: add command registry check
Gregor Beck [Thu, 30 Jun 2011 10:08:16 +0000 (12:08 +0200)]
s3:net: add command registry check

Signed-off-by: Michael Adam <obnox@samba.org>
8 years agos3:net: factor out interact_edit()
Gregor Beck [Thu, 18 Aug 2011 12:13:28 +0000 (14:13 +0200)]
s3:net: factor out interact_edit()

Signed-off-by: Michael Adam <obnox@samba.org>
8 years agos3:registry add function srprs_hive()
Gregor Beck [Tue, 12 Jul 2011 11:04:37 +0000 (13:04 +0200)]
s3:registry add function srprs_hive()

Signed-off-by: Michael Adam <obnox@samba.org>
8 years agos3:utils change data_blob_dup_talloc() to take a DATA_BLOB by value
Gregor Beck [Thu, 7 Jul 2011 12:50:47 +0000 (14:50 +0200)]
s3:utils change data_blob_dup_talloc() to take a DATA_BLOB by value

Signed-off-by: Michael Adam <obnox@samba.org>
8 years agos3:smbcontrol: let smbd pass the idmap msg to its children for convenience
Gregor Beck [Thu, 6 Oct 2011 13:26:32 +0000 (15:26 +0200)]
s3:smbcontrol: let smbd pass the idmap msg to its children for convenience

Signed-off-by: Michael Adam <obnox@samba.org>
8 years agos3: factor out messaging_send_to_children()
Gregor Beck [Thu, 6 Oct 2011 12:38:20 +0000 (14:38 +0200)]
s3: factor out messaging_send_to_children()

Signed-off-by: Michael Adam <obnox@samba.org>
8 years agos3: fix id_cache_kill to delete the the id-mappig from caches
Gregor Beck [Thu, 6 Oct 2011 11:49:02 +0000 (13:49 +0200)]
s3: fix id_cache_kill to delete the the id-mappig from caches

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>
8 years agos3:smbcacls: make get_domain_sid() static
Michael Adam [Wed, 12 Oct 2011 11:02:31 +0000 (13:02 +0200)]
s3:smbcacls: make get_domain_sid() static

8 years agos3:dbwrap_ctdb: improve the check for skipping the __db_sequence_number__ record...
Michael Adam [Wed, 12 Oct 2011 10:04:50 +0000 (12:04 +0200)]
s3:dbwrap_ctdb: improve the check for skipping the __db_sequence_number__ record in traverse

It did not compare the last charcter (usually '\0')

8 years agos3:dbwrap_ctdb: fix check for skipping the __db_sequence_number__ in traverse
Michael Adam [Wed, 12 Oct 2011 10:03:42 +0000 (12:03 +0200)]
s3:dbwrap_ctdb: fix check for skipping the __db_sequence_number__ in traverse

Brown paperbag. This omitted the "== 0" hand hence skipped all keys of the
same length as __db_sequence_number__ but different from it...

8 years agosamba.upgrade: Use list comprehension.
Jelmer Vernooij [Wed, 12 Oct 2011 18:12:26 +0000 (20:12 +0200)]
samba.upgrade: Use list comprehension.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Wed Oct 12 22:44:40 CEST 2011 on sn-devel-104

8 years agoFix bug #8515 - Empty CIFS share can be blocked for other clients by deleting it...
Volodymyr Khomenko [Wed, 12 Oct 2011 16:57:57 +0000 (09:57 -0700)]
Fix bug #8515 - Empty CIFS share can be blocked for other clients by 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

8 years agoFix bug #8521 - winbindd cache timeout expiry test was reversed
Jeremy Allison [Wed, 12 Oct 2011 16:43:18 +0000 (09:43 -0700)]
Fix bug #8521 - winbindd cache timeout expiry test was reversed

Found and fix reported by Micha Lenk <micha@lenk.info>. Thanks !

8 years agos3-group-mapping: Remove fstrings from GROUP_MAP.
Simo Sorce [Mon, 26 Sep 2011 21:55:47 +0000 (17:55 -0400)]
s3-group-mapping: Remove fstrings from GROUP_MAP.

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

8 years agos3-dbwrap_ctdb: fix the build.
Günther Deschner [Wed, 12 Oct 2011 09:48:55 +0000 (11:48 +0200)]
s3-dbwrap_ctdb: fix the build.

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

8 years agos3-groupdb: split out groupdb/mapping_tdb.h.
Günther Deschner [Wed, 12 Oct 2011 09:17:57 +0000 (11:17 +0200)]
s3-groupdb: split out groupdb/mapping_tdb.h.

Guenther

8 years agoselftest: Fix plugin_s4_dc configuration.
Andreas Schneider [Tue, 11 Oct 2011 14:41:24 +0000 (16:41 +0200)]
selftest: Fix plugin_s4_dc configuration.

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

8 years agos3 waf: Use upper case uselib_store parameter, otherwise the following checks won...
Kai Blin [Wed, 12 Oct 2011 06:17:02 +0000 (08:17 +0200)]
s3 waf: Use upper case uselib_store parameter, otherwise the following 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

8 years agos3:dbwrap: remove m_all marshall buffer from ctdb transaction.
Gregor Beck [Fri, 23 Sep 2011 09:58:35 +0000 (11:58 +0200)]
s3:dbwrap: remove m_all marshall buffer from ctdb transaction.

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

8 years agos3:dbwrap: traverse records created within this transaction.
Gregor Beck [Thu, 22 Sep 2011 11:58:24 +0000 (13:58 +0200)]
s3:dbwrap: traverse records created within this transaction.

Signed-off-by: Michael Adam <obnox@samba.org>
8 years agos3:registry: improve regdb_create_subkey_internal() to always complete incomlete...
Michael Adam [Fri, 30 Sep 2011 13:42:31 +0000 (15:42 +0200)]
s3:registry: improve regdb_create_subkey_internal() to always complete 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>

8 years agos3:smbcacls fix leaking talloc stackframce on tcon failure
Gregor Beck [Tue, 14 Jun 2011 11:19:59 +0000 (13:19 +0200)]
s3:smbcacls fix leaking talloc stackframce on tcon failure

Signed-off-by: Michael Adam <obnox@samba.org>
8 years agos3:smbcacls fix possible SEGFAULT
Gregor Beck [Tue, 14 Jun 2011 11:56:22 +0000 (13:56 +0200)]
s3:smbcacls fix possible SEGFAULT

sddl_encode returns NULL on failure

Signed-off-by: Michael Adam <obnox@samba.org>
8 years agos3:smbcacls add option domain-sid
Gregor Beck [Thu, 9 Jun 2011 13:29:32 +0000 (15:29 +0200)]
s3:smbcacls add option domain-sid

Signed-off-by: Michael Adam <obnox@samba.org>
8 years agos3:smbcacls get_domain_sid for sddl parsing/formating from lsarpc
Gregor Beck [Thu, 9 Jun 2011 12:32:27 +0000 (14:32 +0200)]
s3:smbcacls get_domain_sid for sddl parsing/formating from lsarpc

get_global_sid panics if we are not root and may give the wrong answer anyway.

Signed-off-by: Michael Adam <obnox@samba.org>
8 years agos3:smbcacls pretty print acl control field
Gregor Beck [Tue, 7 Jun 2011 08:54:16 +0000 (10:54 +0200)]
s3:smbcacls pretty print acl control field

Signed-off-by: Michael Adam <obnox@samba.org>
8 years agoAdd new contributing FAQ announcing acceptance of corporate (C).
Jeremy Allison [Wed, 12 Oct 2011 00:00:08 +0000 (17:00 -0700)]
Add new contributing FAQ announcing acceptance of corporate (C).

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Oct 12 03:46:41 CEST 2011 on sn-devel-104

8 years agosamba.getopt: Allow --kerberos=auto, and fix exception name if an unknown
Jelmer Vernooij [Tue, 11 Oct 2011 21:56:15 +0000 (23:56 +0200)]
samba.getopt: Allow --kerberos=auto, and fix exception name if an unknown
value is specified.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Wed Oct 12 02:12:21 CEST 2011 on sn-devel-104

8 years agos4/param: Expose lpcfg_smb_ports and lpcfg_socket_options, which are both required...
Jelmer Vernooij [Tue, 11 Oct 2011 21:53:59 +0000 (23:53 +0200)]
s4/param: Expose lpcfg_smb_ports and lpcfg_socket_options, which are both required by winexe.

8 years agoparam: Expose lpcfg_smb_ports, required by winexe.
Jelmer Vernooij [Tue, 11 Oct 2011 21:51:37 +0000 (23:51 +0200)]
param: Expose lpcfg_smb_ports, required by winexe.

8 years agos3-waf: make sure we build example vfs modules with --enable-developer.
Günther Deschner [Tue, 11 Oct 2011 17:20:05 +0000 (19:20 +0200)]
s3-waf: make sure we build example vfs modules with --enable-developer.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Oct 11 21:22:55 CEST 2011 on sn-devel-104

8 years agos3-waf: fix configure check for HAVE_LINUX_READAHEAD.
Günther Deschner [Tue, 11 Oct 2011 13:20:42 +0000 (15:20 +0200)]
s3-waf: fix configure check for HAVE_LINUX_READAHEAD.

Guenther

8 years agos3-waf: fix configure check for HAVE_LINUX_FALLOCATE64.
Günther Deschner [Tue, 11 Oct 2011 13:18:08 +0000 (15:18 +0200)]
s3-waf: fix configure check for HAVE_LINUX_FALLOCATE64.

Guenther

8 years agos3-waf: fix configure check for HAVE_LINUX_FALLOCATE.
Günther Deschner [Tue, 11 Oct 2011 13:17:28 +0000 (15:17 +0200)]
s3-waf: fix configure check for HAVE_LINUX_FALLOCATE.

Guenther

8 years agos3-waf: fix configure check for HAVE_POSIX_FADVISE.
Günther Deschner [Tue, 11 Oct 2011 13:03:01 +0000 (15:03 +0200)]
s3-waf: fix configure check for HAVE_POSIX_FADVISE.

Guenther

8 years agoFix the VFS for fsctl.
Jeremy Allison [Tue, 11 Oct 2011 16:18:46 +0000 (09:18 -0700)]
Fix the VFS for fsctl.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Tue Oct 11 19:49:22 CEST 2011 on sn-devel-104

8 years agolib/param: fix typo _SAMBA_BUILD => _SAMBA_BUILD_ causing segfaults
Stefan Metzmacher [Tue, 11 Oct 2011 13:38:43 +0000 (15:38 +0200)]
lib/param: fix typo _SAMBA_BUILD => _SAMBA_BUILD_ causing segfaults

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

8 years agoscript/autobuild.py: split 'samba3' 'make -j 4 everything' into multiple steps
Stefan Metzmacher [Tue, 11 Oct 2011 13:32:36 +0000 (15:32 +0200)]
script/autobuild.py: split 'samba3' 'make -j 4 everything' into multiple steps

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

8 years agos3:dbwrap: change dbwrap_store_uint32() to NTSTATUS return type
Michael Adam [Thu, 6 Oct 2011 19:29:04 +0000 (21:29 +0200)]
s3:dbwrap: change dbwrap_store_uint32() to NTSTATUS return type

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

8 years agos3:dbwrap: change dbwrap_store_int32() to NTSTATUS return type
Michael Adam [Thu, 6 Oct 2011 19:24:07 +0000 (21:24 +0200)]
s3:dbwrap: change dbwrap_store_int32() to NTSTATUS return type

for consistency and better error propagation

8 years agos3:dbwrap: change dbwrap_fetch_uint32() to NTSTATUS return type (instead of bool)
Michael Adam [Thu, 6 Oct 2011 19:07:27 +0000 (21:07 +0200)]
s3:dbwrap: change dbwrap_fetch_uint32() to NTSTATUS return type (instead of bool)

for consistency and better error propagation

8 years agos3:dbwrap: convert dbwrap_fetch_int32() to NTSTATUS return code
Michael Adam [Thu, 6 Oct 2011 18:34:55 +0000 (20:34 +0200)]
s3:dbwrap: convert dbwrap_fetch_int32() to NTSTATUS return code

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.

8 years agos3:idmap_tdb2: fix hwm-handling to use uint32 consistently
Michael Adam [Thu, 6 Oct 2011 18:28:39 +0000 (20:28 +0200)]
s3:idmap_tdb2: fix hwm-handling to use uint32 consistently

The initialization code user int32, later writes used uint32...

8 years agos3:idmap_tdb: fix hwm-handling to use uint32 consistently
Michael Adam [Thu, 6 Oct 2011 18:19:41 +0000 (20:19 +0200)]
s3:idmap_tdb: fix hwm-handling to use uint32 consistently

The initialization code user int32, later writes used uint32...

8 years agos3:passdb:account_pol: use dbwrap_fetch_uint32, not dbwrap_fetch_int32 for the DB...
Michael Adam [Thu, 6 Oct 2011 18:00:17 +0000 (20:00 +0200)]
s3:passdb:account_pol: use dbwrap_fetch_uint32, not dbwrap_fetch_int32 for the DB version

This is also stored as uint32_t.

8 years agos3:idmap_autorid: make a debug message more precise
Michael Adam [Thu, 6 Oct 2011 17:22:51 +0000 (19:22 +0200)]
s3:idmap_autorid: make a debug message more precise

8 years agos3:idmap_autorid: untangle function from check and log status in idmap_autorid_db_init()
Michael Adam [Thu, 6 Oct 2011 17:17:25 +0000 (19:17 +0200)]
s3:idmap_autorid: untangle function from check and log status in idmap_autorid_db_init()

8 years agos3:dbwrap: move definitions of db_record and db_contect structs to dbwrap_private.h
Michael Adam [Wed, 24 Aug 2011 12:53:42 +0000 (14:53 +0200)]
s3:dbwrap: move definitions of db_record and db_contect structs to dbwrap_private.h

The API and callers now only need the forward declarations.

8 years agos3:torture: convert torture.c to only use dbwrap wrapper functions
Michael Adam [Thu, 25 Aug 2011 08:59:06 +0000 (10:59 +0200)]
s3:torture: convert torture.c to only use dbwrap wrapper functions

Avoid direct use of the db_record and db_context structs.

8 years agos3:locking: convert posix.c to use dbwrap wrapper functions only
Michael Adam [Wed, 24 Aug 2011 23:22:43 +0000 (01:22 +0200)]
s3:locking: convert posix.c to use dbwrap wrapper functions only

Avoid direct use of the db_record and db_context structs.

8 years agos3:locking: convert locking.c to use dbwrap wrapper functions only
Michael Adam [Wed, 17 Aug 2011 09:28:12 +0000 (11:28 +0200)]
s3:locking: convert locking.c to use dbwrap wrapper functions only

Avoid direct use of the db_record and db_context structs.

8 years agos3:locking: convert brlock to only use dbwrap wrapper functions
Michael Adam [Wed, 17 Aug 2011 08:53:58 +0000 (10:53 +0200)]
s3:locking: convert brlock to only use dbwrap wrapper functions

Avoid direct use of the db_record and db_context structs.

8 years agos3:messages: convert to use only dbwrap wrapper functions
Michael Adam [Wed, 24 Aug 2011 13:47:46 +0000 (15:47 +0200)]
s3:messages: convert to use only dbwrap wrapper functions

Avoid direct use of the db_record and db_context structs.

8 years agos3:groupdb: convert mapping_tdb.c to use dbwrap wrapper functions only
Michael Adam [Wed, 17 Aug 2011 09:18:49 +0000 (11:18 +0200)]
s3:groupdb: convert mapping_tdb.c to use dbwrap wrapper functions only

8 years agos3:rpc_server: convert srvsvc to only use dbwrap wrapper functions
Michael Adam [Wed, 24 Aug 2011 22:49:17 +0000 (00:49 +0200)]
s3:rpc_server: convert srvsvc to only use dbwrap wrapper functions

Avoid direct use of the db_record and db_context structs.

8 years agos3:smbd: convert notify db to use dbwrap wrapper functions
Michael Adam [Wed, 24 Aug 2011 23:35:16 +0000 (01:35 +0200)]
s3:smbd: convert notify db to use dbwrap wrapper functions

Avoid direct use of the db_record and db_context structs.

8 years agos3:smbd: convert session.c to use dbwrap wrapper functions only
Michael Adam [Wed, 24 Aug 2011 22:46:42 +0000 (00:46 +0200)]
s3:smbd: convert session.c to use dbwrap wrapper functions only

Avoid direct use of the db_record and db_context structs.

8 years agos3:smbd: convert connections.c to use only dbrwap wrapper functions
Michael Adam [Wed, 24 Aug 2011 22:42:10 +0000 (00:42 +0200)]
s3:smbd: convert connections.c to use only dbrwap wrapper functions

Avoid direct use of the db_record and db_context structs.

8 years agos3:conn_tdb: convert connections tdb to only use dbwrap wrapper functions
Michael Adam [Wed, 24 Aug 2011 22:01:44 +0000 (00:01 +0200)]
s3:conn_tdb: convert connections tdb to only use dbwrap wrapper functions

Avoid direct use of the db_record and db_context structs.

8 years agos3:vfs: convert the acl_tdb module to use dbwrap wrapper functions.
Michael Adam [Wed, 24 Aug 2011 13:40:09 +0000 (15:40 +0200)]
s3:vfs: convert the acl_tdb module to use dbwrap wrapper functions.

Avoid direct use of the db_record and db_context structs.

8 years agos3:vfs: convert nfs4_acls sidmap db code to use dbwrap_wrapper functions
Michael Adam [Wed, 24 Aug 2011 13:36:31 +0000 (15:36 +0200)]
s3:vfs: convert nfs4_acls sidmap db code to use dbwrap_wrapper functions

Avoid direct use of the db_record and db_context structs.

8 years agos3:vfs: change the xattr_tdb module to use dbwrap wrapper functions
Michael Adam [Wed, 24 Aug 2011 13:32:59 +0000 (15:32 +0200)]
s3:vfs: change the xattr_tdb module to use dbwrap wrapper functions

Avoid direct use of the db_record and db_context structs.

8 years agos3:printing: convert printer_list to use dbwrap wrapper functions
Michael Adam [Wed, 17 Aug 2011 09:49:59 +0000 (11:49 +0200)]
s3:printing: convert printer_list to use dbwrap wrapper functions

Avoid direct use of the db_record and db_context structs.

8 years agos3:secrets: convert to use dbwrap wrapper functions only
Michael Adam [Wed, 24 Aug 2011 22:30:15 +0000 (00:30 +0200)]
s3:secrets: convert to use dbwrap wrapper functions only

Avoid direct use of the db_record and db_context structs.

8 years agos3:passdb: convert account_pol to use dbwrap wrapper functions only
Michael Adam [Wed, 24 Aug 2011 22:38:51 +0000 (00:38 +0200)]
s3:passdb: convert account_pol to use dbwrap wrapper functions only

Avoid direct use of the db_record and db_context structs.

8 years agos3:passdb: convert machine_sid to use dbwrap wrapper functions only
Michael Adam [Wed, 24 Aug 2011 22:36:05 +0000 (00:36 +0200)]
s3:passdb: convert machine_sid to use dbwrap wrapper functions only

Avoid direct use of the db_record and db_context structs.

8 years agos3:passdb: convert pdb_tdb to use dbwrap wrapper functions.
Michael Adam [Wed, 17 Aug 2011 08:58:15 +0000 (10:58 +0200)]
s3:passdb: convert pdb_tdb to use dbwrap wrapper functions.

Avoid direct use of the db_record and db_context structs

8 years agos3:net: convert net idmap check to use dbwrap wrapper functions.
Michael Adam [Wed, 24 Aug 2011 13:27:00 +0000 (15:27 +0200)]
s3:net: convert net idmap check to use dbwrap wrapper functions.

Avoid direct use of the db_record and db_context structs.

8 years agos3:net: convert net idmap to use only dbwrap wrapper functions
Michael Adam [Wed, 17 Aug 2011 09:47:48 +0000 (11:47 +0200)]
s3:net: convert net idmap to use only dbwrap wrapper functions

Avoid direct use of the db_record and db_context structs.

8 years agos3:idmap: convert idmap_tdb to use dbwrap wrapper functions.
Michael Adam [Wed, 17 Aug 2011 09:45:31 +0000 (11:45 +0200)]
s3:idmap: convert idmap_tdb to use dbwrap wrapper functions.

Avoid direct use of the db_record and db_context structs.

8 years agos3:libnet: convert libnet_dssync_passdb to only use dbwrap wrapper functions.
Michael Adam [Thu, 25 Aug 2011 08:50:01 +0000 (10:50 +0200)]
s3:libnet: convert libnet_dssync_passdb to only use dbwrap wrapper functions.

Avoid direct use of the db_record and db_context structs.