diff options
author | Nadezhda Ivanova <nivanova@samba.org> | 2010-09-14 10:51:14 +0300 |
---|---|---|
committer | Nadezhda Ivanova <nivanova@samba.org> | 2010-09-26 15:36:09 -0700 |
commit | 3d0e36bc87bd23e3d1bff7468db2eb99531d8d87 (patch) | |
tree | 487f7578915ab0cd49e79d3f26c63fa0cb593c23 /source4/ldap_server | |
parent | 5ffacff5c4a4799aacf97cbc28581f8e302c145c (diff) | |
download | samba-3d0e36bc87bd23e3d1bff7468db2eb99531d8d87.tar.gz samba-3d0e36bc87bd23e3d1bff7468db2eb99531d8d87.tar.xz 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.c | 1 |
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); |