Skip to content

Commit

Permalink
gplazma-nis: plugin should fail on invalid mapping
Browse files Browse the repository at this point in the history
in set up like:

map      sufficient nis
map      sufficient  authzdb

nis plugin will always stop processing even if mapping is not found.

Ticket: #7946
Acked-by: Paul Millar
Target: trunk, 2.6, 2.7
Require-book: no
Require-notes: yes
  • Loading branch information
kofemann committed Sep 6, 2013
1 parent 3127eb9 commit bac3ccc
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ public void map(Set<Principal> principals) throws AuthenticationException {
}
} catch (NamingException e) {
_log.warn("Faild to get mapping: {}", e.toString());
throw new AuthenticationException("no mapping: "+ e.getMessage(), e);
}
}
}
Expand Down

0 comments on commit bac3ccc

Please sign in to comment.