svn rev #24039: trunk/src/util/
raeburn@MIT.EDU
raeburn at MIT.EDU
Sat May 15 22:49:45 EDT 2010
http://src.mit.edu/fisheye/changelog/krb5/?cs=24039
Commit By: raeburn
Log Message:
Force hostname to lower-case for use in principal names.
Changed Files:
U trunk/src/util/k5test.py
Modified: trunk/src/util/k5test.py
===================================================================
--- trunk/src/util/k5test.py 2010-05-14 18:21:44 UTC (rev 24038)
+++ trunk/src/util/k5test.py 2010-05-16 02:49:45 UTC (rev 24039)
@@ -1030,7 +1030,8 @@
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')
More information about the cvs-krb5
mailing list