if (inst->profile_attr) {
autz_ctx->profile_values = ldap_get_values_len(handle, autz_ctx->entry, inst->profile_attr);
+ if (autz_ctx->profile_values) {
+ RDEBUG2("Processing profile(s) found in attribute \"%s\"", inst->profile_attr);
+ } else {
+ RDEBUG2("No profile(s) found in attribute \"%s\"", inst->profile_attr);
+ }
+
if (RDEBUG_ENABLED3) {
for (struct berval **bv_p = autz_ctx->profile_values; *bv_p; bv_p++) {
RDEBUG3("Will evaluate profile with DN \"%pV\"", fr_box_strvalue_len((*bv_p)->bv_val, (*bv_p)->bv_len));
if (inst->profile_attr_suspend) {
autz_ctx->profile_values = ldap_get_values_len(handle, autz_ctx->entry, inst->profile_attr_suspend);
+ if (autz_ctx->profile_values) {
+ RDEBUG2("Processing suspension profile(s) found in attribute \"%s\"", inst->profile_attr_suspend);
+ } else {
+ RDEBUG2("No suspension profile(s) found in attribute \"%s\"", inst->profile_attr_suspend);
+ }
+
if (RDEBUG_ENABLED3) {
for (struct berval **bv_p = autz_ctx->profile_values; *bv_p; bv_p++) {
- RDEBUG3("Will evaluate suspended profile with DN \"%pV\"", fr_box_strvalue_len((*bv_p)->bv_val, (*bv_p)->bv_len));
+ RDEBUG3("Will evaluate suspenension profile with DN \"%pV\"",
+ fr_box_strvalue_len((*bv_p)->bv_val, (*bv_p)->bv_len));
}
}
}