s3-passdb Initialise the correct level of pointer dereference
[ira/wip.git] / source3 / passdb / pdb_ldap.c
index b59eeb9a7e7a6a8a178f282da69f451f7660a94f..a89af8051b6e635e9556ea5fa41cf3e8825ed6b4 100644 (file)
@@ -3486,7 +3486,7 @@ static NTSTATUS ldapsam_enum_group_mapping(struct pdb_methods *methods,
        size_t entries = 0;
 
        *p_num_entries = 0;
-       **pp_rmap = NULL;
+       *pp_rmap = NULL;
 
        if (!NT_STATUS_IS_OK(ldapsam_setsamgrent(methods, False))) {
                DEBUG(0, ("ldapsam_enum_group_mapping: Unable to open "