summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb/ldb_modules/wscript_build
diff options
context:
space:
mode:
authorNadezhda Ivanova <nivanova@samba.org>2010-09-26 11:47:47 -0700
committerNadezhda Ivanova <nivanova@samba.org>2010-09-26 15:36:09 -0700
commit99ac4e92ff3205f80ef0fe823cbbd05eed7d2bb6 (patch)
tree369b26b108b2b42119c4548e98da9bda3e81f9ec /source4/dsdb/samdb/ldb_modules/wscript_build
parent93ba17285d8afb0d6e4040bf443e88ca4ad5147e (diff)
downloadsamba-99ac4e92ff3205f80ef0fe823cbbd05eed7d2bb6.tar.gz
samba-99ac4e92ff3205f80ef0fe823cbbd05eed7d2bb6.tar.bz2
samba-99ac4e92ff3205f80ef0fe823cbbd05eed7d2bb6.zip
s4-ldbmodules: Added new module aclread to handle access checks on LDAP search
It is currently enabled only if the request comes from the LDAP server, and is disabled by default. Use acl:search=true in smb.conf to enable it. It filters out all objects the user is not allowed to see, and all attributes the user does not have RP on. Extended access not supported yet.
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules/wscript_build')
-rw-r--r--source4/dsdb/samdb/ldb_modules/wscript_build8
1 files changed, 8 insertions, 0 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/wscript_build b/source4/dsdb/samdb/ldb_modules/wscript_build
index f6b5c28456..e455ae9249 100644
--- a/source4/dsdb/samdb/ldb_modules/wscript_build
+++ b/source4/dsdb/samdb/ldb_modules/wscript_build
@@ -331,3 +331,11 @@ bld.SAMBA_MODULE('ldb_lazy_commit',
init_function='LDB_MODULE(lazy_commit)',
deps='SAMDB'
)
+
+bld.SAMBA_MODULE('ldb_aclread',
+ source='acl_read.c',
+ subsystem='ldb',
+ init_function='LDB_MODULE(aclread)',
+ internal_module=not bld.CONFIG_SET('USING_SYSTEM_LDB'),
+ deps='talloc LIBEVENTS LIBSECURITY SAMDB'
+ )