Commit Graph

441 Commits

Author SHA1 Message Date
Michael Klishin 72a5c24ca2 Merge pull request #70 from Ninja3047/anon_auth
Add option to enable anonymous authentication
2017-05-10 21:53:47 +03:00
William Tan e8a79c06bd Add option to enable anonymous authentication
This will allow the user to enable the anon_auth flag in eldap in order
to be able to do a dn lookup by using anonymous authentication instead
of using a dedicated bind user.
2017-05-10 17:05:01 +00:00
Michael Klishin 6bfa455084 Compile in non-test environment
Otherwise we are getting an unused function warning that's treated
as an error.
2017-04-22 01:05:34 +02:00
Michael Klishin aa9a2a40aa Remove a debug trace 2017-04-22 01:04:04 +02:00
Daniil Fedotov 558967336a Merge pull request #67 from rabbitmq/rabbitmq-auth-backend-ldap-66
Fix badmatch exception when purging connections
2017-04-20 14:50:36 +01:00
kjnilsson 4f4ff6c13e Fix badmatch exception when purging connections
The exception stops timed out connections from
reconnecting successfully.

[#144015233]
2017-04-20 14:12:24 +01:00
Jean-Sébastien Pédron 03efafa318 Update erlang.mk 2017-04-19 12:00:27 +02:00
Michael Klishin 33d51d0a8d (c) year 2017-04-02 21:47:12 +03:00
Michael Klishin 27d3ca81a9 Default LDAP server port should be 389
See https://github.com/rabbitmq/rabbitmq-auth-backend-ldap/issues/63#issuecomment-284680951.

It was changed to 3890 in 2461f04795
by mistake. We don't need to do that since the test suite reconfigures
the plugin to use 3890 anyway.

Fixes #64.
2017-03-07 13:53:49 +03:00
Jean-Sébastien Pédron 07a50e7dcf system_SUITE: Use os:getenv/1 instead of os:getenv/2
Only the former is available on Erlang R16B03. We handle the fallback to
a default value manually.

[#140575489]
2017-02-27 17:45:18 +01:00
Michael Klishin abf7a27a29 Update rabbitmq-components.mk 2017-02-08 16:38:10 +03:00
Michael Klishin de83ccd1ed Update rabbitmq-components.mk 2017-02-06 19:23:48 +03:00
Michael Klishin f4f1f2ab29 Update rabbitmq-components.mk 2017-01-31 18:06:22 +03:00
Karl Nilsson ad40358b25 Merge pull request #57 from rabbitmq/rabbitmq-auth-backend-ldap-56
Do not always match bidirectionnaly
2017-01-13 09:51:19 +00:00
Arnaud Cogoluègnes 65fa7d6c74 Handle plain string cases in match query
Fixes #56
2017-01-13 10:04:20 +01:00
Arnaud Cogoluègnes b7c2fe7f24 Do not always match bidirectionnaly
Fixes #56
2017-01-12 10:39:20 +01:00
Arnaud Cogoluègnes fad730f714 Add default value for idle_timeout option
References #7
2017-01-10 11:05:01 +01:00
Karl Nilsson 8afd9e0a26 Merge pull request #53 from rabbitmq/rabbitmq-auth-backend-ldap-7
Close LDAP connection after timeout.
2016-12-14 20:14:49 +00:00
kjnilsson d05c53f2a0 merge from stable 2016-12-14 20:03:34 +00:00
Jean-Sébastien Pédron 3288717ed4 Update rabbitmq-components.mk 2016-12-08 19:14:43 +01:00
Jean-Sébastien Pédron 1f1496aecb Update rabbitmq-components.mk 2016-12-07 14:51:53 +01:00
Jean-Sébastien Pédron 0856702916 Makefile: Add eldap to LOCAL_DEPS
[#130992027]
2016-12-06 15:37:33 +01:00
Jean-Sébastien Pédron 4c50cf1722 Makefile: Forgot PROJECT_MOD in previous commit
[#130992027]
2016-12-06 15:36:06 +01:00
Jean-Sébastien Pédron 636fb21b40 Move from .app.src to Makefile variables
This is the recommended way with Erlang.mk.

By default, the version is inherited from rabbitmq-server-release when
the source archive is created, or computed from git-describe(1) (see
`rabbitmq-components.mk`). One can override the version from the command
line by setting the `PROJECT_VERSION` variable.

[#130992027]
2016-12-06 15:32:08 +01:00
Daniil Fedotov 219ad71c81 Idle connection expiry tests 2016-12-01 18:03:46 +00:00
Daniil Fedotov 600c1b476d Configure no timeout as infinity 2016-12-01 15:04:13 +00:00
Daniil Fedotov 881a5b3783 Close idle connections after timeout 2016-12-01 13:38:24 +00:00
Michael Klishin 8120594c0b Update rabbitmq-components.mk 2016-11-29 20:59:25 +03:00
Jean-Sébastien Pédron c3e97babac Update rabbitmq-components.mk 2016-11-25 10:50:53 +01:00
Jean-Sébastien Pédron dde943c73e Update rabbitmq-components.mk 2016-11-25 10:08:14 +01:00
Jean-Sébastien Pédron d77725ee9c Add rabbitmq_ct_client_helpers to TEST_DEPS 2016-11-24 10:06:09 +01:00
Jean-Sébastien Pédron 82892db049 Update rabbitmq-components.mk 2016-11-23 18:05:59 +01:00
Gerhard Lazu dbd7ed8c46 Update erlang.mk 2016-11-22 16:18:11 +00:00
Gerhard Lazu 1505f19ac5 Update rabbitmq-components.mk 2016-11-22 16:16:28 +00:00
Jean-Sébastien Pédron 58ad81342d Update rabbitmq-components.mk 2016-09-23 11:23:02 +02:00
Jean-Sébastien Pédron 89a0a0da64 Update erlang.mk 2016-09-22 17:56:08 +02:00
Jean-Sébastien Pédron 9c1bfc0f4e rabbitmq_auth_backend_ldap.app: Depend on rabbit_common 2016-09-19 13:07:12 +02:00
Jean-Sébastien Pédron 40f0f233ce Makefile: Explicitely list all DEPS
Sync rabbitmq-components.mk with rabbitmq-common to remove automatic
DEPS handling.

[#130086871]
2016-09-19 13:06:50 +02:00
Jean-Sébastien Pédron 12f32d0412 Update erlang.mk 2016-09-19 13:06:15 +02:00
Jean-Sébastien Pédron 10e39c1e68 Update rabbitmq-components.mk 2016-09-15 15:45:51 +02:00
Jean-Sébastien Pédron ab8126dbbd Update rabbitmq-components.mk 2016-09-02 13:22:24 +02:00
Jean-Sébastien Pédron eeb232fee0 Makefile: amqp_client is not a runtime DEPS 2016-09-02 12:20:49 +02:00
Jean-Sébastien Pédron f7ea52ec1e Makefile: No need to filter out rabbitmq_test from TEST_DEPS anymore
[#127356157]
2016-09-02 12:17:33 +02:00
Jean-Sébastien Pédron 1769ba19ec Update rabbitmq-components.mk 2016-09-02 12:03:29 +02:00
Jean-Sébastien Pédron 7b8b27a4c6 Travis CI: Import changes from rabbitmq-shovel 2016-07-28 16:50:20 +02:00
Jean-Sébastien Pédron aa48bfc4d3 Merge pull request #52 from rabbitmq/concourse-ci
configure openldap backend
2016-07-28 16:48:12 +02:00
kjnilsson 416035cc74 configure openldap backend
allow ldap port to be overridden by environment
2016-07-28 15:28:35 +01:00
Michael Klishin 9fb9b6c85c Update rabbitmq-components.mk 2016-07-14 15:37:28 +03:00
Michael Klishin cf6d197b8b Update rabbitmq-components.mk 2016-07-14 13:19:57 +03:00
Michael Klishin 6a74712fcd Merge pull request #51 from rabbitmq/rabbitmq-auth-backend-ldap-48
Treat noSuchObject responses as false during or and and clause evaluations
2016-06-30 14:32:36 +03:00