Stronger assertion for test_user_extra_attribute_mapping

The assertion was checking if the value was in the list, but it's
actually the only element in the list.

Change-Id: I8666736ec0eec5a859e646a3e0328a8e6baccde7
no one uses macports

update the dev docs for OS X to use Homebrew instead of macports, and
reflect the necessary dependencies for 10.9 Mavericks (2013) instead of
10.7 Lion (2011).

Change-Id: Ia1a06a15b9f03777fe9d3e77a37eb395f15a4706
Fix version links to docs.openstack.org

Remove PDF link.
Replace deep html links with links to the docs.openstack.org site.

Change-Id: Ic7c2218bf43a221e8d753a910fdfb2243851214d
Closes-Bug: #1313127
Regenerate sample config

The sample config file was out of date, so regenerated it with

 tox -e sample_config

Change-Id: Ib17ebcbc1b4c929da8ce3f1a31df33a3b798522d
remove a few backslash line continuations

Change-Id: I278eeaacf349691d436b17a2bc1f2315c3ab8429
Reduce log noise on expired tokens

If a token has expired, we now check the username field exists before
trying to len() it, thus reducing log noise.

Change-Id: Ie463607e4fb7ca671f9dad5559b87fe7721be4bd
Closes-Bug: #1319997
sql migration: ensure using innodb utf8 for assignment table

During migration from 37 to 38, migration fails to create assignment
table if we don't explictly specify InnoDB and UTF8 charset.

Closes-bug #1320855
Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>

Change-Id: Icd88202d2f020aea02514e49c2d07e349c74949f
Mapping engine does not handle regex properly

Currently, if there is more than one assertion value (the list of
group ids returned from the idp). Then when using regex to compare
again the mapping values, only the first values are used.

Change-Id: Iba7d455ef0d5fc2d4ac16f4a7eb553845270fb2c
Closes-Bug: #1321536
Cleanup of ldap assignment backend

Some minor changes were made.

Change-Id: I1c70f3b3cfd01d79ace3869985841c29b42357e8
LDAP fix for get_roles_for_user_and_project user=group ID

When there was a role assigned to a group with the same ID as a
user, the LDAP assignment backend would incorrectly return the
assignment to the group when requesting roles for the user via
the get_roles_for_user_and_project method.

With this change, assignments to a group with the same ID are not
returned for the user when calling get_roles_for_user_and_project.

Functions were added to compare DNs more accurately based on the
LDAP RFCs.

The fakeldap code was changed to normalize the values when
comparing values for checking if the values match the filter.

Co-Authored By: Nathan Kinder <nkinder@redhat.com>
Co-Authored By: Adam Young <ayoung@redhat.com>

Change-Id: Ia6f1ae2e3af1e968f1a393bd4f2f38812a88a5d0
Closes-Bug: #1309228
Merge "Fix version links to docs.openstack.org"
Merge "Reduce log noise on expired tokens"
Merge "Stronger assertion for test_user_extra_attribute_mapping"
install from source docs never actually install the keystone service

Change-Id: I4997f60f3c4746821e8cd8db76b1d54fe786ccfa
Closes-Bug: 1322735
Merge "LDAP fix for get_roles_for_user_and_project user=group ID"
Merge "Regenerate sample config"
Merge "Mapping engine does not handle regex properly"
Merge "Cleanup of ldap assignment backend"
Merge "install from source docs never actually install the keystone service"
replaced unicode() with six.text_type()

According to https://wiki.openstack.org/wiki/Python3 unicode()
should be replaced with six.text_type().

Change-Id: I7e6119d66b7ad51e4a8ee7b3d8ce4188e321a08b