We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a24c736 commit d83714aCopy full SHA for d83714a
plugins/sudoers/ldap_conf.c
@@ -338,7 +338,7 @@ sudo_ldap_decode_secret(const char *secret)
338
}
339
340
341
- debug_return_str((char *)result);
+ debug_return_str_masked((char *)result);
342
343
344
static void
@@ -637,7 +637,7 @@ sudo_ldap_read_config(const struct sudoers_context *ctx)
637
DPRINTF1("binddn %s",
638
ldap_conf.binddn ? ldap_conf.binddn : "(anonymous)");
639
DPRINTF1("bindpw %s",
640
- ldap_conf.bindpw ? ldap_conf.bindpw : "(anonymous)");
+ ldap_conf.bindpw ? "********" : "(anonymous)");
641
if (ldap_conf.bind_timelimit > 0) {
642
DPRINTF1("bind_timelimit %d", ldap_conf.bind_timelimit);
643
0 commit comments