git.samba.org
/
tridge
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dsdb: improve debug message
[tridge/samba.git]
/
source4
/
dsdb
/
samdb
/
ldb_modules
/
new_partition.c
diff --git
a/source4/dsdb/samdb/ldb_modules/new_partition.c
b/source4/dsdb/samdb/ldb_modules/new_partition.c
index 3f730f97db598a94d8b934218e8b8b739e8b2cd8..eaf7d43b167cc33fe18284d0a97cf505bb4ee02a 100644
(file)
--- a/
source4/dsdb/samdb/ldb_modules/new_partition.c
+++ b/
source4/dsdb/samdb/ldb_modules/new_partition.c
@@
-65,7
+65,7
@@
static int np_part_mod_callback(struct ldb_request *req, struct ldb_reply *ares)
}
if (ares->type != LDB_REPLY_DONE) {
- ldb_
set_errstring(ldb, "Invalid reply type!"
);
+ ldb_
asprintf_errstring(ldb, "Invalid LDB reply type %d", ares->type
);
return ldb_module_done(ac->req, NULL, NULL,
LDB_ERR_OPERATIONS_ERROR);
}