diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-09-11 17:41:38 +0200 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-09-11 17:41:38 +0200 |
commit | c0a863b6f35315a748fa3bb4ae4e4e7c48ad2102 (patch) | |
tree | a03797ac414c71c685247b8650d84b189c245c93 /source4/lib/ldb-samba/ldb_wrap.c | |
parent | ea3f21dff6c28dc26a3cf9223da84ff4c545b22c (diff) | |
download | samba-c0a863b6f35315a748fa3bb4ae4e4e7c48ad2102.tar.gz samba-c0a863b6f35315a748fa3bb4ae4e4e7c48ad2102.tar.bz2 samba-c0a863b6f35315a748fa3bb4ae4e4e7c48ad2102.zip |
s4:ldb_register_samba_handlers - fix up and convert result codes to LDB/LDAP results
Diffstat (limited to 'source4/lib/ldb-samba/ldb_wrap.c')
-rw-r--r-- | source4/lib/ldb-samba/ldb_wrap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb-samba/ldb_wrap.c b/source4/lib/ldb-samba/ldb_wrap.c index 13ab3edefe..ebc1818c76 100644 --- a/source4/lib/ldb-samba/ldb_wrap.c +++ b/source4/lib/ldb-samba/ldb_wrap.c @@ -192,7 +192,7 @@ static int ldb_wrap_destructor(struct ldb_wrap *w) * precedence over the 'binary attribute' declaration in the * schema */ ret = ldb_register_samba_handlers(ldb); - if (ret == -1) { + if (ret != LDB_SUCCESS) { talloc_free(ldb); return NULL; } |