Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
<samba:parameter name="set quota command"
context="G"
- type="string"
+ type="string"
+ substitution="1"
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
<description>
<para>The <command>set quota command</command> should only be used
static int command_set_quota(const char *path, enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *dp)
{
+ const struct loadparm_substitution *lp_sub =
+ loadparm_s3_global_substitution();
const char *set_quota_command;
- set_quota_command = lp_set_quota_command(talloc_tos());
+ set_quota_command = lp_set_quota_command(talloc_tos(), lp_sub);
if (set_quota_command && *set_quota_command) {
char **lines = NULL;
int _id = -1;