summaryrefslogtreecommitdiff
path: root/source4/ldap_server
diff options
context:
space:
mode:
authorNadezhda Ivanova <nivanova@samba.org>2010-09-14 10:51:14 +0300
committerNadezhda Ivanova <nivanova@samba.org>2010-09-26 15:36:09 -0700
commit3d0e36bc87bd23e3d1bff7468db2eb99531d8d87 (patch)
tree487f7578915ab0cd49e79d3f26c63fa0cb593c23 /source4/ldap_server
parent5ffacff5c4a4799aacf97cbc28581f8e302c145c (diff)
downloadsamba-3d0e36bc87bd23e3d1bff7468db2eb99531d8d87.tar.gz
samba-3d0e36bc87bd23e3d1bff7468db2eb99531d8d87.tar.bz2
samba-3d0e36bc87bd23e3d1bff7468db2eb99531d8d87.zip
s4-ldap: Added a control to apply the access checks on read via LDAP
Diffstat (limited to 'source4/ldap_server')
-rw-r--r--source4/ldap_server/ldap_backend.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/ldap_server/ldap_backend.c b/source4/ldap_server/ldap_backend.c
index 6faaa30c2f..6a518e48a3 100644
--- a/source4/ldap_server/ldap_backend.c
+++ b/source4/ldap_server/ldap_backend.c
@@ -579,6 +579,7 @@ static NTSTATUS ldapsrv_SearchRequest(struct ldapsrv_call *call)
}
}
+ ldb_request_add_control(lreq, DSDB_CONTROL_SEARCH_APPLY_ACCESS, false, NULL);
ldb_set_timeout(samdb, lreq, req->timelimit);
ldb_ret = ldb_request(samdb, lreq);