git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c01efc1
)
s4:dsdb/common/util.c - test LDB result against LDB_SUCCESS as we are always doing
author
Matthias Dieter Wallnöfer
<mdw@samba.org>
Thu, 1 Dec 2011 08:33:10 +0000
(09:33 +0100)
committer
Matthias Dieter Wallnöfer
<mdw@samba.org>
Fri, 9 Dec 2011 11:00:03 +0000
(12:00 +0100)
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Fri Dec 9 12:00:03 CET 2011 on sn-devel-104
source4/dsdb/common/util.c
patch
|
blob
|
history
diff --git
a/source4/dsdb/common/util.c
b/source4/dsdb/common/util.c
index 826a1e459203733b1f0716be718d88e4b429b135..38391a99988ca9c75ab24df30e1f7e9424af4cc6 100644
(file)
--- a/
source4/dsdb/common/util.c
+++ b/
source4/dsdb/common/util.c
@@
-1306,7
+1306,7
@@
struct ldb_dn *samdb_ntds_settings_dn(struct ldb_context *ldb)
}
ret = ldb_search(ldb, tmp_ctx, &root_res, ldb_dn_new(tmp_ctx, ldb, ""), LDB_SCOPE_BASE, root_attrs, NULL);
- if (ret) {
+ if (ret
!= LDB_SUCCESS
) {
DEBUG(1,("Searching for dsServiceName in rootDSE failed: %s\n",
ldb_errstring(ldb)));
goto failed;