Hi Thanks a lot, now it works!!! Best, Thomas Am 22.02.2016 um 14:28 schrieb Alan DeKok:
On Feb 22, 2016, at 8:01 AM, Thomas Stather <Thomas.Stather@mpimf-heidelberg.mpg.de> wrote: ...
if (&Calling-Station-Id && (&Calling-Station-Id =~ /^${policy.mac-addr-regexp}$/i)) { update control { Note: control. (53) if ("%{ldap1:ldap:///ou=hosts,dc=testdomain,dc=de?macAddress?sub?macAddress=%{LDAP-MacAddress}}") { Note: no "control".
rlm_ldap (ldap1): Reserved connection (8) (53) Performing search in "ou=hosts,dc=testdomain,dc=de" with filter "macAddress=", scope "sub" As expected, there's no LDAP-MacAddress. There *is* a control:LDAP-MacAddress.
(53) Waiting for search result... (53) Search returned no results As expected.
Alan DeKok.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- Thomas Stather IT Services Tel: +49 6221-486 628 Fax: +49 6221-486 561 ------------------------------------------------------------------------ Max Planck Institute for Medical Research (MPImF) Jahnstrasse 29, 69120 Heidelberg Germany