[29730] in CVS-changelog-for-Kerberos-V5
krb5 commit: Fix kadmind debug printf to show kprop port
daemon@ATHENA.MIT.EDU (Greg Hudson)
Fri Oct 7 11:10:26 2016
Date: Fri, 7 Oct 2016 11:10:23 -0400
From: Greg Hudson <ghudson@mit.edu>
Message-Id: <201610071510.u97FAMDB000442@drugstore.mit.edu>
To: cvs-krb5@mit.edu
Reply-To: krbdev@mit.edu
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cvs-krb5-bounces@mit.edu
https://github.com/krb5/krb5/commit/29dc209a135bae4e15d328348c2dab73e1f2afce
commit 29dc209a135bae4e15d328348c2dab73e1f2afce
Author: Robbie Harwood <rharwood@redhat.com>
Date: Thu Oct 6 14:40:14 2016 -0400
Fix kadmind debug printf to show kprop port
Previously, if kprop_port was set, the flags logged would not match the
actual invocation of kprop.
ticket: 8456
src/kadmin/server/ipropd_svc.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/kadmin/server/ipropd_svc.c b/src/kadmin/server/ipropd_svc.c
index 76d3fda..bce668f 100644
--- a/src/kadmin/server/ipropd_svc.c
+++ b/src/kadmin/server/ipropd_svc.c
@@ -391,12 +391,15 @@ ipropx_resync(uint32_t vers, struct svc_req *rqstp)
_exit(1);
}
- DPRINT("%s: exec `kprop -r %s -f %s %s' ...\n",
- whoami, handle->params.realm, dump_file, clhost);
if (kprop_port != NULL) {
+ DPRINT("%s: exec `kprop -r %s -f %s -P %s %s' ...\n",
+ whoami, handle->params.realm, dump_file, kprop_port,
+ clhost);
pret = execl(kprop, "kprop", "-r", handle->params.realm, "-f",
dump_file, "-P", kprop_port, clhost, NULL);
} else {
+ DPRINT("%s: exec `kprop -r %s -f %s %s' ...\n",
+ whoami, handle->params.realm, dump_file, clhost);
pret = execl(kprop, "kprop", "-r", handle->params.realm, "-f",
dump_file, clhost, NULL);
}
_______________________________________________
cvs-krb5 mailing list
cvs-krb5@mit.edu
https://mailman.mit.edu/mailman/listinfo/cvs-krb5