summaryrefslogtreecommitdiffstats
path: root/pki/base/tps/src/authentication/LDAP_Authentication.cpp
diff options
context:
space:
mode:
authormharmsen <mharmsen@c9f7a03b-bd48-0410-a16d-cbbf54688b0b>2009-04-17 20:33:09 +0000
committermharmsen <mharmsen@c9f7a03b-bd48-0410-a16d-cbbf54688b0b>2009-04-17 20:33:09 +0000
commit09841aad724e7c8b265cb9297914e1f2b11d243b (patch)
tree64dd7273f8ed5e5a3213a5cbf8e0a1dcba33246d /pki/base/tps/src/authentication/LDAP_Authentication.cpp
parenta8358321a9ec54779a712b4984c108ddbe536885 (diff)
downloadpki-09841aad724e7c8b265cb9297914e1f2b11d243b.tar.gz
pki-09841aad724e7c8b265cb9297914e1f2b11d243b.tar.xz
pki-09841aad724e7c8b265cb9297914e1f2b11d243b.zip
Bugzilla Bug #489063 - Smart card formatting/enrollment spits user password
to the debug log. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@395 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
Diffstat (limited to 'pki/base/tps/src/authentication/LDAP_Authentication.cpp')
-rw-r--r--pki/base/tps/src/authentication/LDAP_Authentication.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/pki/base/tps/src/authentication/LDAP_Authentication.cpp b/pki/base/tps/src/authentication/LDAP_Authentication.cpp
index 696f0f989..c0678f3ea 100644
--- a/pki/base/tps/src/authentication/LDAP_Authentication.cpp
+++ b/pki/base/tps/src/authentication/LDAP_Authentication.cpp
@@ -213,7 +213,7 @@ int LDAP_Authentication::Authenticate(AuthParams *params)
} else {
for (e = ldap_first_entry(ld, result); e != NULL; e = ldap_next_entry(ld, e)) {
if ((dn = ldap_get_dn(ld, e)) != NULL) {
-RA::Debug("LDAP_Authentication::Authenticate", "User bind required '%s' '%s'", dn, password);
+RA::Debug("LDAP_Authentication::Authenticate", "User bind required '%s' '(sensitive)'", dn );
if (ldap_simple_bind_s(ld, dn, password) == LDAP_SUCCESS) {
/* retrieve attributes and, */
/* put them into the auth parameters */