+
+Thu Aug 31 17:24:48 EDT 1995 Paul Park (pjpark@mit.edu)
+ * t_an_to_ln.c - Translate until error and return status.
+ * Makefile.in - Test aname_to_lname under check-unix.
+
Thu Aug 24 18:56:35 1995 Theodore Y. Ts'o <tytso@dcl>
* .Sanitize: Update file list.
cmp test.out $(srcdir)/ref_std_conf.out
$(RM) test.out
+#
+# Do some aname-to-lname testing.
+#
+check-unix::
+ echo '[libdefaults]' > ./t_an.conf
+ echo ' default_realm = r' >> ./t_an.conf
+ echo '[realms]' >> ./t_an.conf
+ echo 'r = {' >> ./t_an.conf
+ if test -x ../../../admin/aname/kdb5_anadd ; then \
+ ../../../admin/aname/kdb5_anadd -a -n ./t_an p/i/i/i@r piii; \
+ ../../../admin/aname/kdb5_anadd -a -n ./t_an p/a/b/c@r pabc; \
+ echo 'auth_to_local = DB:./t_an' >> ./t_an.conf; \
+ fi
+ echo 'auth_to_local = RULE:[3:$$1$$3$$2](rule.*)s/rule//g' \
+ >> ./t_an.conf
+ echo 'auth_to_local = DEFAULT' >> ./t_an.conf
+ echo '}' >> ./t_an.conf
+ if test -x ../../../admin/aname/kdb5_anadd ; then \
+ KRB5_CONFIG=./t_an.conf ; export KRB5_CONFIG ; \
+ ./t_an_to_ln p/i/i/i@r p/a/b/c@r; \
+ fi
+ KRB5_CONFIG=./t_an.conf ; export KRB5_CONFIG ; \
+ ./t_an_to_ln rul/helpme/e@r ru/123/le@r
+ KRB5_CONFIG=./t_an.conf ; export KRB5_CONFIG ; \
+ ./t_an_to_ln fred/r@r barney/r@r
+ rm ./t_an.*
+
clean:: clean-$(WHAT)
$(RM) $(TEST_PROGS) test.out t_std_conf.o t_an_to_ln.o