LDAP-UserDN is now in config items
authoraland <aland>
Thu, 17 Apr 2008 07:59:21 +0000 (07:59 +0000)
committeraland <aland>
Thu, 17 Apr 2008 07:59:21 +0000 (07:59 +0000)
src/modules/rlm_ldap/rlm_ldap.c

index f3d4bec..74d6421 100644 (file)
@@ -2084,7 +2084,7 @@ static int ldap_postauth(void *instance, REQUEST * request)
                                        return RLM_MODULE_FAIL;
                                }
 
-                               vp_fdn = pairfind(request->packet->vps, da->attr);
+                               vp_fdn = pairfind(request->config_items, da->attr);
                                if (vp_fdn == NULL) {
                                        DEBUG("rlm_ldap: User's FQDN not in config items list.");
                                        return RLM_MODULE_FAIL;