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>
This commit is contained in:
parent
f1fbba6dc6
commit
63a83fb7bb
@ -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