diff options
-rw-r--r-- | src/lib/kadm5/clnt/ChangeLog | 5 | ||||
-rw-r--r-- | src/lib/kadm5/clnt/client_init.c | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/kadm5/clnt/ChangeLog b/src/lib/kadm5/clnt/ChangeLog index ef1846c0f6..358d3335aa 100644 --- a/src/lib/kadm5/clnt/ChangeLog +++ b/src/lib/kadm5/clnt/ChangeLog @@ -1,3 +1,8 @@ +2004-06-24 Tom Yu <tlyu@mit.edu> + + * client_init.c (_kadm5_init_any)[DEBUG]: Print error from + clnttcp_create(). + 2004-06-15 Tom Yu <tlyu@mit.edu> * client_principal.c (eret): Add some debugging messages for some diff --git a/src/lib/kadm5/clnt/client_init.c b/src/lib/kadm5/clnt/client_init.c index 93768eafc3..b6996f9753 100644 --- a/src/lib/kadm5/clnt/client_init.c +++ b/src/lib/kadm5/clnt/client_init.c @@ -433,6 +433,9 @@ static kadm5_ret_t _kadm5_init_any(char *client_name, handle->clnt = clnttcp_create(&addr, KADM, KADMVERS, &fd, 0, 0); if (handle->clnt == NULL) { code = KADM5_RPC_ERROR; +#ifdef DEBUG + clnt_pcreateerror("clnttcp_create"); +#endif goto error; } handle->lhandle->clnt = handle->clnt; |