Commit 31b1870c authored by rswindell's avatar rswindell
Browse files

Added function names to SSH error messages so we can better tell where

these errors are coming from.
parent b82792de
......@@ -114,7 +114,7 @@ int thread_suid_broken=TRUE; /* NPTL is no longer broken */
int GCES_level; \
get_crypt_error_string(status, sess, &GCES_estr, action, &GCES_level);\
if (GCES_estr) { \
lprintf(GCES_level, "Node %d SSH %s", node, GCES_estr); \
lprintf(GCES_level, "Node %d SSH %s from %s", node, GCES_estr, __FUNCTION__); \
free_crypt_attrstr(GCES_estr); \
} \
} while (0)
......@@ -124,7 +124,7 @@ int thread_suid_broken=TRUE; /* NPTL is no longer broken */
int GCES_level; \
get_crypt_error_string(status, sess, &GCES_estr, action, &GCES_level);\
if (GCES_estr) { \
lprintf(GCES_level, "SSH %s", GCES_estr); \
lprintf(GCES_level, "SSH %s from %s", GCES_estr, __FUNCTION__); \
free_crypt_attrstr(GCES_estr); \
} \
} while (0)
......@@ -134,7 +134,7 @@ int thread_suid_broken=TRUE; /* NPTL is no longer broken */
int GCES_level; \
get_crypt_error_string(status, sess, &GCES_estr, action, &GCES_level);\
if (GCES_estr) { \
lprintf(GCES_level, "%04d SSH %s", sock, GCES_estr); \
lprintf(GCES_level, "%04d SSH %s from %s", sock, GCES_estr, __FUNCTION__); \
free_crypt_attrstr(GCES_estr); \
} \
} while (0)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment