summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb/ldb_modules
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-08-01 16:39:45 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-08-01 21:30:27 +0200
commit149f4251c5ae38d598a14aa899f5b418acf1c962 (patch)
tree991eb12f28a71d0c89759c51136e789b47a3a2b5 /source4/dsdb/samdb/ldb_modules
parent3f2a8d508123550c7fd4c7d29ab7d53f24a61629 (diff)
downloadsamba-149f4251c5ae38d598a14aa899f5b418acf1c962.tar.gz
samba-149f4251c5ae38d598a14aa899f5b418acf1c962.tar.bz2
samba-149f4251c5ae38d598a14aa899f5b418acf1c962.zip
s4:acl LDB module - remove unused call "is_root_base_dn"
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules')
-rw-r--r--source4/dsdb/samdb/ldb_modules/acl.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/acl.c b/source4/dsdb/samdb/ldb_modules/acl.c
index eedeb1a8b3..77503a664e 100644
--- a/source4/dsdb/samdb/ldb_modules/acl.c
+++ b/source4/dsdb/samdb/ldb_modules/acl.c
@@ -64,14 +64,6 @@ struct acl_context {
struct dsdb_schema *schema;
};
-bool is_root_base_dn(struct ldb_context *ldb, struct ldb_dn *dn_to_check)
-{
- int result;
- struct ldb_dn *root_base_dn = ldb_get_root_basedn(ldb);
- result = ldb_dn_compare(root_base_dn,dn_to_check);
- return (result==0);
-}
-
static struct security_token *acl_user_token(struct ldb_module *module)
{
struct ldb_context *ldb = ldb_module_get_ctx(module);