diff options
author | Nalin Dahyabhai <nalin@dahyabhai.net> | 2014-02-17 18:48:02 -0500 |
---|---|---|
committer | Nalin Dahyabhai <nalin@dahyabhai.net> | 2014-02-17 18:48:02 -0500 |
commit | 772ea7675ddad6cd7dce045154562a0ab22629bb (patch) | |
tree | 79b90ee9ee5f6f3a813751dd7fc9723f3610652e /tests | |
parent | a9a6a23f8e734f482dcbfaeac25607c576b17a0f (diff) | |
download | slapi-nis-772ea7675ddad6cd7dce045154562a0ab22629bb.tar.gz slapi-nis-772ea7675ddad6cd7dce045154562a0ab22629bb.tar.xz slapi-nis-772ea7675ddad6cd7dce045154562a0ab22629bb.zip |
Fixup nsswitch tests to allow the server to resolve its user
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Makefile.am | 4 | ||||
-rw-r--r-- | tests/test36-schema-nsswitch/wrap_group | 0 | ||||
-rw-r--r-- | tests/test36-schema-nsswitch/wrap_pam | 3 | ||||
-rw-r--r-- | tests/test36-schema-nsswitch/wrap_passwd.in | 1 |
4 files changed, 7 insertions, 1 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index 9264902..d848bf7 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -7,7 +7,9 @@ wrappers_so_LDADD = -ldl wrappers_so_LDFLAGS = -shared wrappers_so_LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(wrappers_so_LDFLAGS) $(LDFLAGS) -o $@ -EXTRA_DIST = run-tests.sh test*/*.ldif test*/*.sh test*/*.txt config/slapd-collations.conf config/userRoot.ldif config/schema *.supp +EXTRA_DIST = run-tests.sh test*/*.ldif test*/*.sh test*/*.txt *.supp \ + config/slapd-collations.conf config/userRoot.ldif config/schema \ + test36-schema-nsswitch/wrap_passwd.in if CAN_TEST check: @true diff --git a/tests/test36-schema-nsswitch/wrap_group b/tests/test36-schema-nsswitch/wrap_group new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/test36-schema-nsswitch/wrap_group diff --git a/tests/test36-schema-nsswitch/wrap_pam b/tests/test36-schema-nsswitch/wrap_pam new file mode 100644 index 0000000..e369400 --- /dev/null +++ b/tests/test36-schema-nsswitch/wrap_pam @@ -0,0 +1,3 @@ +testuser1:authtok:MAXTRIES +testuser2:authtok:PERM_DENIED +testuser3, for real:authtok:0:ACCT_EXPIRED diff --git a/tests/test36-schema-nsswitch/wrap_passwd.in b/tests/test36-schema-nsswitch/wrap_passwd.in new file mode 100644 index 0000000..f4bd94f --- /dev/null +++ b/tests/test36-schema-nsswitch/wrap_passwd.in @@ -0,0 +1 @@ +@test_user@:*:@test_uid@:@test_gid@:Test Owner:/home/@test_user@:/bin/sh |