mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
cmdline:burn: explicitly burn --username
This is the long form of -U in samba-tool.
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jo Sutton <josutton@catalyst.net.nz>
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15674
(cherry picked from commit 63a83fb7bb
)
This commit is contained in:
parent
481eb6ab31
commit
8560c854d4
@ -243,6 +243,10 @@ bool samba_cmdline_burn(int argc, char *argv[])
|
||||
ulen = 6;
|
||||
found = true;
|
||||
is_user = true;
|
||||
} else if (strneq_cmdline_exact(p, "--username", 10)) {
|
||||
ulen = 10;
|
||||
found = true;
|
||||
is_user = true;
|
||||
} else if (strncmp(p, "--", 2) == 0 && strstr(p, "pass")) {
|
||||
/*
|
||||
* We have many secret options like --password,
|
||||
|
@ -1 +0,0 @@
|
||||
^samba.unittests.cmdline.torture_cmdline_burn.none.$
|
Loading…
Reference in New Issue
Block a user