--- rlm_ldap.c.orig 2008-04-15 09:25:54.000000000 -0400 +++ rlm_ldap.c 2008-04-15 09:29:00.000000000 -0400 @@ -2083,7 +2083,7 @@ 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;