ldap module and expiration
Hi, I'm using freeradius 3.0.13 and I'm using it with openldap. I'm already mapped the ldap attributes, but unfortunately, I have radiusExpiration saved in ldap with double quotes and doesn't match the format that accepts. I have searched in this list and google how to strip first and last char of radiusExpire variable without result. Anyone knows how to do it? Error: (669) LDAP_A: WARNING: Failed parsing value "\"02 apr 2019\"" for attribute Expiration: failed to parse time string ""02 apr 2019"" /etc/raddb/mods-enabled/ldap ... update { ... control:Expiration := 'radiusExpiration' .... } Thanks.
On Mar 21, 2019, at 8:59 AM, jallamas@uma.es wrote:
I'm using freeradius 3.0.13 and I'm using it with openldap. I'm already mapped the ldap attributes, but unfortunately, I have radiusExpiration saved in ldap with double quotes and doesn't match the format that accepts.
I have searched in this list and google how to strip first and last char of radiusExpire variable without result. Anyone knows how to do it?
You can do it with a regular expression. But the real solution is to just get rid of the quotes in the database. Alan DeKok.
participants (2)
-
Alan DeKok -
jallamas@uma.es