From: Uri Simchoni Date: Sun, 19 Nov 2017 13:02:56 +0000 (+0000) Subject: ldb-samba: use ldap enum instead of ldb enum X-Git-Tag: talloc-2.1.11~411 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5b1de1aee214319d2a2121b467a7671f1a5453db;p=thirdparty%2Fsamba.git ldb-samba: use ldap enum instead of ldb enum This silences a picky compiler warning. Signed-off-by: Uri Simchoni Reviewed-by: Andrew Bartlett --- diff --git a/lib/ldb-samba/ldb_ildap.c b/lib/ldb-samba/ldb_ildap.c index a4e96e4f138..0cdf738e0be 100644 --- a/lib/ldb-samba/ldb_ildap.c +++ b/lib/ldb-samba/ldb_ildap.c @@ -476,7 +476,7 @@ static int ildb_search(struct ildb_context *ac) } if (req->op.search.scope == LDB_SCOPE_DEFAULT) { - msg->r.SearchRequest.scope = LDB_SCOPE_SUBTREE; + msg->r.SearchRequest.scope = LDAP_SEARCH_SCOPE_SUB; } else { msg->r.SearchRequest.scope = req->op.search.scope; }