summaryrefslogtreecommitdiffstats
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-01-14 13:40:53 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:40:46 -0500
commit1687e73abe84104ea0a3d396878ad30051963b1b (patch)
tree68c74306a727c6438d0c1af2d5aff5b654ffa771 /source4
parent677633480bfa2438d6af69fd2d48292184a08c2b (diff)
downloadsamba-1687e73abe84104ea0a3d396878ad30051963b1b.tar.gz
samba-1687e73abe84104ea0a3d396878ad30051963b1b.tar.xz
samba-1687e73abe84104ea0a3d396878ad30051963b1b.zip
r20760: also handle the case where no private data is attached to the module
metze (This used to be commit c8f5aad40af0741984ded2047931a77161f69ece)
Diffstat (limited to 'source4')
-rw-r--r--source4/dsdb/samdb/ldb_modules/kludge_acl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/kludge_acl.c b/source4/dsdb/samdb/ldb_modules/kludge_acl.c
index 7b2150bec8..8876db0482 100644
--- a/source4/dsdb/samdb/ldb_modules/kludge_acl.c
+++ b/source4/dsdb/samdb/ldb_modules/kludge_acl.c
@@ -122,7 +122,7 @@ static int kludge_acl_callback(struct ldb_context *ldb, void *context, struct ld
data = talloc_get_type(ac->module->private_data, struct kludge_private_data);
if (ares->type == LDB_REPLY_ENTRY
- && data->password_attrs) /* if we are not initialized just get through */
+ && data && data->password_attrs) /* if we are not initialized just get through */
{
switch (ac->user_type) {
case SYSTEM: