Fix prev commit, better test for multiple URI matches

This commit is contained in:
Howard Chu 2006-11-12 00:08:08 +00:00
parent 30261efb18
commit cbb26d38bf
2 changed files with 4 additions and 3 deletions

View 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

View file

@ -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 \