diff options
author | Theodore Tso <tytso@mit.edu> | 1995-05-05 04:56:00 +0000 |
---|---|---|
committer | Theodore Tso <tytso@mit.edu> | 1995-05-05 04:56:00 +0000 |
commit | 4f899d27fe46faddbb527ca4ab9c40bbc2d16f54 (patch) | |
tree | d7e29a3caf0ab7002d45cbd070353f264089a32e /src/lib/krb5/krb/t_krb5.conf | |
parent | 42848b7219afc576f0550f5cbe9f6706d72ff6ac (diff) | |
download | krb5-4f899d27fe46faddbb527ca4ab9c40bbc2d16f54.tar.gz krb5-4f899d27fe46faddbb527ca4ab9c40bbc2d16f54.tar.xz krb5-4f899d27fe46faddbb527ca4ab9c40bbc2d16f54.zip |
conv_princ.c (krb5_425_conv_principal): Use new calling
convention of krb5_get_realm_domain, which is that it
returns the realm *without* the leading dot.
Also use the profile code to look up individual instance
conversions using [realms]/<realm>/v4_instance_convert/<inst>
This allows special case handling of mit.edu and
lithium.lcs.mit.edu.
t_kerb.c: New file for testing krb library functions. Currently
only tests krb5_425_conv_principal.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5726 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/krb5/krb/t_krb5.conf')
-rw-r--r-- | src/lib/krb5/krb/t_krb5.conf | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/lib/krb5/krb/t_krb5.conf b/src/lib/krb5/krb/t_krb5.conf new file mode 100644 index 000000000..5882d9770 --- /dev/null +++ b/src/lib/krb5/krb/t_krb5.conf @@ -0,0 +1,29 @@ +[libdefaults] + ticket_lifetime = 600 + default_realm = ATHENA.MIT.EDU + +[realms] + ATHENA.MIT.EDU = { + kdc = KERBEROS-2.MIT.EDU:88 + kdc = KERBEROS.MIT.EDU + kdc = KERBEROS-1.MIT.EDU + admin_server = KERBEROS.MIT.EDU + default_domain = MIT.EDU + v4_instance_convert = { + mit = mit.edu + lithium = lithium.lcs.mit.edu + } + } + CYGNUS.COM = { + kdc = KERBEROS-1.CYGNUS.COM + kdc = KERBEROS.CYGNUS.COM + admin_server = KERBEROS.MIT.EDU + } + +[domain_realm] + .mit.edu = ATHENA.MIT.EDU + mit.edu = ATHENA.MIT.EDU + .media.mit.edu = MEDIA-LAB.MIT.EDU + media.mit.edu = MEDIA-LAB.MIT.EDU + .ucsc.edu = CATS.UCSC.EDU + |