summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
Diffstat (limited to 'source4/auth')
-rw-r--r--source4/auth/auth_util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/auth/auth_util.c b/source4/auth/auth_util.c
index dbedde9190..5a5e779bf1 100644
--- a/source4/auth/auth_util.c
+++ b/source4/auth/auth_util.c
@@ -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;