mirror of
https://github.com/samba-team/samba.git
synced 2025-02-02 09:47:23 +03:00
smbdotconf: mark "get quota command" with substitution="1"
Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
6e678cba77
commit
2503964149
@ -1,6 +1,7 @@
|
||||
<samba:parameter name="get quota command"
|
||||
context="G"
|
||||
type="string"
|
||||
type="string"
|
||||
substitution="1"
|
||||
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
|
||||
<description>
|
||||
<para>The <command>get quota command</command> should only be used
|
||||
|
@ -244,10 +244,12 @@ static struct {
|
||||
|
||||
static int command_get_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 *get_quota_command;
|
||||
char **lines = NULL;
|
||||
|
||||
get_quota_command = lp_get_quota_command(talloc_tos());
|
||||
get_quota_command = lp_get_quota_command(talloc_tos(), lp_sub);
|
||||
if (get_quota_command && *get_quota_command) {
|
||||
const char *p;
|
||||
char *p2;
|
||||
|
Loading…
x
Reference in New Issue
Block a user