1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-20 22:50:26 +03:00

s3/utils: fix regression where specifying -Unetbios/root works

Usually you need to be root on a linux server to modify quotas. Even
with a linux server joined to a windows AD you could always log in as
local root with smbcquotas. However in recent builds this has changed.
This patch fixes this

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

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Noel Power <npower@samba.org>
Autobuild-Date(master): Tue Jul 31 19:45:59 CEST 2018 on sn-devel-144
This commit is contained in:
Noel Power 2018-06-28 16:04:24 +01:00 committed by Karolin Seeger
parent 807611fe3b
commit 4b91f85260

View File

@ -533,7 +533,8 @@ static struct cli_state *connect_one(const char *share)
share, "?????",
get_cmdline_auth_info_username(
popt_get_cmdline_auth_info()),
lp_workgroup(),
get_cmdline_auth_info_domain(
popt_get_cmdline_auth_info()),
get_cmdline_auth_info_password(
popt_get_cmdline_auth_info()),
flags,