]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
pdb_samba_dsdb: Fix an error return
authorVolker Lendecke <vl@samba.org>
Sun, 12 Jul 2026 07:36:28 +0000 (09:36 +0200)
committerAnoop C S <anoopcs@samba.org>
Mon, 3 Aug 2026 09:05:30 +0000 (09:05 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Anoop C S <anoopcs@samba.org>
source3/passdb/pdb_samba_dsdb.c

index 358b61bdc4da8210be8261129d992a8fc5c5f914..adee8ed5ab10613206225370f36348511408ebbd 100644 (file)
@@ -1934,7 +1934,7 @@ static bool pdb_samba_dsdb_search_filter(struct pdb_methods *m,
 
        if (!expression) {
                talloc_free(tmp_ctx);
-               return LDB_ERR_OPERATIONS_ERROR;
+               return false;
        }
 
        sstate = talloc_zero(tmp_ctx, struct pdb_samba_dsdb_search_state);