Skip to content
Snippets Groups Projects
Commit cbb26d38 authored by Howard Chu's avatar Howard Chu
Browse files

Fix prev commit, better test for multiple URI matches

parent 30261efb
No related branches found
No related tags found
No related merge requests found
...@@ -254,7 +254,8 @@ telephonenumber: +1 313 555 0355 ...@@ -254,7 +254,8 @@ telephonenumber: +1 313 555 0355
authzFrom: dn.exact:cn=Barbara Jensen,ou=Information Technology Division,ou=Pe authzFrom: dn.exact:cn=Barbara Jensen,ou=Information Technology Division,ou=Pe
ople,dc=example,dc=com ople,dc=example,dc=com
authzFrom: u:melliot 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 authzFrom: group/groupOfUniqueNames/uniqueMember:cn=ITD Staff,ou=Groups,dc=exa
mple,dc=com mple,dc=com
authzFrom: dn.onelevel:ou=Information Technology Division,ou=People,dc=example,dc=com authzFrom: dn.onelevel:ou=Information Technology Division,ou=People,dc=example,dc=com
......
...@@ -135,8 +135,8 @@ if test $RC != 0 ; then ...@@ -135,8 +135,8 @@ if test $RC != 0 ; then
exit $RC exit $RC
fi fi
BINDDN="cn=Jane Doe,ou=Alumni Association,ou=People,dc=example,dc=com" BINDDN="cn=Jennifer Smith,ou=Alumni Association,ou=People,dc=example,dc=com"
BINDPW=jdoe BINDPW=jen
AUTHZID="u:bjorn" AUTHZID="u:bjorn"
echo "Testing ldapwhoami as ${BINDDN} for ${AUTHZID} (URI)..." echo "Testing ldapwhoami as ${BINDDN} for ${AUTHZID} (URI)..."
$LDAPWHOAMI -h $LOCALHOST -p $PORT1 -D "$BINDDN" -w $BINDPW \ $LDAPWHOAMI -h $LOCALHOST -p $PORT1 -D "$BINDDN" -w $BINDPW \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment