[obs-commits] [openSUSE/open-build-service] a138a3: [api][webui] Update LDAP to retry when connection ...

Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: a138a37fc4e95bc5de48723cedbd1a12b46c21aa https://github.com/openSUSE/open-build-service/commit/a138a37fc4e95bc5de4872... Author: Evan Rolfe <evanrolfe@gmail.com> Date: 2017-09-26 (Tue, 26 Sep 2017) Changed paths: M src/api/app/models/user_ldap_strategy.rb M src/api/spec/models/user_ldap_strategy_spec.rb Log Message: ----------- [api][webui] Update LDAP to retry when connection fails. When the LDAP server closes the connection to the rails app, UserLdapStrategy does not know about this. So when UserLdapStrategy tries to connect with a closed connection, instead of re connecting it just returns "Unauthorized". This change makes sure it tries to reconnect once after getting a failed connection. Commit: f50ec006510b8dcfb8a4b5e62441b6d2474c50fe https://github.com/openSUSE/open-build-service/commit/f50ec006510b8dcfb8a4b5... Author: Ana María Martínez Gómez <ammartinez@suse.de> Date: 2017-09-26 (Tue, 26 Sep 2017) Changed paths: M src/api/app/models/user_ldap_strategy.rb M src/api/spec/models/user_ldap_strategy_spec.rb Log Message: ----------- Merge pull request #3885 from evanrolfe/fix/ldap_reconnect_on_master [api][webui] LDAP retries when connection fails. Compare: https://github.com/openSUSE/open-build-service/compare/daa89424b969...f50ec0...
participants (1)
-
Ana María Martínez Gómez