samba.git
5 years agoparam: rename lp function and variable from "adduser_script" to "add_user_script"
Garming Sam [Tue, 4 Feb 2014 02:09:00 +0000 (15:09 +1300)]
param: rename lp function and variable from "adduser_script" to "add_user_script"

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
5 years agoparam: rename lp function and variable from "addmachine_script" to "add_machine_script"
Garming Sam [Tue, 4 Feb 2014 02:09:00 +0000 (15:09 +1300)]
param: rename lp function and variable from "addmachine_script" to "add_machine_script"

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
5 years agoparam: rename lp function and variable from "addgroup_script" to "add_group_script"
Garming Sam [Tue, 4 Feb 2014 02:09:00 +0000 (15:09 +1300)]
param: rename lp function and variable from "addgroup_script" to "add_group_script"

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
5 years agoparam: rename lp function and variable from "veto_oplocks" to "veto_oplock_files"
Garming Sam [Tue, 4 Feb 2014 02:08:59 +0000 (15:08 +1300)]
param: rename lp function and variable from "veto_oplocks" to "veto_oplock_files"

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
5 years agoparam: rename lp function and variable from "shortpreservecase" to "short_preserve_case"
Garming Sam [Tue, 4 Feb 2014 02:08:59 +0000 (15:08 +1300)]
param: rename lp function and variable from "shortpreservecase" to "short_preserve_case"

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
5 years agoparam: rename lp function and variable from "preservecase" to "preserve_case"
Garming Sam [Tue, 4 Feb 2014 02:08:59 +0000 (15:08 +1300)]
param: rename lp function and variable from "preservecase" to "preserve_case"

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
5 years agoparam: rename lp function and variable from "hideunwriteable_files" to "hide_unwritea...
Garming Sam [Tue, 4 Feb 2014 02:08:59 +0000 (15:08 +1300)]
param: rename lp function and variable from "hideunwriteable_files" to "hide_unwriteable_files"

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
5 years agoparam: rename lp function and variable from "hideunreadable" to "hide_unreadable"
Garming Sam [Tue, 4 Feb 2014 02:08:58 +0000 (15:08 +1300)]
param: rename lp function and variable from "hideunreadable" to "hide_unreadable"

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
5 years agoparam: rename lp function and variable from "recursive_veto_delete" to "delete_veto_f...
Garming Sam [Tue, 4 Feb 2014 02:08:58 +0000 (15:08 +1300)]
param: rename lp function and variable from "recursive_veto_delete" to "delete_veto_files"

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
5 years agoparam: rename lp function and variable from "serverstring" to "server_string"
Garming Sam [Tue, 4 Feb 2014 02:08:58 +0000 (15:08 +1300)]
param: rename lp function and variable from "serverstring" to "server_string"

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
5 years agoparam: rename lp function and variable from 'wtmpdir' to 'wtmp_directory'
Garming Sam [Mon, 3 Feb 2014 03:03:35 +0000 (16:03 +1300)]
param: rename lp function and variable from 'wtmpdir' to 'wtmp_directory'

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
5 years agoparam: rename lp function and variable from 'umtpdir' to 'utmp_directory'
Garming Sam [Mon, 3 Feb 2014 03:00:28 +0000 (16:00 +1300)]
param: rename lp function and variable from 'umtpdir' to 'utmp_directory'

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
5 years agoparam: rename lp function and variable from 'piddir' to 'pid_directory'
Garming Sam [Mon, 3 Feb 2014 02:57:21 +0000 (15:57 +1300)]
param: rename lp function and variable from 'piddir' to 'pid_directory'

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
5 years agoparam: rename lp function and variable from 'passwordserver' to 'password_server'
Garming Sam [Mon, 3 Feb 2014 02:52:14 +0000 (15:52 +1300)]
param: rename lp function and variable from 'passwordserver' to 'password_server'

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
5 years agoparam: rename lp function and variable from 'lockdir' to 'lock_directory'
Garming Sam [Mon, 3 Feb 2014 02:46:08 +0000 (15:46 +1300)]
param: rename lp function and variable from 'lockdir' to 'lock_directory'

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
5 years agoparam: rename lp function and variable from 'guestaccount' to 'guest_account'
Garming Sam [Mon, 3 Feb 2014 02:22:13 +0000 (15:22 +1300)]
param: rename lp function and variable from 'guestaccount' to 'guest_account'

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
5 years agoparam: rename lp function and variable from 'magicchar' to 'mangling_char'
Garming Sam [Mon, 3 Feb 2014 02:16:06 +0000 (15:16 +1300)]
param: rename lp function and variable from 'magicchar' to 'mangling_char'

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
5 years agoparam: rename lp function and variable from 'defaultcase' to 'default_case'
Garming Sam [Mon, 3 Feb 2014 02:12:09 +0000 (15:12 +1300)]
param: rename lp function and variable from 'defaultcase' to 'default_case'

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
5 years agoparam: rename lp function and variable from 'manglednames' to 'mangled_names'
Garming Sam [Mon, 3 Feb 2014 02:06:25 +0000 (15:06 +1300)]
param: rename lp function and variable from 'manglednames' to 'mangled_names'

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
5 years agoparam: rename lp function and variable from 'casesensitive' to 'case_sensitive'
Garming Sam [Mon, 3 Feb 2014 02:01:01 +0000 (15:01 +1300)]
param: rename lp function and variable from 'casesensitive' to 'case_sensitive'

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
5 years agoparam: rename lp function and variable from 'dontdescend' to 'dont_descend'
Garming Sam [Mon, 3 Feb 2014 01:56:12 +0000 (14:56 +1300)]
param: rename lp function and variable from 'dontdescend' to 'dont_descend'

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
5 years agoparam: rename lp function and variable from 'force_dir_mode' to 'force_directory_mode'
Garming Sam [Mon, 3 Feb 2014 01:48:28 +0000 (14:48 +1300)]
param: rename lp function and variable from 'force_dir_mode' to 'force_directory_mode'

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
5 years agos3: modules: streaminfo: As we have no VFS function SMB_VFS_LLISTXATTR we can't cope...
Jeremy Allison [Fri, 7 Feb 2014 18:19:26 +0000 (10:19 -0800)]
s3: modules: streaminfo: As we have no VFS function SMB_VFS_LLISTXATTR we can't cope with a symlink when lp_posix_pathnames() is true.

