[SCM] Samba Shared Repository - branch master updated

Andreas Schneider asn at samba.org
Wed Apr 18 22:33:03 UTC 2018

The branch, master has been updated
       via  9985947 s3:passdb: Do not return OK if we don't have pinfo set up
      from  cc1eed9 build: add option to choose to build with or without JSON audit support


- Log -----------------------------------------------------------------
commit 99859479fc6e12b2f74ce2dfa83da56d8b8f3d26
Author: Andreas Schneider <asn at samba.org>
Date:   Tue Apr 17 08:55:23 2018 +0200

    s3:passdb: Do not return OK if we don't have pinfo set up
    This prevents a crash in fill_mem_keytab_from_secrets()
    BUG: https://bugzilla.samba.org/show_bug.cgi?id=13376
    Signed-off-by: Andreas Schneider <asn at samba.org>
    Reviewed-by: Stefan Metzmacher <metze at samba.org>
    Autobuild-User(master): Andreas Schneider <asn at cryptomilk.org>
    Autobuild-Date(master): Thu Apr 19 00:32:22 CEST 2018 on sn-devel-144


Summary of changes:
 source3/passdb/machine_account_secrets.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Changeset truncated at 500 lines:

diff --git a/source3/passdb/machine_account_secrets.c b/source3/passdb/machine_account_secrets.c
index 40511f9..94a7e21 100644
--- a/source3/passdb/machine_account_secrets.c
+++ b/source3/passdb/machine_account_secrets.c
@@ -1317,7 +1317,7 @@ NTSTATUS secrets_fetch_or_upgrade_domain_info(const char *domain,
 	last_set_time = secrets_fetch_pass_last_set_time(domain);
 	if (last_set_time == 0) {
-		return NT_STATUS_OK;
 	unix_to_nt_time(&last_set_nt, last_set_time);

Samba Shared Repository

More information about the samba-cvs mailing list