Allow delayed references to attributes. Helps with #711
authorAlan T. DeKok <aland@freeradius.org>
Wed, 25 Jun 2014 21:20:19 +0000 (17:20 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 25 Jun 2014 21:20:19 +0000 (17:20 -0400)
commit64b01c2622b6e54eb1d090cf8d790c4b8d2050b7
tree3c026c101d4f856287afedd07540998a6cc2a0e7
parent664b61978715c6a30baaea6c40dee492b3b03637
Allow delayed references to attributes.  Helps with #711

The short answer for the issue is to use attribute references.

if (&ldap-psec-Ldap-Group == "Professors") {
    ...
}

however, using "&" would result in an error.  This commit allows
the "&", which will make the check work.
src/main/parser.c