Fix bug : Bug 10429 - samba returns STATUS_OBJECT_NAME_NOT_FOUND when attempting to remove dangling symlink

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Jeff Layton <jlayton@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat Feb  8 00:01:16 CET 2014 on sn-devel-104

5 years agosmbd: Fix memory overwrites
Volker Lendecke [Fri, 7 Feb 2014 15:37:38 +0000 (16:37 +0100)]
smbd: Fix memory overwrites

SIVAL writes 32 bit, not 16

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Fri Feb  7 20:07:23 CET 2014 on sn-devel-104

5 years agodbwrap: use DBWRAP_LOCK_ORDER_VALID() in db_open()
Michael Adam [Tue, 28 Jan 2014 10:58:05 +0000 (11:58 +0100)]
dbwrap: use DBWRAP_LOCK_ORDER_VALID() in db_open()

instead of the hand written test.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Fri Feb  7 18:05:51 CET 2014 on sn-devel-104

5 years agodbwrap: completely check validity of lock order in dbwrap_check_lock_order()
Michael Adam [Mon, 27 Jan 2014 16:34:31 +0000 (17:34 +0100)]
dbwrap: completely check validity of lock order in dbwrap_check_lock_order()

This is currently not strictly necessay, because the
only caller catches the DBWRAP_LOCK_ORDER_NONE case,
and maximum is already checked,  but this seems too dangerous to me.

Use the new DBWRAP_LOCK_ORDER_VALID() macro.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
5 years agodbwrap: add a comment explaining the supported lock orders
Michael Adam [Tue, 28 Jan 2014 10:44:21 +0000 (11:44 +0100)]
dbwrap: add a comment explaining the supported lock orders

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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

5 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>
5 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>
5 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>
5 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

5 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

5 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>
5 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>
5 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

5 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

5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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

5 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>
5 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>
5 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>
5 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>
5 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>
5 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

5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>