diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2010-06-15 10:35:25 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-06-16 16:22:50 -0400 |
commit | 564d213ea3f0957a3337cd0f1d63e766e16ce6d8 (patch) | |
tree | b8adcbffc18f814c9cbcb3bf23ced557836f2ac2 /src/tests | |
parent | b45080c6697297bc85edc6d492dbaab45cb7c4f0 (diff) | |
download | sssd-564d213ea3f0957a3337cd0f1d63e766e16ce6d8.tar.gz sssd-564d213ea3f0957a3337cd0f1d63e766e16ce6d8.tar.bz2 sssd-564d213ea3f0957a3337cd0f1d63e766e16ce6d8.zip |
Standardize on correct spelling of "principal" for krb5
https://fedorahosted.org/sssd/ticket/542
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/krb5_utils-tests.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tests/krb5_utils-tests.c b/src/tests/krb5_utils-tests.c index 3e7c2ec7..54b18cb1 100644 --- a/src/tests/krb5_utils-tests.c +++ b/src/tests/krb5_utils-tests.c @@ -37,7 +37,7 @@ #define USERNAME "testuser" #define UID "12345" -#define PRINCIPLE_NAME "testuser@EXAMPLE.COM" +#define PRINCIPAL_NAME "testuser@EXAMPLE.COM" #define REALM "REALM.ORG" #define HOME_DIRECTORY "/home/testuser" #define CCACHE_DIR "/var/tmp" @@ -379,7 +379,7 @@ void setup_talloc_context(void) pd->user = discard_const(USERNAME); kr->uid = atoi(UID); - kr->upn = PRINCIPLE_NAME; + kr->upn = PRINCIPAL_NAME; pd->cli_pid = atoi(PID); krb5_ctx->opts = talloc_zero_array(tmp_ctx, struct dp_option, KRB5_OPTS); @@ -457,8 +457,8 @@ END_TEST START_TEST(test_upn) { - do_test(BASE"_%p", CCACHE_DIR, BASE"_"PRINCIPLE_NAME, false); - do_test("%d/"FILENAME, BASE"_%p", BASE"_"PRINCIPLE_NAME"/"FILENAME, true); + do_test(BASE"_%p", CCACHE_DIR, BASE"_"PRINCIPAL_NAME, false); + do_test("%d/"FILENAME, BASE"_%p", BASE"_"PRINCIPAL_NAME"/"FILENAME, true); } END_TEST |