diff --git a/amue/settings.py b/amue/settings.py index 3b1cabb..33ed125 100644 --- a/amue/settings.py +++ b/amue/settings.py @@ -351,7 +351,7 @@ ADMIN_TOOLS_MENU = 'authentic2.menu.CustomMenu' AUTH_SAML2 = 'AUTH_SAML2' in os.environ AUTH_OPENID = 'AUTH_OPENID' in os.environ AUTH_SSL = 'AUTH_SSL' in os.environ -IDP_SAML2 = 'IDP_SAML2' in os.environ +IDP_SAML2 = True IDP_OPENID = 'IDP_OPENID' in os.environ IDP_CAS = 'IDP_CAS' in os.environ diff --git a/debian/amue-authentic2.postinst b/debian/amue-authentic2.postinst index c189b22..3f3cf9d 100644 --- a/debian/amue-authentic2.postinst +++ b/debian/amue-authentic2.postinst @@ -40,8 +40,11 @@ case "$1" in echo Updating static files... /usr/lib/amue-authentic2/manage.sh collectstatic --noinput if [ ! -e /etc/nginx/sites-enabled/idp.amue.fr ]; then - echo Installed nginx virtualhost... - ln -s /etc/nginx/sites-availables/idp.amue.fr /etc/nginx/sites-enabled/ + echo Installing nginx virtualhost... + ln -s /etc/nginx/sites-available/idp.amue.fr /etc/nginx/sites-enabled/ + invoke-rc.d nginx restart + else + echo Reloading nginx virtualhost... invoke-rc.d nginx reload fi echo Restarting amue-authentic... diff --git a/debian/changelog b/debian/changelog index e86193e..0bf4fa7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,12 @@ +amue-authentic2 (0.5) stable; urgency=low + + * Fix postinst script + * Add python-ldap dependency + * Augment authorized body size in nginx to 200k + * Active SAML 2.0 IdP + + -- Benjamin Dauvergne Thu, 14 Nov 2013 14:34:58 +0100 + amue-authentic2 (0.4) stable; urgency=low * Add python-gevent to dependencies diff --git a/debian/control b/debian/control index 8809fc7..864f23b 100644 --- a/debian/control +++ b/debian/control @@ -11,7 +11,7 @@ Package: amue-authentic2 Architecture: all Depends: ${misc:Depends}, python-authentic2, dbconfig-common, nginx, gunicorn, supervisor, ${python:Depends}, - python-memcache, python-psycopg2, python-gevent + python-memcache, python-psycopg2, python-gevent, python-ldap Recommends: postgresql-client Description: AMUE settings for the Authentic2 identity server Gather all needed settings for using Authentic2 at AMUE diff --git a/idp.amue.fr.nginx b/idp.amue.fr.nginx index 8bea636..4f251aa 100644 --- a/idp.amue.fr.nginx +++ b/idp.amue.fr.nginx @@ -9,7 +9,7 @@ server { location / { proxy_pass http://unix:/run/amue-authentic2.sock:/; - client_max_body_size 5k; + client_max_body_size 200k; client_body_buffer_size 1m; proxy_intercept_errors on; proxy_buffering on;