git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
747ebc1
)
s3-librpc Fix creation of in-memory keytab for previous password
author
Andrew Bartlett
<abartlet@samba.org>
Tue, 5 Apr 2011 23:10:13 +0000
(09:10 +1000)
committer
Andrew Bartlett
<abartlet@samba.org>
Wed, 6 Apr 2011 02:34:58 +0000
(12:34 +1000)
We set the current password twice, rather than the current and old
password.
Andrew Bartlett
source3/librpc/crypto/gse_krb5.c
patch
|
blob
|
history
diff --git
a/source3/librpc/crypto/gse_krb5.c
b/source3/librpc/crypto/gse_krb5.c
index 735dff059e954aa5776d049b54664c2df66cd581..830d517bc7c728c1f07630184b70a7b799e1da58 100644
(file)
--- 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 {