samba.git
10 years agodbwrap: add DBWRAP_LOCK_ORDER_VALID()
Michael Adam [Tue, 28 Jan 2014 10:54:06 +0000 (11:54 +0100)]
dbwrap: add DBWRAP_LOCK_ORDER_VALID()

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
10 years agodbwrap: add DBWRAP_LOCK_ORDER_MIN
Michael Adam [Tue, 28 Jan 2014 11:04:38 +0000 (12:04 +0100)]
dbwrap: add DBWRAP_LOCK_ORDER_MIN

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
10 years agodbwrap: move definition of DBWRAP_LOCK_ORDER_MAX to the private header.
Michael Adam [Tue, 28 Jan 2014 10:52:36 +0000 (11:52 +0100)]
dbwrap: move definition of DBWRAP_LOCK_ORDER_MAX to the private header.

This is only needed internally.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
10 years agodbwrap: explicitly use DBWRAP_LOCK_ORDER_NONE in tdb->ntdb conversion
Michael Adam [Tue, 28 Jan 2014 11:42:31 +0000 (12:42 +0100)]
dbwrap: explicitly use DBWRAP_LOCK_ORDER_NONE in tdb->ntdb conversion

Make lack of lock order checking more visible.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
10 years agos4:cluster: use DBWRAP_LOCK_ODER_NONE for local_db_tmp_open()
Michael Adam [Mon, 27 Jan 2014 16:26:50 +0000 (17:26 +0100)]
s4:cluster: use DBWRAP_LOCK_ODER_NONE for local_db_tmp_open()

Make lack of lock oder checking more visible.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
10 years agolibcli: use DBWRAP_LOCK_ORDER_NONE when opening schannel_store.tdb
Michael Adam [Mon, 27 Jan 2014 16:25:54 +0000 (17:25 +0100)]
libcli: use DBWRAP_LOCK_ORDER_NONE when opening schannel_store.tdb

Make lack of lock order checking more visible.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
10 years agodbwrap: introduce DBWRAP_LOCK_ORDER_NONE for lock order "0".
Michael Adam [Mon, 27 Jan 2014 16:20:56 +0000 (17:20 +0100)]
dbwrap: introduce DBWRAP_LOCK_ORDER_NONE for lock order "0".

Ther are still some databases which are opened (locally) with
lock oder 0, which means don't do lock oder checking,
thereby circumventing this deadlock-prevention mechanism.

Add a symbolic constant for this "0" to make this circumvention
more explicit.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
10 years agodbwrap: add dbwrap_flags argument to dbwrap_local_open()
Michael Adam [Mon, 27 Jan 2014 15:38:25 +0000 (16:38 +0100)]
dbwrap: add dbwrap_flags argument to dbwrap_local_open()

To be consistent with db_open() and prepare for future
possible extensions.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
10 years agodbwrap: add a dbwrap_flags argument to db_open_ntdb()
Michael Adam [Tue, 28 Jan 2014 11:37:36 +0000 (12:37 +0100)]
dbwrap: add a dbwrap_flags argument to db_open_ntdb()

for consistency and to perpare for possible future
flags that the ntdb backend might be aware of.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
10 years agodbwrap: add a dbwrap_flags argument to db_open_tdb()
Michael Adam [Tue, 28 Jan 2014 11:33:42 +0000 (12:33 +0100)]
dbwrap: add a dbwrap_flags argument to db_open_tdb()

...for consistency and in preparation of future flags
that the tdb backend might be aware of.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
10 years agos3:registry: introduce REG_DBWRAP_FLAGS to use for all db_open calls
Michael Adam [Mon, 27 Jan 2014 15:19:52 +0000 (16:19 +0100)]
s3:registry: introduce REG_DBWRAP_FLAGS to use for all db_open calls

