Author: abartlet Date: 2005-12-01 04:54:28 +0000 (Thu, 01 Dec 2005) New Revision: 11989
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=11989 Log: 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 Modified: branches/SAMBA_4_0/source/auth/auth_util.c Changeset: Modified: branches/SAMBA_4_0/source/auth/auth_util.c =================================================================== --- branches/SAMBA_4_0/source/auth/auth_util.c 2005-12-01 04:52:54 UTC (rev 11988) +++ branches/SAMBA_4_0/source/auth/auth_util.c 2005-12-01 04:54:28 UTC (rev 11989) @@ -604,16 +604,7 @@ } 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;