summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/librpc/crypto/gse_krb5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/librpc/crypto/gse_krb5.c b/source3/librpc/crypto/gse_krb5.c
index 735dff059e..830d517bc7 100644
--- a/source3/librpc/crypto/gse_krb5.c
+++ b/source3/librpc/crypto/gse_krb5.c
@@ -280,7 +280,7 @@ static krb5_error_code get_mem_keytab_from_secrets(krb5_context krbctx,
goto out;
}
- pwd_old = secrets_fetch_machine_password(lp_workgroup(), NULL, NULL);
+ pwd_old = secrets_fetch_prev_machine_password(lp_workgroup());
if (!pwd_old) {
DEBUG(10, (__location__ ": no prev machine password\n"));
} else {