be6ad6e46ecb8c7126b421819046e7f4857a2babTimo Sirainen krb5_common - Test for some krb5 utility functions
be6ad6e46ecb8c7126b421819046e7f4857a2babTimo Sirainen Sumit Bose <sbose@redhat.com>
be6ad6e46ecb8c7126b421819046e7f4857a2babTimo Sirainen Copyright (C) 2016 Red Hat
be6ad6e46ecb8c7126b421819046e7f4857a2babTimo Sirainen This program is free software; you can redistribute it and/or modify
be6ad6e46ecb8c7126b421819046e7f4857a2babTimo Sirainen it under the terms of the GNU General Public License as published by
e2ce8d4a6ac5d82a906178148453e7613fab9ba0Timo Sirainen the Free Software Foundation; either version 3 of the License, or
e2ce8d4a6ac5d82a906178148453e7613fab9ba0Timo Sirainen (at your option) any later version.
be6ad6e46ecb8c7126b421819046e7f4857a2babTimo Sirainen This program is distributed in the hope that it will be useful,
be6ad6e46ecb8c7126b421819046e7f4857a2babTimo Sirainen but WITHOUT ANY WARRANTY; without even the implied warranty of
be6ad6e46ecb8c7126b421819046e7f4857a2babTimo Sirainen MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
e2ce8d4a6ac5d82a906178148453e7613fab9ba0Timo Sirainen GNU General Public License for more details.
be6ad6e46ecb8c7126b421819046e7f4857a2babTimo Sirainen You should have received a copy of the GNU General Public License
be6ad6e46ecb8c7126b421819046e7f4857a2babTimo Sirainen along with this program. If not, see <http://www.gnu.org/licenses/>.
3f7b9d04c1fb9b0a55ea2082214ea66a0ace96c7Timo Sirainen#define TEST_FAST_PRINC "fast_princ@" TEST_REALM
3f7b9d04c1fb9b0a55ea2082214ea66a0ace96c7Timo Sirainen#define TEST_CONF_DB "test_krb5_common_conf.ldb"
be6ad6e46ecb8c7126b421819046e7f4857a2babTimo Sirainen test_ctx = talloc_zero(global_talloc_context, struct test_ctx);
be6ad6e46ecb8c7126b421819046e7f4857a2babTimo Sirainen test_ctx->tctx = create_dom_test_ctx(test_ctx, TESTS_PATH, TEST_CONF_DB,
76d4ff1c1b31a1a09f6cbfe613a8d0efe62cbfd2Timo Sirainen struct test_ctx *test_ctx = talloc_get_type(*state, struct test_ctx);
switch (opt) {
return rv;