git.samba.org
/
metze
/
samba
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dsdb: Do not use free'd memory.
[metze/samba/wip.git]
/
source4
/
dsdb
/
common
/
util.c
diff --git
a/source4/dsdb/common/util.c
b/source4/dsdb/common/util.c
index 448b20ae040f44b4fa9c0582ec09b880accd4a37..d1777b3634e9eb660feea1d2082bc01e414a7622 100644
(file)
--- a/
source4/dsdb/common/util.c
+++ b/
source4/dsdb/common/util.c
@@
-2339,7
+2339,7
@@
static NTSTATUS samdb_set_password_internal(struct ldb_context *ldb, TALLOC_CTX
status = NT_STATUS_ACCESS_DENIED;
} else if (ret != LDB_SUCCESS) {
DEBUG(1, ("Failed to set password on %s: %s\n",
- ldb_dn_get_linearized(
msg->
dn),
+ ldb_dn_get_linearized(
user_
dn),
ldb_errstring(ldb)));
status = NT_STATUS_UNSUCCESSFUL;
}