r12058: Set an anonymous fallback, if the machine account isn't available.
authorAndrew Bartlett <abartlet@samba.org>
Mon, 5 Dec 2005 01:36:53 +0000 (01:36 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:47:02 +0000 (13:47 -0500)
Andrew Bartlett
(This used to be commit 55cb72f5cfe9a2c520c30e11ab34896588e91730)

source4/auth/auth_util.c

index dbedde919085bbd3d50c3e00b14120ea9bc3f396..5a5e779bf12c5b2f661c2418a14bd8bff2fe81d2 100644 (file)
@@ -604,6 +604,8 @@ NTSTATUS auth_system_session_info(TALLOC_CTX *parent_ctx,
        }
 
        cli_credentials_set_conf(session_info->credentials);
+       /* set anonymous as the fallback, if the machine account won't work */
+       cli_credentials_set_anonymous(session_info->credentials);
        cli_credentials_set_machine_account_pending(session_info->credentials);
        *_session_info = session_info;