Skip to content

Commit

Permalink
Hide eDirectory passwords too
Browse files Browse the repository at this point in the history
  • Loading branch information
arr2036 committed Feb 17, 2014
1 parent 7d7eb49 commit 20f52e5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/modules/rlm_ldap/rlm_ldap.c
Expand Up @@ -926,7 +926,12 @@ static rlm_rcode_t mod_authorize(void *instance, REQUEST *request)
pairstrcpy(vp, password);
vp->length = pass_size;

RDEBUG2("Added eDirectory password. control:%s += '%s'", vp->da->name, vp->vp_strvalue);
if (RDEBUG_ENABLED3) {
RDEBUG3("Added eDirectory password. control:%s += '%s'", vp->da->name, vp->vp_strvalue);
} else {
RDEBUG2("Added eDirectory password");
}

if (inst->edir_autz) {
RDEBUG2("Binding as user for eDirectory authorization checks");
/*
Expand Down

0 comments on commit 20f52e5

Please sign in to comment.