From: Howard Chu Date: Sun, 12 Nov 2006 00:08:08 +0000 (+0000) Subject: Fix prev commit, better test for multiple URI matches X-Git-Tag: OPENLDAP_REL_ENG_2_4_4ALPHA~8^2~485 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=cbb26d38bf28d42c1659b4d8995780944fbf76ab;p=openldap Fix prev commit, better test for multiple URI matches --- 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 \