]> git.sur5r.net Git - openldap/commitdiff
Fix prev commit, better test for multiple URI matches
authorHoward Chu <hyc@openldap.org>
Sun, 12 Nov 2006 00:08:08 +0000 (00:08 +0000)
committerHoward Chu <hyc@openldap.org>
Sun, 12 Nov 2006 00:08:08 +0000 (00:08 +0000)
tests/data/test-whoami.ldif
tests/scripts/test014-whoami

index 4c1a5d2947f081a13ee5d63a4b7d72905eac24c7..5cb67418536cc85db1c2e1720556e0e80b174e70 100644 (file)
@@ -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
index e9d38994fbca131198d675e26947518c10ad3d3d..37e2e605fd0ed3f15eb1210197605fa52f2de22b 100755 (executable)
@@ -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 \