Michael Adam
a7ca55c8da
shadow_copy2: add snapshot_basepath to the config.
...
This is the absolute version of snapdir.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-10-05 09:21:13 +13:00
Michael Adam
d34dc1b002
shadow_copy2: add rel_connectpath to config.
...
This is the share root, relative to the basedir.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-10-05 09:21:11 +13:00
Michael Adam
2d5a3af4bc
shadow_copy2: introduce "shadow:mountpoint" option
...
Possiblity to explicitly set the share's mount point.
This is useful mainly for debugging and testing purposes.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-10-05 09:21:10 +13:00
Michael Adam
ed751b9ee4
shadow_copy2: re-add the basedir option.
...
Disable basedir if it is not an absolute path or if
snapdirseverywhere or crossmountpoints is enabled.
Pair-Programmed-With: Björn Baumbach <bb@sernet.de>
Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Björn Baumbach <bb@sernet.de>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-10-05 09:21:09 +13:00
Michael Adam
1e887fcda0
shadow_copy2: disable "snapdir:crossmountpoints" if the snapdir is absolute.
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-10-05 09:21:07 +13:00
Michael Adam
843954989c
shadow_copy2: introduce the bool "snapdir_absolute" in the config.
...
Not exposed but to be used internally.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-10-05 09:21:05 +13:00
Michael Adam
1ecef57435
shadow_copy2: introduce config struct and function shadow_copy2_connect()
...
This moves the parsing of the config to a central place.
So users of configuation don't need to call lp_parm_... all the time.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-10-05 09:21:01 +13:00
Michael Adam
6da7375cd8
shadow_copy2: add comment explaining the SMB level GMT format pattern
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-10-05 09:21:00 +13:00
Michael Adam
5c900fd930
shadow_copy2: add comment block explaining shadow_copy2_convert()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-10-05 09:20:58 +13:00
Michael Adam
5da5512985
shadow_copy2: add comment block explaining shadow_copy2_insert_string()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-10-05 09:20:56 +13:00
Michael Adam
b90d1e6ac0
shadow_copy2: add comment block explaining shadow_copy2_find_snapdir()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-10-05 09:20:55 +13:00
Michael Adam
5b494b3dea
shadow_copy2: add header comment explaining have_snapdir()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-10-05 09:20:53 +13:00
Michael Adam
9361824ddd
shadow_copy2: add comment header describing shadow_copy2_strip_snapshot()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-10-05 09:20:51 +13:00
Michael Adam
01cb88977d
shadow_copy2: break overly long lines in shadow_copy2_snapshot_to_gmt()
...
According to coding guidelines.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-10-05 09:20:49 +13:00
Jeremy Allison
8f201fe6f3
Remove dead code. Now we have no SWAT we don't use the invalid_services array or associated counter.
...
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: David Disseldorp <ddiss@suse.de>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Oct 3 03:22:36 CEST 2013 on sn-devel-104
2013-10-03 03:22:36 +02:00
Michael Adam
c3a5fecdc1
smbd:smb2: fix error code when the header says the request is signed but we don't have a sesseion
...
I.e. when the request is a session setup.
We replied with ACCESS_DENIED, but windows expects USER_SESSION_DELETED
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): Wed Oct 2 22:07:44 CEST 2013 on sn-devel-104
2013-10-02 22:07:44 +02:00
Stefan Metzmacher
4a7b792bc6
s3:smb2_server: don't rely on the SMB2_HDR_FLAG_SIGNED if signing is required
...
Windows (at least the test suites) may skip the SMB2_HDR_FLAG_SIGNED
in a reauth session setup, but still provide a valid signature.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-10-02 15:11:22 +02:00
Michael Adam
280f21a961
net: allow "net idmap get ranges" to list all ranges
...
Omission of SID parameter lists ranges for all domains.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Wed Oct 2 12:23:33 CEST 2013 on sn-devel-104
2013-10-02 12:23:33 +02:00
Michael Adam
b2ed2d814b
idmap_autorid: allow iterate functions to operate on all domain ranges
...
by allowing handed in domsid to be NULL
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
2013-10-02 10:31:19 +02:00
Michael Adam
7c2b83d15e
net: implement "net idmap delete ranges"
...
Inspired by a patch by Atul Kulkarni <atul.kulkarni@in.ibm.com>.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
2013-10-02 00:50:14 +02:00
Michael Adam
a6f6ad8d22
idmap_autorid: add idmap_autorid_delete_domain_ranges()
...
This uses the new idmap_autorid_iterate_domain_ranges() function.
Based on earlier patch by Atul Kulkarni <atul.kulkarni@in.ibm.com>.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
2013-10-02 00:50:14 +02:00
Michael Adam
fe8a8b50b5
net: add "net idmap get ranges" operation for autorid
...
Implemented using the idmap_autorid_iterate_domain_ranges_read() function.
Based on earlier patch by Atul Kulkarni <atul.kulkarni@in.ibm.com>.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
2013-10-02 00:50:13 +02:00
Michael Adam
97dfa06151
idmap_autorid: add idmap_autorid_iterate_domain_ranges[_read]()
...
Functions to perform an action on all domain range mappings for
a given domain, specified by the domain sid.
Inspired by a previous patch by Atul Kulkarni <atul.kulkarni@in.ibm.com>.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
2013-10-02 00:50:12 +02:00
Michael Adam
54a33ebf27
net: implement "net idmap delete range"
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
2013-10-02 00:50:12 +02:00
Michael Adam
1dd9218de9
idmap_autorid: add idmap_autorid_delete_range_by_num()
...
query and delete a mapping specified by the range number.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
2013-10-02 00:50:11 +02:00
Michael Adam
6cdae0dd30
idmap_autorid: add idmap_autorid_delete_range_by_sid()
...
Delete a range mapping as specified by domain SID and range index.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
2013-10-02 00:50:10 +02:00
Michael Adam
9b7f9f90d2
idmap_autorid: add idmap_autorid_build_keystr_talloc()
...
talloc version of idmap_autorid_build_keystr()
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
2013-10-02 00:50:10 +02:00
Michael Adam
6d8cc47039
idmap_autorid: extend idmap_autorid_addrange to allow to set mappings below the HWM
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
2013-10-02 00:50:09 +02:00
Michael Adam
350916c11d
net: implement "net idmap get range"
...
get the range for a domain sid and range index.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
2013-10-02 00:50:09 +02:00
Michael Adam
8371f5981d
idmap_autorid: improve clarity of idmap_autorid_addrange_action() by adding mem_ctx.
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
2013-10-02 00:50:07 +02:00
Michael Adam
5aed3fabac
net: add "net idmap set range" (for autorid backend)
...
This lets the admin store a range for a domain/index pair.
Call syntax is:
net idmap set range <RANGE> <DOMSID> [<INDEX>]
INDEX defaults to 0.
Pair-Programmed-With: Atul Kulkarni <atul.kulkarni@in.ibm.com>
Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Atul Kulkarni <atul.kulkarni@in.ibm.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
2013-10-02 00:50:07 +02:00
Volker Lendecke
d2c892cd2e
net idmap: add utility function parse_uint32()
...
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-10-02 00:06:35 +02:00
Atul Kulkarni
063ec55e13
net: add "net idmap get config" to read the autorid config from the database
...
Pair-Programmed-With: Michael Adam <obnox@samba.org>
Signed-off-by: Atul Kulkarni <atul.kulkarni@in.ibm.com>
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
2013-10-02 00:06:34 +02:00
Michael Adam
1be6c5787b
net: add "net idmap get" command
...
This has no subcommands yet and is added in preparation of adding some.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
2013-10-02 00:06:34 +02:00
Atul Kulkarni
050fb746b3
net: add "net idmap set config" command to store the autorid global config
...
Pair-Programmed-With: Michael Adam <obnox@samba.org>
Signed-off-by: Atul Kulkarni <atul.kulkarni@in.ibm.com>
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
2013-10-02 00:06:33 +02:00
Michael Adam
375168a16e
idmap_autorid: add idmap_autorid_saveconfigstr()
...
Store a configuration as provided by a config string
after parsing and validating the string.
Based on similar patch by Atul Kulkarni <atul.kulkarni@in.ibm.com>.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
2013-10-02 00:06:32 +02:00
Atul Kulkarni
d560cd11e4
net: add new function net_idmap_opendb_autorid()
...
This checks the backend is autorid, and opens the db if so.
If readonly == true, the DB is simply opened for reading.
If readonly == false, the DB is created if necessary and
initialized with HWMs.
Pair-Programmed-With: Michael Adam <obnox@samba.org>
Signed-off-by: Atul Kulkarni <atul.kulkarni@in.ibm.com>
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
2013-10-02 00:06:31 +02:00
Michael Adam
f531c369eb
net: rename "idmap_dump_ctx" to "net_idmap_ctx".
...
This started specific, but is now generic.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
2013-10-02 00:06:31 +02:00
Michael Adam
29a94b0e1b
net: move the "net idmap delete" functionality to subcommand "net idmap delete mapping"
...
This is in preparation of adding more types of entries to delete...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
2013-10-02 00:06:30 +02:00
Michael Adam
68c4414fa5
net: add the "net idmap set secret" subcommand as alias for "net idmap secret"
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
2013-10-02 00:06:30 +02:00
Michael Adam
a064119cf2
net: move the "net idmap set" functionality to subcommand "net idmap set mapping"
...
This is in preparation of adding more "net idmap set" subcommands for the autorid backend.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
2013-10-02 00:06:29 +02:00
Michael Adam
601b67bc57
net: rename "net idmap setmap" to "net idmap set"
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
2013-10-02 00:06:29 +02:00
Michael Adam
873ae9c6b7
net: improve help text for "net idmap restore"
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
2013-10-02 00:06:28 +02:00
Michael Adam
01e1794a11
net: improve help text for "net idmap dump"
...
With idmap autorid "dump ID mappings" is not precise enough any more.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
2013-10-02 00:06:28 +02:00
Michael Adam
4d0d348994
idmap_autorid: add a comment explaining idmap_autorid_saveconfig()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
2013-10-02 00:06:27 +02:00
Michael Adam
ae88bcd1f0
idmap_autorid: add a comment explaining idmap_autorid_loadconfig()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
2013-10-02 00:06:27 +02:00
Michael Adam
4deba6090b
idmap_autorid: add a comment explaining idmap_autorid_db_init()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
2013-10-02 00:06:26 +02:00
Michael Adam
4c937f2dd2
idmap_autorid: add a comment explaining idmap_autorid_init_hwm()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
2013-10-02 00:06:26 +02:00
Michael Adam
7cde714cfd
idmap_autorid: add a comment explaining idmap_autorid_get_domainrange()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
2013-10-02 00:06:25 +02:00
Michael Adam
e8c9161a95
idmap_autorid: Don't use db as a temporary talloc context.
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
2013-10-02 00:06:25 +02:00
Michael Adam
11ea83e9ae
idmap_autorid: improve two debug messages by printing NT error codes
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
2013-10-02 00:06:24 +02:00
Michael Adam
85a15cac44
idmap_autorid: fix a debug message in idmap_autorid_addrange()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
2013-10-02 00:06:24 +02:00
Michael Adam
266fddfe6a
idmap_autorid: for clarity, add a wrapper idmap_autorid_acquire_range() to idmap_autorid_addrange()
...
This one calls into the HWM bumping acquire code path.
Pair-Programmed-With: Atul Kulkarni <atul.kulkarni@in.ibm.com>
Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Atul Kulkarni <atul.kulkarni@in.ibm.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
2013-10-02 00:06:23 +02:00
Michael Adam
4350bfba46
idmap_autorid: add new function idmap_autorid_setrange()
...
This allows to directly set a range for a domsid#index pair.
It fails if a stored range is found which is different from
the requested one.
Pair-Programmed-With: Atul Kulkarni <atul.kulkarni@in.ibm.com>
Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Atul Kulkarni <atul.kulkarni@in.ibm.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
2013-10-02 00:06:23 +02:00
Michael Adam
6e08f5a792
idmap_autorid: factor out domain range adding code into a separate function
...
This also adds a new mode to the new idmap_autorid_addrange() function
that allows to set a provided range if the range is available, instead
of the original only mode of automatically allocating a new range
by incrementing the HWM counter.
Pair-Programmed-With: Atul Kulkarni <atul.kulkarni@in.ibm.com>
Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Atul Kulkarni <atul.kulkarni@in.ibm.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
2013-10-02 00:06:22 +02:00
Michael Adam
69dbc1577b
idmap_autorid: add idmap_autorid_getrange()
...
Wrapper to idmap_autorid_getrange_int().
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
2013-10-02 00:06:22 +02:00
Michael Adam
e598ed1698
idmap_autorid: improve a debug message in idmap_autorid_getrange_int()
...
Add output of status code.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
2013-10-02 00:06:21 +02:00
Atul Kulkarni
7d2fdaac6e
idmap_autorid: factor out domain range fetching part from idmap_autorid_get_domainrange()
...
Fatored out read-only function idmap_autorid_getrange() will be used elsewhere.
Pair-Programmed-With: Michael Adam <obnox@samba.org>
Signed-off-by: Atul Kulkarni <atul.kulkarni@in.ibm.com>
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
2013-10-02 00:06:21 +02:00
Volker Lendecke
94ca5dc0bd
idmap_autorid: Use fstr_sprintf in idmap_autorid_build_keystr()
...
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-10-02 00:06:20 +02:00
Michael Adam
2d8cc3ed9e
idmap_autorid: factor building of the keystr into a function
...
to avoid code duplication.
Pair-Programmed-with: Atul Kulkarni <atul.kulkarni@in.ibm.com>
Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Atul Kulkarni <atul.kulkarni@in.ibm.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
2013-10-02 00:06:19 +02:00
Atul Kulkarni
f8767cd9d8
idmap_autorid: remove fstring keystr from autorid_range_config
...
This is just used to change the behaviour of the function.
Making it more suitable to be used at other places.
Signed-off-by: Atul Kulkarni <atul.kulkarni@in.ibm.com>
Reviewed-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
2013-10-02 00:06:19 +02:00
Atul Kulkarni
7cacc48563
idmap_autorid: remove autorid_global_config member from autorid_range_config
...
global config is not part of range config.
By removing this, autorid_range_config becomes more suitable
for using it elsewhere.
Pair-Programmed-With: Michael Adam <obnox@samba.org>
Signed-off-by: Atul Kulkarni <atul.kulkarni@in.ibm.com>
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
2013-10-02 00:06:18 +02:00
Michael Adam
65d7df1055
idmap_autorid: improve idmap_autorid_saveconfig() by adding a talloc stackframe
...
Pair-Programmed-With: Atul Kulkarni <atul.kulkarni@in.ibm.com>
Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Atul Kulkarni <atul.kulkarni@in.ibm.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
2013-10-02 00:06:18 +02:00
Atul Kulkarni
65881c3118
idmap_autorid: move the checks from idmap_autorid_initialize to idmap_autorid_saveconfig()
...
Pair-Programmed-With: Michael Adam <obnox@samba.org>
Signed-off-by: Atul Kulkarni <atul.kulkarni@in.ibm.com>
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
2013-10-02 00:06:17 +02:00
Michael Adam
802b9d7ec6
idmap_autorid: change idmap_autorid_loadconfig() to return NTSTATUS
...
for better error propagation.
Pair-Programmed-With: Atul Kulkarni <atul.kulkarni@in.ibm.com>
Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Atul Kulkarni <atul.kulkarni@in.ibm.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
2013-10-01 12:04:44 +00:00
Michael Adam
f6c34b1e23
idmap_autorid: refactor idmap_autorid_parse_configstr() out of idmap_autorid_loadconfig()
...
This will be used for other purposes as well.
Pair-Programmed-with: Atul Kulkarni <atul.kulkarni@in.ibm.com>
Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Atul Kulkarni <atul.kulkarni@in.ibm.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
2013-10-01 12:03:29 +00:00
Michael Adam
42a6bb7228
idmap_autorid: rename TALLOC_CTX argument of idmap_autorid_loadconfig() to mem_ctx
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
2013-10-01 12:02:32 +00:00
Michael Adam
56c80d1c82
idmap_autorid: refactor idmap_autorid_loadconfig to use idmap_config_getconfigstr
...
Pair-Programmed-with: Atul Kulkarni <atul.kulkarni@in.ibm.com>
Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Atul Kulkarni <atul.kulkarni@in.ibm.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
2013-10-01 12:01:07 +00:00
Michael Adam
173cdfe0a4
idmap_autorid_tdb: add idmap_autorid_getconfigstr()
...
Pair-Programmed-With: Atul Kulkarni <atul.kulkarni@in.ibm.com>
Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Atul Kulkarni <atul.kulkarni@in.ibm.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
2013-10-01 11:59:29 +00:00
Atul Kulkarni
f80f43c772
idmap_autorid: extract common code to separate file
...
This is in preparation of adding "net idmap autorid" functionality.
Pair-Programmed-With: Michael Adam <obnox@samba.org>
Signed-off-by: Atul Kulkarni <atul.kulkarni@in.ibm.com>
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
2013-10-01 11:27:26 +00:00
Michael Adam
41450fe1c3
idmap_autorid: remove the ignore_builtin bool from the global_config struct
...
The ignore_builtin flag is used only to change the bahaviour of the
daemon code, not in the database.
Pair-Programmed-With: Michael Adam <obnox@samba.org>
Signed-off-by: Atul Kulkarni <atul.kulkarni@in.ibm.com>
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
2013-10-01 11:25:27 +00:00
Atul Kulkarni
954d9fbd45
idmap_autorid: add path, and db parameters to idmap_autorid_db_init()
...
In preparation of calling this from net for different dbs.
Pair-Programmed-With: Michael Adam <obnox@samba.org>
Signed-off-by: Atul Kulkarni <atul.kulkarni@in.ibm.com>
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
2013-10-01 11:23:52 +00:00
Michael Adam
105475c77e
idmap_autorid: add a db_context argument to idmap_autorid_init_hwm()
...
Pair-Programmed-With: Atul Kulkarni <atul.kulkarni@in.ibm.com>
Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Atul Kulkarni <atul.kulkarni@in.ibm.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
2013-10-01 11:23:14 +00:00
Michael Adam
a54e21bdc3
idmap_autorid: add a db_context argument to idmap_autorid_saveconfig()
...
Pair-Programmed-with: Atul Kulkarni <atul.kulkarni@in.ibm.com>
Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Atul Kulkarni <atul.kulkarni@in.ibm.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
2013-10-01 11:22:16 +00:00
Michael Adam
dd004e8193
idmap_autorid: add a db_context argument to idmap_autorid_loadconfig()
...
Pair-Programmed-with: Atul Kulkarni <atul.kulkarni@in.ibm.com>
Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Atul Kulkarni <atul.kulkarni@in.ibm.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
2013-10-01 11:21:40 +00:00
Michael Adam
fdf8d93ac5
idmap_autorid: add a db_context argument to idmap_autorid_get_domainrange()
...
Pair-Programmed-with: Atul Kulkarni <atul.kulkarni@in.ibm.com>
Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Atul Kulkarni <atul.kulkarni@in.ibm.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
2013-10-01 11:20:54 +00:00
Alistair Leslie-Hughes
6bf9a77471
Stop use after free
...
Fixes bug #10087
Thanks to Man Min Yan for their analysis and providing a solution to the issue.
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Sep 27 14:29:46 CEST 2013 on sn-devel-104
2013-09-27 14:29:43 +02:00
Michael Adam
58cb40d50b
build: get rid of vars=locals() in source3/lib/netapi/examples/wscript_build
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Wed Sep 25 00:51:31 CEST 2013 on sn-devel-104
2013-09-25 00:51:31 +02:00
Michael Adam
41d818e8d8
build: get rid of vars=locals() in source3/modules/wscript_build
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
2013-09-24 23:00:48 +02:00
Michael Adam
7e966397ec
build: get rid of source variables and vars=locals() in source3/rpc_server/wscript_build
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
2013-09-24 23:00:44 +02:00
Michael Adam
f7112e07cc
build: get rid of source strings from source3/passdb/wscript_build
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
2013-09-24 23:00:38 +02:00
Michael Adam
9f15535821
build: get rid of source variables and vars=locals() in source3/libgpo/gpext/wscript_build
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
2013-09-24 23:00:35 +02:00
Michael Adam
7e974dbd92
build: get rid of vars=locals() in source3/auth/wscript_build
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
2013-09-24 23:00:31 +02:00
Michael Adam
c6e16183e1
build: get rid of source-variables in source3/auth/wscript_build
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
2013-09-24 23:00:21 +02:00
Michael Adam
f575b5c531
build: get rid of source file variables in source3/modules/wscript_build
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
2013-09-24 22:58:48 +02:00
Michael Adam
658fbefef7
libsmbconf:registry: add "state directory" to the list of forbidden parameters
...
At the time when the registry configuration was introduced,
the registry database file was placed in the "lock directory".
So the "lock directory" was added to the list of parameters
that may not be changed in the registry configuration
(because the next config reload would then load a different
registry and drop all the original seetings).
Later, "state directory" and "cache directory" were introduced,
both defaulting to "lock directory". And the registry's location
was changed to "state directory".
It slipped my attention that the forbidden parameters for the
should have been adapted at the time.
So this patch adds "state directory" to the list.
It keeps the lock directory, to catch the case
where the state directory is not explicitly set, hence
defaulting to the "lock directory".
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-24 07:44:29 +02:00
Michael Adam
7cfab6bc8d
selftest: include "state directory" in invalid parameters in registry roundtrip test
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-24 07:44:29 +02:00
Michael Adam
11ca7d9d60
selftest: add "state directory" to the forbidden parameters test in net conf
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-24 07:44:29 +02:00
Michael Adam
21be539590
selftest: add regression test for setting invalid parameters in registry config via "net [rpc] conf"
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-24 07:44:29 +02:00
Michael Adam
dc222d8b94
selftest: update SED_INVALID_PARAMS in the registry.roundtrip test
...
and add an explaining comment.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-24 07:44:29 +02:00
Michael Adam
8d67082adb
selftest: remove unused variables (copy'n'paste...) from test_net_conf.sh
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-24 07:44:29 +02:00
Michael Adam
1d9f281543
s3:net conf: add the same parameter checks to "setparm" as in "net rpc conf".
...
In "net rpc conf" these checks are necessary, since the that command
uses the plain rpc-registry interface at this moment, and so unfortunately
it has to duplicate the checks from the smbconf library.
Since "net conf" uses the registry, these checks are not necessary in
this command. I add them nonetheless to make the output more similar
to "net rpc conf". It is also a little more user friendy than just
printing "INVALID_PARAMETER" as handed back from libsmbconf.
Implement these checks by calling the new net_conf_param_valid() function.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-24 07:44:29 +02:00
Michael Adam
d16c2aabd7
s3:net: check for GLOBAL_NAME net_conf_param_valid()
...
instead of checking for literal "global"
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-24 07:44:28 +02:00
Michael Adam
f7cf09e661
s3:net rpc conf: factor validation of parameter out for re-use.
...
This goes into a new module net_conf_util to be shared
between net conf and net rpc conf.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-24 07:44:28 +02:00
Michael Adam
349bcafe09
s3:net rpc conf: rename canon_valname->canon_param_name for clarity in setparm.
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-24 07:44:28 +02:00
Michael Adam
a00f97a392
s3:net rpc conf: setparm: introduce variables service_name, param_name, valstr for clarity
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-24 07:44:28 +02:00
Michael Adam
3e53097689
s3:net rpc conf: reorganize the validity check and canonicalization of the input in "setparm"
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-24 07:44:28 +02:00
Michael Adam
429ab4ed02
libsmbconf:registry: clarify the appearance of "includes" in forbidden_names
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-24 07:44:28 +02:00
Michael Adam
76a008cd18
libsmbconf:registry: reorganize the validity check and canonicalization of the input in "setparm"
...
- first check that the name is an smbconf parameter
- then check that the parameter is allowed in the registry config
- then check that a global parameter is not to be set in a service section
- then canonicalize the parameter and value name, thereby checking that the
value has valid format
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-24 07:44:28 +02:00
Michael Adam
b7db29eb2a
s3:net rpc conf: print the provided parameter name on error, not the canonicalized one
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-24 07:44:28 +02:00
Michael Adam
bceb34543e
s3:net rpc conf: remove the (now) unused rpc_conf_reg_valname_forbidden()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-24 07:44:28 +02:00
Michael Adam
0c4e5fcc53
s3:net rpc conf: use the published smbconf_reg_parameter_is_valid()
...
Instead of the duplicated rpc_conf_reg_valname_forbidden()
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-24 07:44:28 +02:00
Michael Adam
c1be069be9
libsmbconf:registry: publish smbconf_reg_parameter_is_valid()
...
So that this does not need to be duplicated..
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-24 07:44:28 +02:00
Michael Adam
4a65969e11
libsmbconf:registry: rework smbconf_reg_parameter_forbidden(), renaming it.
...
The logic is inverted, the lp_parameter_is_invalid call of
smbconf_reg_valname_valid() is included, and the function
is renamed to smbconf_reg_parameter_is_valid().
Use the new function everywhere in smbconf registry backend.
And remove corresponding reverse function smbconf_reg_valname_valid().
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-24 07:44:28 +02:00
Michael Adam
c9a6805f3d
s3:modules: vfs_afsacl has the afs_syscall prototype via proto.h
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
2013-09-23 20:55:29 +02:00
Michael Adam
0fc53a1324
s3:include: remove duplicate prototypes from afs functions from proto.h
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:49:39 +02:00
Michael Adam
5fd4fd7c01
afs: implement afs_syscall() always, returning -1 if FAKE_KASERVER is not defined.
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
2013-09-23 20:49:02 +02:00
Michael Adam
771b7779b0
afs: format afs_syscall() properly
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:26:47 +02:00
Michael Adam
49179ec808
build: remove remaining occurrences of vars=locals() of source3/wscript_build
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:26:44 +02:00
Michael Adam
9ccca6397c
build: list source of binary split_tokens directly in def, remove vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:26:41 +02:00
Michael Adam
ba68add806
build: list source of dbwrap_torture directly in def, remove vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:26:38 +02:00
Michael Adam
e05a7a207e
build: list source of binary dbwrap_tool directly in def, remove vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:26:35 +02:00
Michael Adam
2dc6174c70
build: list source of binary rpc_open_tcp directly in dev, remove vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:26:32 +02:00
Michael Adam
636b7111c0
build: list source of binary vlp directly in dev, remove vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:26:29 +02:00
Michael Adam
ecb3c92b25
build: list sources of binary ntlm_auth directly in dev, remove vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:26:26 +02:00
Michael Adam
54b31d1f09
build: list sources of library nss_wins directly in dev
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:26:23 +02:00
Michael Adam
8c75910447
build: list source of binary smbfilter directly in def, remove vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:26:20 +02:00
Michael Adam
bc4aad7ae6
build: list sources of binary debug2html directly in def, remove vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:26:17 +02:00
Michael Adam
7059e00920
build: list source of binary sharesec() directly in def, remove vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:26:13 +02:00
Michael Adam
351bf39de4
build: list source of binary eventlogadm directly in def, remove vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:26:10 +02:00
Michael Adam
02b3eed492
build: list source of binary smbcquotas directly in def, remove vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:26:07 +02:00
Michael Adam
045e4c0a54
build: list source of binary smbcacls directly in def, remove vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:26:03 +02:00
Michael Adam
b7cce8ca9d
build: list source of binary locktest2 directly in def, remove vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:26:00 +02:00
Michael Adam
46f31157ca
build: list source of binary log2pcap directly in def, remove vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:25:57 +02:00
Michael Adam
74970a4caf
build: list sources of binary vfstest directly in def, remove vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:25:53 +02:00
Michael Adam
f70f3a0601
build: list source of binary pdbtest directly in def, remove vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:25:49 +02:00
Michael Adam
d15064adf2
build: list source of binary msgtest direcly in def, remove vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:25:46 +02:00
Michael Adam
26bc1d5e66
build: list sources of smbtorture(3) directly in dev, remove vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:25:43 +02:00
Michael Adam
351d7686a1
build: list source of binary nmblookup directly in source, remove vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:25:39 +02:00
Michael Adam
a0ec8b5040
build: list source of binary smbspool directly in def, remove vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:25:37 +02:00
Michael Adam
0d3c2fc76a
build: list sources of binary net directly in def, remove vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:25:34 +02:00
Michael Adam
4705f2ed80
build: list sources of subsys LIBNET_SAMSYNC directly in dev, remove vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:25:31 +02:00
Michael Adam
8038f39f1c
build: list source of subsys LIBNET_DSSYNC directly in def, remove vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:25:28 +02:00
Michael Adam
05c6040028
build: list source of subsys LIBNET directly in def, remove vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:25:25 +02:00
Michael Adam
f95e31f345
build: list sources of binary smbconftort directly in def, remove vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:25:22 +02:00
Michael Adam
69cfe18823
build: list sources of libsmbconf directly in def.
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:25:19 +02:00
Michael Adam
6a56d2fda0
build: list sources of library smbsharemodes directly in def, remov vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:25:15 +02:00
Michael Adam
b734297ab4
build: remove unused variable LIBSMBCLIENT_THREAD_SRC
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:25:12 +02:00
Michael Adam
0dee7c26a7
build: list sources of binary rpcclinet directly in def, remove vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:25:09 +02:00
Michael Adam
17a17783f9
build: list source of binary smbget directly in def, remove vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:25:06 +02:00
Michael Adam
06ef203b21
build: list source of binary pdbedit directly in def, remove vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:25:03 +02:00
Michael Adam
d346b1a8f5
build: list source of binary smbpasswd directly in def, remove vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:25:00 +02:00
Michael Adam
a693b32abe
build: list source of subsys PASSWD_UTIL directly in def, remove vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:24:58 +02:00
Michael Adam
f2dbe1ce81
build: list sources of binary test_lp_load directly in def, remove vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:24:54 +02:00
Michael Adam
c15f2207b4
build: list sources of binary smbta-util directly in def, removing vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-09-23 20:24:46 +02:00
Michael Adam
6c67554418
build: list source of binary testparm directly in dev, remove vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:24:42 +02:00
Michael Adam
50ee465cc1
build: list sources of smbtree direclty in def, remove vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:24:39 +02:00
Michael Adam
d49b39e085
build: list sources of binary smbcontrol directly in sources, remove vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:24:36 +02:00
Michael Adam
c0b8ceb21e
build: list sources of binary smbstatus directly in def, remove vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:24:33 +02:00
Michael Adam
95ab312169
build: list sources of subsys PRINTBACKEND direclty in def, remove vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:24:30 +02:00
Michael Adam
2d2c4efcde
build: list sources of subsys PRINTBASE directly in def, remove vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:24:27 +02:00
Michael Adam
bd85cecde7
build: list sources of subsys PRINTING directly in def, remove vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:24:23 +02:00
Michael Adam
1df37ec821
build: list source of binary smbd/smbd diectly in def, remove vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:24:21 +02:00
Michael Adam
bb1f91d059
build: list sources of subsys DCUTIL directly in def, remove vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:24:18 +02:00
Michael Adam
d68fe337dc
build: list sources of subsys SLCACHE directly in def, remove vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:24:14 +02:00
Michael Adam
78fcf1484b
build: list sources of subsys PLAINTEXT_AUTH directly in def, remove vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:24:11 +02:00
Michael Adam
bff339da1a
build: list source of FNAME_UTIL directly in def, remove vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:24:07 +02:00
Michael Adam
92a764e645
build: list sources of library smbd_base directly in def, remove vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:24:04 +02:00
Michael Adam
f14c3df89a
build: list sources of binary profiles directly in def, remov vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:24:01 +02:00
Michael Adam
0cbc839072
build: list source of subsys PROFILE directly in definition
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:23:58 +02:00
Michael Adam
a53be340ae
build: list source of subsys GROUPDB direclty in def
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:23:54 +02:00
Michael Adam
3f64a2a1f4
build: list sources of lib pdb directly in def, removing vars=locals()
...
Also, remove a comment
"#FIXME: lib/winbind_util.c probably is not part of PASSDB_SRC"
while moving he list:
lib/winbind_util.c is in fact a winbind wrapper for passdb.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:23:50 +02:00
Michael Adam
de8aaf0693
build: list sources of subsys LOCKING directly in def, remove vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:23:47 +02:00
Michael Adam
f21fefb378
build: list source of subsys RPC_CLIENT_SCHANNEL direclty in def, remove vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:23:43 +02:00
Michael Adam
dc89feefd3
build: list source of subsys LIBEVENTLOG directly in definition, remove vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:23:40 +02:00
Michael Adam
85b18b3790
build: list sources of SERVICES directly in def, remove vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:23:37 +02:00
Michael Adam
c54cde2989
build: list sources of REG_API_REGF directly in def, remove vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:23:34 +02:00
Michael Adam
2ddcd7833a
build: list sources of subsys REG_FULL directly in def, remov vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:23:31 +02:00
Michael Adam
845422c10c
build: list sources of subsys REG_SMBCONF directly in def, remove vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:23:28 +02:00
Michael Adam
b4d9783d5f
build: list sources of lib smbregistry directly in def, remove vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:23:23 +02:00
Michael Adam
a341a679e2
build: list sources of lib msrpc3 directly in def, removing vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:23:20 +02:00
Michael Adam
e03ddd1f0e
build: list sources of library libsmb directly in def, also removing vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:23:17 +02:00
Michael Adam
6ffbcfbbb6
build: list sources of subsys TLDAP directly in definition
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:23:14 +02:00
Michael Adam
43bd918446
build: list sources of subsys LIBNTLMSSP in definition, removing vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:23:11 +02:00
Michael Adam
2f055074e6
build: list sources of subsys LIBNMB directly in def, removing vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:23:07 +02:00
Michael Adam
2d5d0c2b8c
build: list sources of lib secrets3 directly in def, removing vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:23:05 +02:00
Michael Adam
ce4063ee7c
build: list source of subsys LIBADS_PRINTER directly in def, removing vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:23:02 +02:00
Michael Adam
17e5cbb2b3
build: list sources of subsystem LIBADS_SERVER directly in def, removing vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:22:59 +02:00
Michael Adam
a21616574b
build: list sources of library ads directly in sources, removing vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:22:56 +02:00
Michael Adam
40f19d60db
build: list sources of library gpo directly in definition, removing vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:22:53 +02:00
Michael Adam
178024154c
build: list source of subsystem KRBCLIENT directly in defintion, removing vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:22:49 +02:00
Michael Adam
9572a14c61
build: list source of subsystem param directly in definition
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:22:46 +02:00
Michael Adam
aac089708d
build: list source of subsystem PARAM_UTIL directly in definition and remove vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:22:43 +02:00
Michael Adam
18cca297ac
build: list source of library popt_samba3 directly in definition and rm vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:22:40 +02:00
Michael Adam
2b4d1affe8
build: list sources of subsystem samba3util directly in definition and remove vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:22:37 +02:00
Michael Adam
928c23705e
build: split REG_PARSE_PRS as subsystem and list sources of REGFIO directly.
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:22:34 +02:00
Michael Adam
d49ae221d0
build: list sources of libcli_netlogon3 library directly in the definition
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:22:30 +02:00
Michael Adam
bc2789e0f8
build: list sources of subsystem LIBCLI_SAMR directly in the definition
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:22:26 +02:00
Michael Adam
8d5c63b0cf
build: list sources of library libcli_lsa3 directly in the definition
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:22:23 +02:00
Michael Adam
559dc160d8
build: list sources of cli_spoolss directly in the definition.
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:22:20 +02:00
Michael Adam
a7e0d9d7be
build: list source of subsystem PASSCHANGE directly in definition and remove vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:22:17 +02:00
Michael Adam
2d4cc8e141
build: list source of subsystem SERVER_MUTEX directly in its definition
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:22:13 +02:00
Michael Adam
3345634677
build: list source of subsystem AVAHI directly in its definition.
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:22:10 +02:00
Michael Adam
d3dc82de3e
build: list LIB_SRC files directly in samba3core.
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:22:06 +02:00
Michael Adam
0895928e8f
build: define a subsystem TDB_LIB from TDB_LIB_SRC and depend on in sin samba3core
...
This also allows us to remove vars=locals() from samba3core.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:22:02 +02:00
Michael Adam
94caaa3867
build: list winbindd sources in definition and remove vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:21:58 +02:00
Michael Adam
2412682c0a
build: make TDB_VALIDATE its own subsystem and have winbindd depend on it
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:21:55 +02:00
Michael Adam
ac71b6f00c
build: LIBAFS depends on LIBAFS_SETTOKEN
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:21:51 +02:00
Michael Adam
63432e1b51
build: list sources directly in def of LIBAFS_SETTOKEN subsystem and remove vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:21:47 +02:00
Michael Adam
fe5b6189e5
build: list sources directly in the definition of LIBAFS subsystem and remove vars=locals()
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-09-23 20:21:44 +02:00