This is in accordance with the use of REG_TDB_FLAGS.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
10 years agos3:rpc_client: optimize the netlogon_creds_cli.tdb for read-only access
Michael Adam [Mon, 27 Jan 2014 15:21:14 +0000 (16:21 +0100)]
s3:rpc_client: optimize the netlogon_creds_cli.tdb for read-only access

Usually a record in this DB will be written once and then read
many times by winbindd processes on multiple nodes (when run in
a cluster). In order not to introduce a big performance penalty
with the increased correctness achieved by storing the netlogon
creds, in a cluster setup, we should activate ctdb's read only
record copies on this db.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
10 years agodbwrap_open: add 'dbwrap_optimize_readonly:* = yes' option
Stefan Metzmacher [Tue, 28 Jan 2014 20:31:17 +0000 (21:31 +0100)]
dbwrap_open: add 'dbwrap_optimize_readonly:* = yes' option

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
10 years agodbwrap_ctdb: implement DBWRAP_FLAG_OPTIMIZE_READONLY_ACCESS
Stefan Metzmacher [Tue, 28 Jan 2014 20:24:22 +0000 (21:24 +0100)]
dbwrap_ctdb: implement DBWRAP_FLAG_OPTIMIZE_READONLY_ACCESS

For non-persistent databases we try to use CTDB_CONTROL_SET_DB_READONLY
in order to make use of readonly records.

Pair-Programmed-With: Michael Adam <obnox@samba.org>

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Michael Adam <obnox@samba.org>
10 years agodbwrap: add DBWRAP_FLAG_OPTIMIZE_READONLY_ACCESS
Michael Adam [Tue, 28 Jan 2014 10:31:44 +0000 (11:31 +0100)]
dbwrap: add DBWRAP_FLAG_OPTIMIZE_READONLY_ACCESS

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
10 years agodbwrap: add a dbwrap_flags argument to db_open_ctdb()
Michael Adam [Tue, 28 Jan 2014 11:53:24 +0000 (12:53 +0100)]
dbwrap: add a dbwrap_flags argument to db_open_ctdb()

This is in preparation of directly supporting ctdb read only
record copies when opening a ctdb database from samba.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
10 years agodbwrap: add a dbwrap_flags argument to db_open()
Michael Adam [Mon, 27 Jan 2014 13:49:12 +0000 (14:49 +0100)]
dbwrap: add a dbwrap_flags argument to db_open()

This is in preparation to support handing flags to backends,
in particular activating read only record support for ctdb
databases. For a start, this does nothing but adding the
parameter, and all databases use DBWRAP_FLAG_NONE.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
10 years agodbwrap: add flags DBWRAP_FLAG_NONE
Michael Adam [Mon, 27 Jan 2014 12:38:51 +0000 (13:38 +0100)]
dbwrap: add flags DBWRAP_FLAG_NONE

This is in preparation of adding a dbwrap_flags argument to db_open
and firends.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
10 years ago.gitignore: Ignore tag files from GNU Global tool
Christof Schmitt [Thu, 6 Feb 2014 23:48:00 +0000 (16:48 -0700)]
.gitignore: Ignore tag files from GNU Global tool

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Feb  7 03:20:15 CET 2014 on sn-devel-104

10 years agovfs_btrfs: pass-through copy-chunk(len=0) requests
David Disseldorp [Thu, 6 Feb 2014 19:12:22 +0000 (20:12 +0100)]
vfs_btrfs: pass-through copy-chunk(len=0) requests

Never map copy-chunk(len=0) requests to BTRFS_IOC_CLONE_RANGE ioctls. A
BTRFS_IOC_CLONE_RANGE with @src_length=0 results in a clone of all data
from @src_offset->EOF!

BUG: https://bugzilla.samba.org/show_bug.cgi?id=10424

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
10 years agosmbd/smb2_ioctl: fail zero length copy chunk requests
David Disseldorp [Thu, 6 Feb 2014 19:12:21 +0000 (20:12 +0100)]
smbd/smb2_ioctl: fail zero length copy chunk requests

