summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-12-01 04:54:28 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:46:55 -0500
commit0e476e7ce0b10f58992771ffcdffd6ce97b3109e (patch)
tree4e127d694d0cbc4f0959718df350c9ae6312c178 /source4/auth
parent0a1b8f58a212ed2ed2814b2e8a4845790f5f23e4 (diff)
downloadsamba-0e476e7ce0b10f58992771ffcdffd6ce97b3109e.tar.gz
samba-0e476e7ce0b10f58992771ffcdffd6ce97b3109e.tar.bz2
samba-0e476e7ce0b10f58992771ffcdffd6ce97b3109e.zip
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)
Diffstat (limited to 'source4/auth')
-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;