]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
use error string
authorAlan T. DeKok <aland@freeradius.org>
Thu, 31 May 2018 00:04:42 +0000 (20:04 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 31 May 2018 00:04:42 +0000 (20:04 -0400)
src/lib/ldap/map.c

index 619f15201867256fa9a1909d6ab3f0ecd9e13a69..b242eb5a349cfa4f635fae6a3e63a54e8e69be95 100644 (file)
@@ -120,7 +120,7 @@ int fr_ldap_map_getvalue(TALLOC_CTX *ctx, VALUE_PAIR **out, REQUEST *request, vp
                                                   self->values[i]->bv_len, '\0', true) < 0) {
                                RPWDEBUG("Failed parsing value \"%pV\" for attribute %s: %s",
                                         fr_box_strvalue_len(self->values[i]->bv_val, self->values[i]->bv_len),
-                                        map->lhs->tmpl_da->name);
+                                        map->lhs->tmpl_da->name, fr_strerror());
 
                                talloc_free(vp); /* also frees escaped */
                                continue;