ldap Deprecated conditional expansion

Alan Buxey A.L.M.Buxey at lboro.ac.uk
Fri Feb 5 16:00:29 CET 2010


Hi,

> I keep seeing this in the logs:
> [ldap] WARNING: Deprecated conditional expansion ":-".  See "man unlang" 
> for details
> 
> I assume it's from this filter:
> [ldap]  expand: 
> (&(uid=%{Stripped-User-Name:-%{User-Name}})(!(inetCOS=802.1x_disabled))) 
> -> (&(uid=hh52)(!(inetCOS=802.1x_disabled)))
> 
> but I'm not sure what uid=%{Stripped-User-Name:-%{User-Name} should be 
> set to instead. Any ideas?

check the mailing archives or read the ldap module in the latest 2.1.8
release of FreeRADIUS

filter = "(uid=%{%{Stripped-User-Name}:-%{User-Name}})"


alan



More information about the Freeradius-Users mailing list