mirror of
https://github.com/samba-team/samba.git
synced 2024-12-29 11:21:54 +03:00
r20760: also handle the case where no private data is attached to the module
metze
This commit is contained in:
parent
93e6dbaf5b
commit
c8f5aad40a
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user