Initialize flags.
authoraland <aland>
Mon, 8 May 2006 23:45:02 +0000 (23:45 +0000)
committeraland <aland>
Mon, 8 May 2006 23:45:02 +0000 (23:45 +0000)
src/modules/rlm_ldap/rlm_ldap.c

index 1966932..aa709cd 100644 (file)
@@ -464,6 +464,7 @@ ldap_instantiate(CONF_SECTION * conf, void **instance)
 
        DEBUG("rlm_ldap: Registering ldap_groupcmp for Ldap-Group");
        paircompare_register(PW_LDAP_GROUP, PW_USER_NAME, ldap_groupcmp, inst);
+       memset(&flags, 0, sizeof(flags));
 
        xlat_name = cf_section_name2(conf);
        if (xlat_name != NULL){