From 0e476e7ce0b10f58992771ffcdffd6ce97b3109e Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 1 Dec 2005 04:54:28 +0000 Subject: r11989: Rather than grabbing the machine account details at this point, grab them 'later'. We will need to handle the errors when we call the get_* methods. Andrew Bartlett (This used to be commit c6e572f87022b57cdfd8178eb5c23df67a92c453) --- source4/auth/auth_util.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'source4/auth/auth_util.c') 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; -- cgit