diff options
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/trans2.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index 8b6a15f9f8..1a381950df 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -3684,9 +3684,11 @@ static void call_trans2setfsinfo(connection_struct *conn, * encryption is now *on*. */ status = srv_encryption_start(conn); if (!NT_STATUS_IS_OK(status)) { - exit_server_cleanly( - "Failure in setting " - "up encrypted transport"); + char *reason = talloc_asprintf(talloc_tos(), + "Failure in setting " + "up encrypted transport: %s", + nt_errstr(status)); + exit_server_cleanly(reason); } } return; |