Michael Klishin
968eefa1bb
Bump (c) line year
...
There are no functional changes to this massive diff.
2025-01-01 17:54:10 -05:00
Luke Bakken
c69aa911c4
Ensure init-slapd.sh passes `shellcheck`
2024-10-18 16:46:08 -07:00
Michael Klishin
4ff90b4564
LDAP: update config_schema_SUITE expectations
2024-08-14 12:15:17 -04:00
Michal Kuratczyk
cfa3de4b2b
Remove unused imports (thanks elp!)
2024-05-23 16:36:08 +02:00
Michael Davis
7f85948e6c
rabbit_ldap_seed: Add commented out verbose logging for LDAP operations
2024-05-01 11:19:12 -04:00
Michael Davis
8c5cf257df
rabbit_ldap_seed: Remove 'memberOf' annotation for "peter" seed user
...
In openldap 2.5, `memberOf` seems to be a read-only annotation. Instead
the LDAPWiki recommends adding the user's name to the member attribute
on the relevant group objects:
<https://ldapwiki.com/wiki/Wiki.jsp?page=MemberOf >
We already do that when setting up the group objects, so this annotation
is safe to remove.
2024-05-01 11:15:59 -04:00
Michael Davis
30ef8fbe19
rabbit_ldap_seed: Assert seed data deletions are benign
2024-05-01 11:15:59 -04:00
Michael Davis
02ed55d214
ldap system_SUITE: Only reset seed data in end_per_group
2024-05-01 11:10:42 -04:00
Michael Klishin
f414c2d512
More missed license header updates #9969
2024-02-05 11:53:50 -05:00
Michael Klishin
01092ff31f
(c) year bumps
2024-01-01 22:02:20 -05:00
Michael Klishin
1b642353ca
Update (c) according to [1]
...
1. https://investors.broadcom.com/news-releases/news-release-details/broadcom-and-vmware-intend-close-transaction-november-22-2023
2023-11-21 23:18:22 -05:00
Marcial Rosales
b53ef89825
Support non-ascii attribute values
2023-08-23 13:14:13 +01:00
Luke Bakken
ae70ecb7df
Add test for #7161
2023-02-02 14:16:37 -08:00
Michael Klishin
ec4f1dba7d
(c) year bump: 2022 => 2023
2023-01-01 23:17:36 -05:00
Simon Unge
c267f4d82b
See #4842 . Fix broken test
2022-11-10 14:01:30 -08:00
Simon Unge
09d84e6bd5
See #4842 . Obfuscate impl value
2022-11-09 15:14:51 -08:00
Luke Bakken
7fe159edef
Yolo-replace format strings
...
Replaces `~s` and `~p` with their unicode-friendly counterparts.
```
git ls-files *.erl | xargs sed -i.ORIG -e s/~s>/~ts/g -e s/~p>/~tp/g
```
2022-10-10 10:32:03 +04:00
Michael Klishin
c38a3d697d
Bump (c) year
2022-03-21 01:21:56 +04:00
Michael Klishin
cd683de436
Correct a duplicate snippet name
2021-02-11 19:46:06 +03:00
Michael Klishin
8ea212a6b6
New configuration settings for TLS
...
* [Client] hostname verification matching: wildcard or none
* SNI hostname or none
Closes #2805
2021-02-11 00:12:24 +03:00
Michael Klishin
52479099ec
Bump (c) year
2021-01-22 09:00:14 +03:00
dcorbacho
015e1152c2
Switch to Mozilla Public License 2.0 (MPL 2.0)
2020-07-10 20:19:35 +01:00
Jean-Sébastien Pédron
0a71c3cf7b
system_SUITE: Setup slapd(8) at the beginning of the testsuite
...
... instead of relying on an external script to configure it.
This way, if OpenLDAP server is installed, `make ct-system` should work.
`TESTING.md` is updated with this new information.
It also means the following resources are now unused:
* The Docker and Vagrant files
* `setup.sh` and `seed.sh` in the `example` directory
2020-03-26 16:07:08 +01:00
Jean-Sébastien Pédron
7eafadead3
rabbit_ldap_seed: Remove trailing whitespace
2020-03-26 14:52:36 +01:00
Jean-Sébastien Pédron
084605ab9d
Update copyright (year 2020)
2020-03-10 16:02:56 +01:00
Michael Klishin
d9890ad642
(c) bump
2019-12-29 05:50:24 +03:00
Jean-Sébastien Pédron
043fda72b8
system_SUITE: Bump timetrap from 1 to 2 minutes
2019-11-21 16:49:13 +01:00
Spring Operator
2afc58cf87
URL Cleanup
...
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).
# HTTP URLs that Could Not Be Fixed
These URLs were unable to be fixed. Please review them to see if they can be manually resolved.
* http://blog.listincomprehension.com/search/label/procket (200) with 1 occurrences could not be migrated:
([https](https://blog.listincomprehension.com/search/label/procket ) result ClosedChannelException).
* http://dozzie.jarowit.net/trac/wiki/TOML (200) with 1 occurrences could not be migrated:
([https](https://dozzie.jarowit.net/trac/wiki/TOML ) result SSLHandshakeException).
* http://dozzie.jarowit.net/trac/wiki/subproc (200) with 1 occurrences could not be migrated:
([https](https://dozzie.jarowit.net/trac/wiki/subproc ) result SSLHandshakeException).
* http://e2project.org (200) with 1 occurrences could not be migrated:
([https](https://e2project.org ) result AnnotatedConnectException).
* http://nitrogenproject.com/ (200) with 2 occurrences could not be migrated:
([https](https://nitrogenproject.com/ ) result ConnectTimeoutException).
* http://proper.softlab.ntua.gr (200) with 1 occurrences could not be migrated:
([https](https://proper.softlab.ntua.gr ) result SSLHandshakeException).
* http://yaws.hyber.org (200) with 1 occurrences could not be migrated:
([https](https://yaws.hyber.org ) result AnnotatedConnectException).
* http://choven.ca (503) with 1 occurrences could not be migrated:
([https](https://choven.ca ) result ConnectTimeoutException).
# Fixed URLs
## Fixed But Review Recommended
These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended.
* http://fixprotocol.org/ (301) with 1 occurrences migrated to:
https://fixtrading.org ([https](https://fixprotocol.org/ ) result SSLHandshakeException).
* http://erldb.org (UnknownHostException) with 1 occurrences migrated to:
https://erldb.org ([https](https://erldb.org ) result UnknownHostException).
## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.
* http://cloudi.org/ with 27 occurrences migrated to:
https://cloudi.org/ ([https](https://cloudi.org/ ) result 200).
* http://erlware.org/ with 1 occurrences migrated to:
https://erlware.org/ ([https](https://erlware.org/ ) result 200).
* http://github.com/rabbitmq/rabbitmq-auth-backend-cache with 1 occurrences migrated to:
https://github.com/rabbitmq/rabbitmq-auth-backend-cache ([https](https://github.com/rabbitmq/rabbitmq-auth-backend-cache ) result 200).
* http://inaka.github.io/cowboy-trails/ with 1 occurrences migrated to:
https://inaka.github.io/cowboy-trails/ ([https](https://inaka.github.io/cowboy-trails/ ) result 200).
* http://ninenines.eu with 6 occurrences migrated to:
https://ninenines.eu ([https](https://ninenines.eu ) result 200).
* http://www.actordb.com/ with 2 occurrences migrated to:
https://www.actordb.com/ ([https](https://www.actordb.com/ ) result 200).
* http://www.cs.kent.ac.uk/projects/wrangler/Home.html with 1 occurrences migrated to:
https://www.cs.kent.ac.uk/projects/wrangler/Home.html ([https](https://www.cs.kent.ac.uk/projects/wrangler/Home.html ) result 200).
* http://www.rabbitmq.com/ldap.html with 4 occurrences migrated to:
https://www.rabbitmq.com/ldap.html ([https](https://www.rabbitmq.com/ldap.html ) result 200).
* http://www.rabbitmq.com/plugin-development.html with 1 occurrences migrated to:
https://www.rabbitmq.com/plugin-development.html ([https](https://www.rabbitmq.com/plugin-development.html ) result 200).
* http://www.rebar3.org with 1 occurrences migrated to:
https://www.rebar3.org ([https](https://www.rebar3.org ) result 200).
* http://contributor-covenant.org with 1 occurrences migrated to:
https://contributor-covenant.org ([https](https://contributor-covenant.org ) result 301).
* http://contributor-covenant.org/version/1/3/0/ with 1 occurrences migrated to:
https://contributor-covenant.org/version/1/3/0/ ([https](https://contributor-covenant.org/version/1/3/0/ ) result 301).
* http://inaka.github.com/apns4erl with 1 occurrences migrated to:
https://inaka.github.com/apns4erl ([https](https://inaka.github.com/apns4erl ) result 301).
* http://inaka.github.com/edis/ with 1 occurrences migrated to:
https://inaka.github.com/edis/ ([https](https://inaka.github.com/edis/ ) result 301).
* http://lasp-lang.org/ with 1 occurrences migrated to:
https://lasp-lang.org/ ([https](https://lasp-lang.org/ ) result 301).
* http://rabbitmq.com/access-control.html with 1 occurrences migrated to:
https://rabbitmq.com/access-control.html ([https](https://rabbitmq.com/access-control.html ) result 301).
* http://saleyn.github.com/erlexec with 1 occurrences migrated to:
https://saleyn.github.com/erlexec ([https](https://saleyn.github.com/erlexec ) result 301).
* http://www.mozilla.org/MPL/ with 7 occurrences migrated to:
https://www.mozilla.org/MPL/ ([https](https://www.mozilla.org/MPL/ ) result 301).
* http://zhongwencool.github.io/observer_cli with 1 occurrences migrated to:
https://zhongwencool.github.io/observer_cli ([https](https://zhongwencool.github.io/observer_cli ) result 301).
2019-03-20 03:11:50 -05:00
Luke Bakken
51e1a16a93
Add failing test for rabbitmq/rabbitmq-auth-backend-ldap#100
2018-11-02 11:59:25 -07:00
Luke Bakken
fbb9aa1dd8
Add user_bind_pattern to schema
...
See #102
2018-10-30 19:34:23 -07:00
Luke Bakken
300004dfc6
Add unit test for ad_domain / ad_user
2018-10-26 12:55:20 -07:00
Michael Klishin
e0dda13ef6
Allow auth_ldap.dn_lookup_bind to be set to anon in rabbitmq.conf, closes #94
...
[#158471902 ]
2018-06-19 21:45:30 +03:00
Michael Klishin
88f5728649
Make it possible to configure TLS options via auth_ldap.ssl_options
...
Much like we do for the server.
Closes #88 .
[#156159684 ]
2018-03-22 01:18:58 +03:00
Michael Klishin
229a64f5c2
Make it possible to configure group_lookup_base via new style config file
...
See #85 for justification. Closes #85 .
[#156122704 ]
2018-03-20 14:56:06 +03:00
Michael Klishin
3ee2352a93
Ninja fix for #86
...
Closes #86 .
[#156123202 ]
2018-03-20 14:38:09 +03:00
Luke Bakken
1518216c30
Timeouts are in milliseconds
2018-03-14 07:07:35 -07:00
Michael Klishin
682735669c
Add missing [single value] LDAP config properties to Cuttlefish schema
...
Plus tests for some keys that haven't had any.
Fixes #78 .
[#154330703 ]
2018-01-15 23:11:46 +03:00
Arnaud Cogoluègnes
344aba30d5
Handle map when in template arguments
...
An Erlang map is turned into several arguments. E.g.
{variable_map, #{username => guest, vhost = some-vhost}} is converted
into 2 arguments: variable_map.username=guest and variable_map.vhost=some-vhost.
Fixes #71
2017-06-30 16:38:50 +02:00
Daniil Fedotov
6f487f5f5b
Replace dicts with maps for internal structures
2017-04-24 13:49:07 +01:00
Michael Klishin
32d566f362
Merge branch 'stable'
2017-04-22 01:10:06 +02: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
Michael Klishin
2d0afdcf8e
Merge branch 'stable'
2017-04-02 21:55:36 +03:00
Michael Klishin
33d51d0a8d
(c) year
2017-04-02 21:47:12 +03:00
Daniil Fedotov
cff8652d32
Config schema test for plugin
...
Part of [#141481501 ]
Moved from rabbitmq-server
2017-03-17 10:59:03 +00: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
Arnaud Cogoluègnes
590c738639
Add tests for topic authorisation consumption
...
Part of rabbitmq/rabbitmq-server#1085
2017-01-20 13:37:51 +01:00
Arnaud Cogoluègnes
7d28a27966
Merge branch 'stable'
...
Conflicts:
test/system_SUITE.erl
2017-01-13 13:29:10 +01: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
Michael Klishin
d77496c9e2
Formatting
2017-01-03 15:17:52 +08:00