As documented in MS-SMB2 3.3.5.15.6 Handling a Server-Side Data Copy
Request, an invalid parameter response should be sent when:

The Length value in a single chunk is greater than
ServerSideCopyMaxChunkSize or *equal to zero*.

We do not currently abide by the latter part of this clause.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=10424

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
10 years agotorture: add zero length FSCTL_SRV_COPYCHUNK test
David Disseldorp [Thu, 6 Feb 2014 19:12:20 +0000 (20:12 +0100)]
torture: add zero length FSCTL_SRV_COPYCHUNK test

Windows Server 2012 returns NT_STATUS_INVALID_PARAMETER for
FSCTL_SRV_COPYCHUNK requests that include a server-side copy length of
zero, in line with MS-SMB2 3.3.5.15.6.

We should match this behaviour, so test for it.

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
10 years agos4:samdb: respect SEARCH_FLAG_PRESERVEONDELETE
Arvid Requate [Thu, 6 Feb 2014 16:50:57 +0000 (17:50 +0100)]
s4:samdb: respect SEARCH_FLAG_PRESERVEONDELETE

According to MS-ADTS section 3.1.1.5.5.1.1 the searchFlags must be
checked.

Signed-off-by: Arvid Requate <requate@univention.de>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
Autobuild-User(master): David Disseldorp <ddiss@samba.org>
Autobuild-Date(master): Thu Feb  6 21:42:22 CET 2014 on sn-devel-104

10 years agodocs-xml: Add parameter CSC policy to the change share command.
Shekhar Amlekar [Thu, 6 Feb 2014 06:27:54 +0000 (11:57 +0530)]
docs-xml: Add parameter CSC policy to the change share command.

Signed-off-by: Shekhar Amlekar <samlekar@in.ibm.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
Autobuild-User(master): Christof Schmitt <cs@samba.org>
Autobuild-Date(master): Thu Feb  6 19:43:06 CET 2014 on sn-devel-104

10 years agos3: rpc_server/srvsvc: NetShareSetInfo - let CSC policy be settable.
Shekhar Amlekar [Tue, 4 Feb 2014 09:13:53 +0000 (14:43 +0530)]
s3: rpc_server/srvsvc: NetShareSetInfo - let CSC policy be settable.

The current code simply denies changing the csc policy through RPC
calls. Change that to allow changing the csc policy and call the 'change
share command' when a SetInfo RPC call changes the setting.

Signed-off-by: Shekhar Amlekar <samlekar@in.ibm.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
10 years agos3: rpc_server/srvsvc: NetShareSetInfo - Correctly initialize max_connections for...
Shekhar Amlekar [Tue, 4 Feb 2014 08:26:57 +0000 (13:56 +0530)]
s3: rpc_server/srvsvc: NetShareSetInfo - Correctly initialize max_connections for info levels != 2 before calling the change share script.

Signed-off-by: Shekhar Amlekar <samlekar@in.ibm.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
10 years agowinbind3: Simplify fillup_pw_field
Volker Lendecke [Thu, 30 Jan 2014 14:24:06 +0000 (14:24 +0000)]
winbind3: Simplify fillup_pw_field

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Wed Feb  5 13:47:52 CET 2014 on sn-devel-104

10 years agodsdb: Add more tests for DN+String and DN+Binary comparisons
Andrew Bartlett [Wed, 5 Feb 2014 03:22:11 +0000 (16:22 +1300)]
dsdb: Add more tests for DN+String and DN+Binary comparisons

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Feb  5 10:41:37 CET 2014 on sn-devel-104

