Fix option processing in smbcacls - add POPT_COMMON_CONNECTION.
authorJeremy Allison <jra@samba.org>
Mon, 7 Jul 2008 22:51:08 +0000 (15:51 -0700)
committerJeremy Allison <jra@samba.org>
Mon, 7 Jul 2008 22:51:08 +0000 (15:51 -0700)
Jeremy.
(This used to be commit 599d5f75c703a4cae3da87eb09b6a46285f6b074)

source3/utils/smbcacls.c

index 95ef6190e83d976bbdeb7461e671471df5628c7d..4d38793a23f10f0f82a027bbafe04b610e891702 100644 (file)
@@ -896,8 +896,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;