summaryrefslogtreecommitdiff
path: root/source4/auth/auth_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/auth/auth_util.c')
-rw-r--r--source4/auth/auth_util.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/source4/auth/auth_util.c b/source4/auth/auth_util.c
index 809db642b3..dbedde9190 100644
--- a/source4/auth/auth_util.c
+++ b/source4/auth/auth_util.c
@@ -604,16 +604,7 @@ NTSTATUS auth_system_session_info(TALLOC_CTX *parent_ctx,
}
cli_credentials_set_conf(session_info->credentials);
-#if 0
- /* disabled for the moment. abartlet has plans to change this
- to set a flag saying 'get machine account credentials from
- here' rather than this system. */
- if (!NT_STATUS_IS_OK(cli_credentials_set_machine_account(session_info->credentials))) {
- /* perhaps no credentials, we might not be joined to a domain */
- talloc_free(session_info->credentials);
- session_info->credentials = NULL;
- }
-#endif
+ cli_credentials_set_machine_account_pending(session_info->credentials);
*_session_info = session_info;
return NT_STATUS_OK;