projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0cd634
)
Force hostname to lower-case for use in principal names
author
Ken Raeburn
<raeburn@mit.edu>
Sun, 16 May 2010 02:49:45 +0000
(
02:49
+0000)
committer
Ken Raeburn
<raeburn@mit.edu>
Sun, 16 May 2010 02:49:45 +0000
(
02:49
+0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24039
dc483132
-0cff-0310-8789-
dd5450dbe970
src/util/k5test.py
patch
|
blob
|
history
diff --git
a/src/util/k5test.py
b/src/util/k5test.py
index 880c6bd4f2656b241f7654118e702de63a14d8f2..e506afa7c9e3b230007676aa69206135a2633f27 100644
(file)
--- 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')