git.samba.org
/
amitay
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
439a1fe
)
s4-dsdb Reset the error string after 'expected' errors.
author
Andrew Bartlett
<abartlet@samba.org>
Tue, 19 Oct 2010 11:30:26 +0000
(22:30 +1100)
committer
Andrew Bartlett
<abartlet@samba.org>
Tue, 19 Oct 2010 12:16:07 +0000
(12:16 +0000)
This helps ensure that we don't get confusing error strings in the
logs on other error cases.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Tue Oct 19 12:16:07 UTC 2010 on sn-devel-104
source4/dsdb/samdb/ldb_modules/util.c
patch
|
blob
|
history
diff --git
a/source4/dsdb/samdb/ldb_modules/util.c
b/source4/dsdb/samdb/ldb_modules/util.c
index e550630c5dd8eac9f4e108a91d60b0a137cf2be6..57066d9c88d655bcbc7ce534d2e1064705b651c9 100644
(file)
--- a/
source4/dsdb/samdb/ldb_modules/util.c
+++ b/
source4/dsdb/samdb/ldb_modules/util.c
@@
-689,6
+689,7
@@
int dsdb_module_load_partition_usn(struct ldb_module *module, struct ldb_dn *dn,
an implicit value of zero */
*uSN = 0;
talloc_free(tmp_ctx);
+ ldb_reset_err_string(ldb);
return LDB_SUCCESS;
}