Skip to content

Conversation

@DmitryLitvintsev
Copy link
Member

Motivation:

Issue #7947 reports that banfile only bans user if there is only one 'ban foo:bar' line is present (one line per alias). Further investigation showed that actually only last line is taken.

Modification:

Modified BanFilePlugin to use List containing elements already suitable for Pincipal coversion instead of Map<String, String> that naturally only kept the last instance of ban statement.

Result:

Banfile plugin works as expected.

Ticket: #7947
Acked-by: Paul Millar

Target: trunk
Request: 11.1, 11.0, 10.2
Require-book: no
Require-notes: yes

Motivation:
-----------

Issue #7947 reports
that banfile only bans user if there is only one 'ban foo:bar'
line is present (one line per alias). Further investigation
showed that actually only last line is taken.

Modification:
-------------

Modified BanFilePlugin to use List<String> containing elements already
suitable for Pincipal coversion instead of Map<String, String> that
naturally only kept the last instance of ban statement.

Result:
-------

Banfile plugin works as expected.

Ticket:  #7947
Acked-by: Paul Millar

Target: trunk
Request: 11.1, 11.0, 10.2
Require-book: no
Require-notes: yes
@mksahakyan
Copy link
Contributor

retest this please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants