diff options
Diffstat (limited to 'server/providers/dp_backend_store.c')
-rw-r--r-- | server/providers/dp_backend_store.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/providers/dp_backend_store.c b/server/providers/dp_backend_store.c index e518f43..9bccb21 100644 --- a/server/providers/dp_backend_store.c +++ b/server/providers/dp_backend_store.c @@ -71,7 +71,7 @@ int dp_be_store_account_posix(struct be_ctx *ctx, account_dn, LDB_SCOPE_BASE, "(objectClass=User)", attrs, NULL, res, ldb_search_default_callback, NULL); - if (!lret) { + if (lret != LDB_SUCCESS) { DEBUG(1, ("Failed to build search request (%d) !?\n", lret)); ret = EIO; goto done; |