Fix option processing in smbcacls - add POPT_COMMON_CONNECTION.
authorJeremy Allison <jra@samba.org>
Mon, 7 Jul 2008 22:50:39 +0000 (15:50 -0700)
committerJeremy Allison <jra@samba.org>
Mon, 7 Jul 2008 22:50:39 +0000 (15:50 -0700)
Jeremy.

source/utils/smbcacls.c

index 97d194ad75be6bfd5aca0b42ebb771ece4a13641..05349214680569118951ba9a15f5e57490d1c46f 100644 (file)
@@ -900,8 +900,9 @@ static struct cli_state *connect_one(const char *server, const char *share)
                { "numeric", 0, POPT_ARG_NONE, &numeric, True, "Don't resolve sids or masks to names" },
                { "test-args", 't', POPT_ARG_NONE, &test_args, True, "Test arguments"},
                POPT_COMMON_SAMBA
+               POPT_COMMON_CONNECTION
                POPT_COMMON_CREDENTIALS
-               { NULL }
+               POPT_TABLEEND
        };
 
        struct cli_state *cli;