From: Ken Raeburn Date: Sun, 16 May 2010 02:49:45 +0000 (+0000) Subject: Force hostname to lower-case for use in principal names X-Git-Tag: krb5-1.9-beta1~235 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0d9219dc93e028e067fc7bf633be8e38ad9900aa;p=krb5.git 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 --- 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')