Wednesday, March 30, 2016

[389-commits] ldap/servers

ldap/servers/slapd/ldaputil.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 696e29b9a48733f3dcc105ee15847b4a1a270b24
Author: Graham Leggett <minfrin@sharp.fm>
Date: Wed Mar 30 23:20:51 2016 +0200

Ticket #48781 - Vague error message: setup_ol_tls_conn - failed: unable to create new TLS context

Include the underlying error code to the message "failed: unable to create new TLS context".

https://fedorahosted.org/389/ticket/48781

Reviewed by nhosoi@redhat.com.

diff --git a/ldap/servers/slapd/ldaputil.c b/ldap/servers/slapd/ldaputil.c
index 9281e20..e62d1f2 100644
--- a/ldap/servers/slapd/ldaputil.c
+++ b/ldap/servers/slapd/ldaputil.c
@@ -608,7 +608,7 @@ setup_ol_tls_conn(LDAP *ld, int clientauth)
that optval is ignored - what matters is that it is not NULL */
if ((rc = ldap_set_option(ld, LDAP_OPT_X_TLS_NEWCTX, &optval))) {
slapi_log_error(SLAPI_LOG_FATAL, "setup_ol_tls_conn",
- "failed: unable to create new TLS context\n");
+ "failed: unable to create new TLS context - %d\n", rc);
}

return rc;

--
389 commits mailing list
389-commits@%(host_name)s
http://lists.fedoraproject.org/admin/lists/389-commits@lists.fedoraproject.org

No comments:

Post a Comment