Lines Matching defs:ldb_ret
294 int ldb_ret = -1;
354 ldb_ret = ldb_build_search_req_ex(&lreq, samdb, local_ctx,
361 if (ldb_ret != LDB_SUCCESS) {
393 ldb_ret = ldb_request(samdb, lreq);
395 if (ldb_ret != LDB_SUCCESS) {
399 ldb_ret = ldb_wait(lreq->handle, LDB_WAIT_ALL);
401 if (ldb_ret == LDB_SUCCESS) {
445 } else if (ldb_ret == LDB_SUCCESS) {
457 result = map_ldb_error(local_ctx, ldb_ret, &errstr);
480 int ldb_ret;
564 ldb_ret = ldb_modify(samdb, msg);
565 result = map_ldb_error(local_ctx, ldb_ret, &errstr);
592 int ldb_ret;
663 ldb_ret = ldb_add(samdb, msg);
664 result = map_ldb_error(local_ctx, ldb_ret, &errstr);
690 int ldb_ret;
708 ldb_ret = ldb_delete(samdb, dn);
709 result = map_ldb_error(local_ctx, ldb_ret, &errstr);
735 int ldb_ret;
796 ldb_ret = ldb_rename(samdb, olddn, newdn);
797 result = map_ldb_error(local_ctx, ldb_ret, &errstr);
825 int ldb_ret;
850 ldb_ret = ldb_search(samdb, local_ctx, &res,
852 if (ldb_ret != LDB_SUCCESS) {
853 result = map_ldb_error(local_ctx, ldb_ret, &errstr);