From a882f619c9360e8c8457f71a1466c10edb6906d0 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 4 Nov 2006 19:38:08 +0000 Subject: r19555: Silently ignore --use-cached-creds for compatibility with Samba3's ntlm_auth. Patch by Kai Blin. (This used to be commit 2167552b9a869c408c5ba17dcba3367241934767) --- source4/utils/ntlm_auth.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source4') diff --git a/source4/utils/ntlm_auth.c b/source4/utils/ntlm_auth.c index 1961daeb10..ceefd0de09 100644 --- a/source4/utils/ntlm_auth.c +++ b/source4/utils/ntlm_auth.c @@ -94,6 +94,7 @@ static const char *opt_domain; static const char *opt_workstation; static const char *opt_password; static int opt_multiplex; +static int use_cached_creds; static void mux_printf(unsigned int mux_id, const char *format, ...) PRINTF_ATTRIBUTE(2, 3); @@ -978,6 +979,7 @@ enum { OPT_DIAGNOSTICS, OPT_REQUIRE_MEMBERSHIP, OPT_MULTIPLEX, + OPT_USE_CACHED_CREDS, }; int main(int argc, const char **argv) @@ -1003,6 +1005,7 @@ int main(int argc, const char **argv) { "username", 0, POPT_ARG_STRING, &opt_username, OPT_PASSWORD, "Username"}, { "password", 0, POPT_ARG_STRING, &opt_password, OPT_PASSWORD, "User's plaintext password"}, { "multiplex", 0, POPT_ARG_NONE, &opt_multiplex, OPT_MULTIPLEX, "Multiplex Mode"}, + { "use-cached-creds", 0, POPT_ARG_NONE, &use_cached_creds, OPT_USE_CACHED_CREDS, "silently ignored for compatibility reasons"}, POPT_COMMON_SAMBA POPT_COMMON_VERSION { NULL } -- cgit