wbinfo: fix --ntlmv1 option
authorGary Lockyer <gary@catalyst.net.nz>
Wed, 30 Jan 2019 21:52:07 +0000 (10:52 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 20 Feb 2019 05:03:08 +0000 (06:03 +0100)
Currently using the --ntlmv1 option fails with an unknown option error.
This patch ensures that the option is correctly supported.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
nsswitch/wbinfo.c

index b6f0ff8ccbf6130eb6cdc7a7e7aa67dd97243916..6a1dbd9b56b9740e25252fe1a14ec751d49a3276 100644 (file)
@@ -3243,6 +3243,7 @@ int main(int argc, const char **argv, char **envp)
                /* generic configuration options */
                case OPT_DOMAIN_NAME:
                case OPT_VERBOSE:
+               case OPT_NTLMV1:
                case OPT_NTLMV2:
                case OPT_LANMAN:
                case OPT_LOGOFF_USER: