From cbb26d38bf28d42c1659b4d8995780944fbf76ab Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sun, 12 Nov 2006 00:08:08 +0000 Subject: [PATCH] Fix prev commit, better test for multiple URI matches --- tests/data/test-whoami.ldif | 3 ++- tests/scripts/test014-whoami | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/data/test-whoami.ldif b/tests/data/test-whoami.ldif index 4c1a5d2947..5cb6741853 100644 --- a/tests/data/test-whoami.ldif +++ b/tests/data/test-whoami.ldif @@ -254,7 +254,8 @@ telephonenumber: +1 313 555 0355 authzFrom: dn.exact:cn=Barbara Jensen,ou=Information Technology Division,ou=Pe ople,dc=example,dc=com authzFrom: u:melliot -authzFrom: ldap:///ou=People,dc=example,dc=com??sub?(|(cn=Jane Doe)(sn=Jones)) +authzFrom: ldap:///ou=People,dc=example,dc=com??sub?(|(cn=Jane Doe) + (cn=Jeniffer Smith)) authzFrom: group/groupOfUniqueNames/uniqueMember:cn=ITD Staff,ou=Groups,dc=exa mple,dc=com authzFrom: dn.onelevel:ou=Information Technology Division,ou=People,dc=example,dc=com diff --git a/tests/scripts/test014-whoami b/tests/scripts/test014-whoami index e9d38994fb..37e2e605fd 100755 --- a/tests/scripts/test014-whoami +++ b/tests/scripts/test014-whoami @@ -135,8 +135,8 @@ if test $RC != 0 ; then exit $RC fi -BINDDN="cn=Jane Doe,ou=Alumni Association,ou=People,dc=example,dc=com" -BINDPW=jdoe +BINDDN="cn=Jennifer Smith,ou=Alumni Association,ou=People,dc=example,dc=com" +BINDPW=jen AUTHZID="u:bjorn" echo "Testing ldapwhoami as ${BINDDN} for ${AUTHZID} (URI)..." $LDAPWHOAMI -h $LOCALHOST -p $PORT1 -D "$BINDDN" -w $BINDPW \ -- 2.39.5