10 years agoprovision: capture slightly less generic exceptions during the test for acls
Garming Sam [Wed, 5 Feb 2014 02:40:59 +0000 (15:40 +1300)]
provision: capture slightly less generic exceptions during the test for acls

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
10 years agopysmbd: improve the return of error codes in the python smbd bindings
Garming Sam [Wed, 5 Feb 2014 02:31:22 +0000 (15:31 +1300)]
pysmbd: improve the return of error codes in the python smbd bindings

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
10 years agoprovision: improve error message when connecting to samdb without the correct permissions
Garming Sam [Wed, 5 Feb 2014 02:29:18 +0000 (15:29 +1300)]
provision: improve error message when connecting to samdb without the correct permissions

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
10 years agoldb: pass module init errors back to the caller
Andrew Bartlett [Wed, 5 Feb 2014 02:19:41 +0000 (15:19 +1300)]
ldb: pass module init errors back to the caller

This makes provision errors clearer in Samba, as we can now get
permission denied errors presented from LDB modules.

Andrew Bartlett

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
10 years agodsdb: Return LDB_ERR_INSUFFICIENT_ACCESS_RIGHTS rather than OPERATIONS_ERROR on EACCE...
Andrew Bartlett [Wed, 5 Feb 2014 01:53:26 +0000 (14:53 +1300)]
dsdb: Return LDB_ERR_INSUFFICIENT_ACCESS_RIGHTS rather than OPERATIONS_ERROR on EACCES and EPERM

This makes provision errors clearer in Samba.

Andrew Bartlett

Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
10 years agoldb: Return LDB_ERR_INSUFFICIENT_ACCESS_RIGHTS rather than OPERATIONS_ERROR on EACCES...
Andrew Bartlett [Wed, 5 Feb 2014 01:52:28 +0000 (14:52 +1300)]
ldb: Return LDB_ERR_INSUFFICIENT_ACCESS_RIGHTS rather than OPERATIONS_ERROR on EACCES and EPERM

This makes provision errors clearer in Samba.

Andrew Bartlett

Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
10 years agoprovision: Fix failures on re-provision incorrectly blamed on posix acl support.
Garming Sam [Wed, 27 Nov 2013 02:26:14 +0000 (15:26 +1300)]
provision: Fix failures on re-provision incorrectly blamed on posix acl support.

By doing the test later, there is an actual sam.ldb file that can be connected to.

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
10 years agos3-auth: Add passwd_to_SamInfo3().
Andreas Schneider [Fri, 13 Dec 2013 18:19:02 +0000 (19:19 +0100)]
s3-auth: Add passwd_to_SamInfo3().

Correctly lookup users which come from smb.conf. passwd_to_SamInfo3()
tries to contact winbind if the user is a domain user to get
valid information about it. If winbind isn't running it will try to
create everything from the passwd struct. This is not always reliable
but works in most cases. It improves the current situation which doesn't
talk to winbind at all.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=8598

Pair-Programmed-With: Guenther Deschner <gd@samba.org>
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Feb  5 01:40:38 CET 2014 on sn-devel-104

10 years agos3-auth: Pass talloc context to make_server_info_pw().
Andreas Schneider [Fri, 13 Dec 2013 18:11:01 +0000 (19:11 +0100)]
s3-auth: Pass talloc context to make_server_info_pw().

Pair-Programmed-With: Guenther Deschner <gd@samba.org>
Signed-off-by: Guenther Deschner <gd@samba.org>
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
10 years agos3-auth: Add passwd_to_SamInfo3().
Andreas Schneider [Fri, 13 Dec 2013 18:08:34 +0000 (19:08 +0100)]
s3-auth: Add passwd_to_SamInfo3().

First this function tries to contacts winbind if the user is a domain
user to get valid information about it. If winbind isn't running it will
try to create everything from the passwd struct. This is not always
reliable but works in most cases. It improves the current situation
which doesn't talk to winbind at all.

Pair-Programmed-With: Guenther Deschner <gd@samba.org>
Signed-off-by: Guenther Deschner <gd@samba.org>
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
10 years agos3-lib: Add winbind_lookup_usersids().
Andreas Schneider [Mon, 16 Dec 2013 11:57:20 +0000 (12:57 +0100)]
s3-lib: Add winbind_lookup_usersids().

