From 0d9219dc93e028e067fc7bf633be8e38ad9900aa Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Sun, 16 May 2010 02:49:45 +0000 Subject: [PATCH] Force hostname to lower-case for use in principal names git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24039 dc483132-0cff-0310-8789-dd5450dbe970 --- src/util/k5test.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/util/k5test.py b/src/util/k5test.py index 880c6bd4f..e506afa7c 100644 --- a/src/util/k5test.py +++ b/src/util/k5test.py @@ -1030,7 +1030,8 @@ buildtop = _find_buildtop() srctop = _find_srctop() plugins = _find_plugins() _runenv = _import_runenv() -hostname = socket.getfqdn() +# This gets used for principal names, so force it to lower case. +hostname = socket.getfqdn().lower() null_input = open(os.devnull, 'r') krb5kdc = os.path.join(buildtop, 'kdc', 'krb5kdc') -- 2.26.2