git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8990fb7
)
Revert "HACK force toggle in pdb_get_trust_credentials_cb"
author
Stefan Metzmacher
<metze@samba.org>
Wed, 11 Apr 2018 06:50:27 +0000
(08:50 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Wed, 11 Apr 2018 06:50:27 +0000
(08:50 +0200)
This reverts commit
8990fb72a4a968d1b490762726e84f23339a056e
.
source3/passdb/passdb.c
patch
|
blob
|
history
diff --git
a/source3/passdb/passdb.c
b/source3/passdb/passdb.c
index 76f9bc1891c977172817ba9c946a1cb20b1dfbe7..34b1c95291de9825ed5e5ec255a08248499f9bc3 100644
(file)
--- a/
source3/passdb/passdb.c
+++ b/
source3/passdb/passdb.c
@@
-2689,12
+2689,6
@@
NTSTATUS pdb_get_trust_credentials(const char *netbios_domain,
goto done;
}
- // HACK...
- if (prev_pw == NULL) {
- prev_pw = cur_pw;
- cur_pw = strdup("__cur_pw_invalid__");
- }
-
if (prev_pw == NULL) {
ok = cli_credentials_set_password(creds, cur_pw, CRED_SPECIFIED);
if (!ok) {