Pair-Programmed-With: Guenther Deschner <gd@samba.org>
Signed-off-by: Guenther Deschner <gd@samba.org>
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
10 years agowinbind3: Use fstrcpy
Volker Lendecke [Thu, 30 Jan 2014 14:17:35 +0000 (14:17 +0000)]
winbind3: Use fstrcpy

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
10 years agowinbind3: Fix a comment typo
Volker Lendecke [Thu, 30 Jan 2014 13:37:01 +0000 (13:37 +0000)]
winbind3: Fix a comment typo

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
10 years agoloadparm: rename variable for "directory mask" from dir_mask to directory_mask
Michael Adam [Sun, 2 Feb 2014 14:04:13 +0000 (15:04 +0100)]
loadparm: rename variable for "directory mask" from dir_mask to directory_mask

for consistency docs/functions/variables

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Mon Feb  3 07:29:43 CET 2014 on sn-devel-104

10 years agoloadparm: rename lp[cfg]_dir_mask to lp[cfg]_directory_mask for consistency with...
Michael Adam [Sun, 2 Feb 2014 13:59:30 +0000 (14:59 +0100)]
loadparm: rename lp[cfg]_dir_mask to lp[cfg]_directory_mask for consistency with docs

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
10 years agoloadparm: rename variable for "printable" from print_ok to printable
Michael Adam [Sun, 2 Feb 2014 13:53:44 +0000 (14:53 +0100)]
loadparm: rename variable for "printable" from print_ok to printable

for consistency docs/funcstions/variables

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
10 years agoloadparm: rename lp[cfg]_print_ok to lp[cfg]_printable for consistency with docs
Michael Adam [Sun, 2 Feb 2014 13:48:41 +0000 (14:48 +0100)]
loadparm: rename lp[cfg]_print_ok to lp[cfg]_printable for consistency with docs

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
10 years agoloadparm: rename variable for "read only" from readonly to read_only
Michael Adam [Sun, 2 Feb 2014 13:44:05 +0000 (14:44 +0100)]
loadparm: rename variable for "read only" from readonly to read_only

for consistency docs/functions/variables

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
10 years agoloadparm: rename lp[cfg]_readonly to lp[cfg]_read_only for consistency with docs
Michael Adam [Sun, 2 Feb 2014 13:37:34 +0000 (14:37 +0100)]
loadparm: rename lp[cfg]_readonly to lp[cfg]_read_only for consistency with docs

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
10 years agoloadparm: rename variable for "hosts deny" from hostsdeny to hosts_deny
Michael Adam [Sun, 2 Feb 2014 13:24:10 +0000 (14:24 +0100)]
loadparm: rename variable for "hosts deny" from hostsdeny to hosts_deny

for consistency docs/functions/variables

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
10 years agoloadparm: rename lp[cfg]_hostsdeny to lp[cfg]_hosts_deny for consistency with docs
Michael Adam [Sun, 2 Feb 2014 13:21:12 +0000 (14:21 +0100)]
loadparm: rename lp[cfg]_hostsdeny to lp[cfg]_hosts_deny for consistency with docs

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
10 years agoloadparm: rename variable for "hosts allow" from hostsallow to hosts_allow
Michael Adam [Sun, 2 Feb 2014 13:15:57 +0000 (14:15 +0100)]
loadparm: rename variable for "hosts allow" from hostsallow to hosts_allow

for consistency docs/function/variable

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
10 years agoloadparm: rename lp[cfg]_hostsallow to lp[cfg]_hosts_allow for consistency with docs
Michael Adam [Sun, 2 Feb 2014 13:14:09 +0000 (14:14 +0100)]
loadparm: rename lp[cfg]_hostsallow to lp[cfg]_hosts_allow for consistency with docs

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
10 years agoloadparm: rename the variable for "path" from pathname to path
Michael Adam [Sun, 2 Feb 2014 13:05:39 +0000 (14:05 +0100)]
loadparm: rename the variable for "path" from pathname to path

