mirror of
https://github.com/samba-team/samba.git
synced 2025-03-27 22:50:26 +03:00
ldb-samba: use ldap enum instead of ldb enum
This silences a picky compiler warning. Signed-off-by: Uri Simchoni <uri@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
9ad9f7bc5e
commit
5b1de1aee2
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user