for consistency docs/variable/function.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
10 years agoloadparm: rename lp[cfg]_pathname to lp[cfg]_path for consistency with docs
Michael Adam [Sun, 2 Feb 2014 13:04:46 +0000 (14:04 +0100)]
loadparm: rename lp[cfg]_pathname to lp[cfg]_path for consistency with docs

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
10 years agodocs: insert meta data for copy parameter - mark do not generate function
Garming Sam [Sun, 12 Jan 2014 21:00:04 +0000 (10:00 +1300)]
docs: insert meta data for copy parameter - mark do not generate function

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
10 years agodocs: insert meta data for max print jobs parameter - mark do not generate function
Garming Sam [Sun, 12 Jan 2014 21:00:04 +0000 (10:00 +1300)]
docs: insert meta data for max print jobs parameter - mark do not generate function

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
10 years agodocs: insert meta data for wide links parameter - mark do not generate function
Garming Sam [Sun, 12 Jan 2014 21:00:04 +0000 (10:00 +1300)]
docs: insert meta data for wide links parameter - mark do not generate function

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
10 years agodocs: insert meta data for -valid parameter - mark do not generate function
Garming Sam [Sun, 12 Jan 2014 21:00:03 +0000 (10:00 +1300)]
docs: insert meta data for -valid parameter - mark do not generate function

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
10 years agodocs: insert meta data for available parameter - mark do not generate function
Garming Sam [Sun, 12 Jan 2014 21:00:03 +0000 (10:00 +1300)]
docs: insert meta data for available parameter - mark do not generate function

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
10 years agodocs: insert meta data for tls keyfile parameter - mark do not generate function
Garming Sam [Sun, 12 Jan 2014 21:00:03 +0000 (10:00 +1300)]
docs: insert meta data for tls keyfile parameter - mark do not generate function

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
10 years agodocs: insert meta data for tls dh params file parameter - mark do not generate function
Garming Sam [Sun, 12 Jan 2014 21:00:03 +0000 (10:00 +1300)]
docs: insert meta data for tls dh params file parameter - mark do not generate function

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
10 years agodocs: insert meta data for tls crlfile parameter - mark do not generate function
Garming Sam [Sun, 12 Jan 2014 21:00:03 +0000 (10:00 +1300)]
docs: insert meta data for tls crlfile parameter - mark do not generate function

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
10 years agodocs: insert meta data for tls certfile parameter - mark do not generate function
Garming Sam [Sun, 12 Jan 2014 21:00:03 +0000 (10:00 +1300)]
docs: insert meta data for tls certfile parameter - mark do not generate function

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
10 years agodocs: insert meta data for tls cafile parameter - mark do not generate function
Garming Sam [Sun, 12 Jan 2014 21:00:03 +0000 (10:00 +1300)]
docs: insert meta data for tls cafile parameter - mark do not generate function

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
10 years agodocs: insert meta data for state directory parameter - mark do not generate function
Garming Sam [Sun, 12 Jan 2014 21:00:03 +0000 (10:00 +1300)]
docs: insert meta data for state directory parameter - mark do not generate function

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
10 years agodocs: insert meta data for printcap name parameter - mark do not generate function
Garming Sam [Sun, 12 Jan 2014 21:00:03 +0000 (10:00 +1300)]
docs: insert meta data for printcap name parameter - mark do not generate function

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
10 years agodocs: insert meta data for ldap user suffix parameter - mark do not generate function
Garming Sam [Sun, 12 Jan 2014 21:00:03 +0000 (10:00 +1300)]
docs: insert meta data for ldap user suffix parameter - mark do not generate function

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
10 years agodocs: insert meta data for ldap machine suffix parameter - mark do not generate function
Garming Sam [Sun, 12 Jan 2014 21:00:03 +0000 (10:00 +1300)]
docs: insert meta data for ldap machine suffix parameter - mark do not generate function

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
10 years agodocs: insert meta data for ldap idmap suffix parameter - mark do not generate function
Garming Sam [Sun, 12 Jan 2014 21:00:03 +0000 (10:00 +1300)]
docs: insert meta data for ldap idmap suffix parameter - mark do not generate function

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
10 years agodocs: insert meta data for ldap group suffix parameter - mark do not generate function
Garming Sam [Sun, 12 Jan 2014 21:00:03 +0000 (10:00 +1300)]
docs: insert meta data for ldap group suffix parameter - mark do not generate function

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
10 years agodocs: insert meta data for include parameter - mark do not generate function
Garming Sam [Sun, 12 Jan 2014 21:00:03 +0000 (10:00 +1300)]
docs: insert meta data for include parameter - mark do not generate function

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
10 years agodocs: insert meta data for idmap uid parameter - mark do not generate function
Garming Sam [Sun, 12 Jan 2014 21:00:02 +0000 (10:00 +1300)]
docs: insert meta data for idmap uid parameter - mark do not generate function

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
10 years agodocs: insert meta data for idmap gid parameter - mark do not generate function
Garming Sam [Sun, 12 Jan 2014 21:00:02 +0000 (10:00 +1300)]
docs: insert meta data for idmap gid parameter - mark do not generate function

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
10 years agodocs: insert meta data for idmap backend parameter - mark do not generate function
Garming Sam [Sun, 12 Jan 2014 21:00:02 +0000 (10:00 +1300)]
docs: insert meta data for idmap backend parameter - mark do not generate function

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
10 years agodocs: insert meta data for config file parameter - mark do not generate function
Garming Sam [Sun, 12 Jan 2014 21:00:02 +0000 (10:00 +1300)]
docs: insert meta data for config file parameter - mark do not generate function

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
10 years agodocs: insert meta data for cache directory parameter - mark do not generate function
Garming Sam [Sun, 12 Jan 2014 21:00:02 +0000 (10:00 +1300)]
docs: insert meta data for cache directory parameter - mark do not generate function

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
10 years agodocs: insert meta data for winbind max domain connections parameter - mark do not...
Garming Sam [Sun, 12 Jan 2014 21:00:02 +0000 (10:00 +1300)]
docs: insert meta data for winbind max domain connections parameter - mark do not generate function

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
10 years agodocs: insert meta data for smb2 max credits parameter - mark do not generate function
Garming Sam [Sun, 12 Jan 2014 21:00:02 +0000 (10:00 +1300)]
docs: insert meta data for smb2 max credits parameter - mark do not generate function

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
10 years agodocs: insert meta data for preferred master parameter - mark do not generate function
Garming Sam [Sun, 12 Jan 2014 21:00:02 +0000 (10:00 +1300)]
docs: insert meta data for preferred master parameter - mark do not generate function

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
10 years agodocs: insert meta data for min receivefile size parameter - mark do not generate...
Garming Sam [Sun, 12 Jan 2014 21:00:02 +0000 (10:00 +1300)]
docs: insert meta data for min receivefile size parameter - mark do not generate function

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
10 years agodocs: insert meta data for cups encrypt parameter - mark do not generate function
Garming Sam [Sun, 12 Jan 2014 21:00:02 +0000 (10:00 +1300)]
docs: insert meta data for cups encrypt parameter - mark do not generate function

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
10 years agodocs: insert meta data for write raw parameter - mark do not generate function
Garming Sam [Sun, 12 Jan 2014 21:00:02 +0000 (10:00 +1300)]
docs: insert meta data for write raw parameter - mark do not generate function

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
10 years agodocs: insert meta data for read raw parameter - mark do not generate function
Garming Sam [Sun, 12 Jan 2014 21:00:02 +0000 (10:00 +1300)]
docs: insert meta data for read raw parameter - mark do not generate function

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
10 years agodocs: insert meta data into writeable for marking a synonym
Garming Sam [Sun, 2 Feb 2014 22:32:04 +0000 (23:32 +0100)]
docs: insert meta data into writeable for marking a synonym

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
10 years agodocs: insert meta data into enable spoolss for marking a synonym
Garming Sam [Fri, 10 Jan 2014 01:31:41 +0000 (14:31 +1300)]
docs: insert meta data into enable spoolss for marking a synonym

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
10 years agodocs: insert meta data into realm parameter
Garming Sam [Fri, 10 Jan 2014 01:09:30 +0000 (14:09 +1300)]
docs: insert meta data into realm parameter

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
10 years agodocs: fix type for remote browse sync parameter
Garming Sam [Thu, 9 Jan 2014 23:55:59 +0000 (12:55 +1300)]
docs: fix type for remote browse sync parameter

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
10 years agodocs: fix type for remote announce parameter
Garming Sam [Thu, 9 Jan 2014 23:55:59 +0000 (12:55 +1300)]
docs: fix type for remote announce parameter

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
10 years agodocs: fix type for winbind nss info parameter
Garming Sam [Thu, 9 Jan 2014 23:55:58 +0000 (12:55 +1300)]
docs: fix type for winbind nss info parameter

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
10 years agodocs: fix type for usershare prefix deny list parameter
Garming Sam [Thu, 9 Jan 2014 23:55:58 +0000 (12:55 +1300)]
docs: fix type for usershare prefix deny list parameter

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
10 years agodocs: fix type for usershare prefix allow list parameter
Garming Sam [Thu, 9 Jan 2014 23:55:58 +0000 (12:55 +1300)]
docs: fix type for usershare prefix allow list parameter

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
10 years agodocs: fix type for svcctl list parameter
Garming Sam [Thu, 9 Jan 2014 23:55:58 +0000 (12:55 +1300)]
docs: fix type for svcctl list parameter

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
10 years agodocs: fix type for spn update command parameter
Garming Sam [Thu, 9 Jan 2014 23:55:58 +0000 (12:55 +1300)]
docs: fix type for spn update command parameter

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
10 years agodocs: fix type for samba kcc command parameter
Garming Sam [Thu, 9 Jan 2014 23:55:58 +0000 (12:55 +1300)]
docs: fix type for samba kcc command parameter

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
10 years agodocs: fix type for rndc command parameter
Garming Sam [Thu, 9 Jan 2014 23:55:57 +0000 (12:55 +1300)]
docs: fix type for rndc command parameter

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
10 years agodocs: fix type for nsupdate command parameter
Garming Sam [Thu, 9 Jan 2014 23:55:57 +0000 (12:55 +1300)]
docs: fix type for nsupdate command parameter

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
10 years agodocs: fix type for eventlog list parameter
Garming Sam [Thu, 9 Jan 2014 23:55:57 +0000 (12:55 +1300)]
docs: fix type for eventlog list parameter

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
10 years agodocs: fix type for dns update command parameter
Garming Sam [Thu, 9 Jan 2014 23:55:57 +0000 (12:55 +1300)]
docs: fix type for dns update command parameter

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
10 years agodocs: fix type for web port parameter
Garming Sam [Thu, 9 Jan 2014 23:55:57 +0000 (12:55 +1300)]
docs: fix type for web port parameter

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
10 years agodocs: fix type for server schannel parameter
Garming Sam [Thu, 9 Jan 2014 23:55:57 +0000 (12:55 +1300)]
docs: fix type for server schannel parameter

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
10 years agodocs: fix type for nbt port parameter
Garming Sam [Thu, 9 Jan 2014 23:55:56 +0000 (12:55 +1300)]
docs: fix type for nbt port parameter

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>