PerlDancer / Dancer2-Plugin-Auth-Extensible-Provider-LDAP

LDAP provider for Dancer2::Plugin::Auth::Extensible
1 stars 4 forks source link

Support different attributes identifying the user in roles #7

Closed cPanelScott closed 4 years ago

cPanelScott commented 4 years ago

This should address the concern brought up in #4

Not all LDAP schemas use dn to uniquely identify users in a group. This PR adds the role_member_attribute_name setting to enable an administrator to specify a field other than dn.

cPanelScott commented 4 years ago

@SysPete: Would you be willing to merge this PR? Thanks!

cPanelScott commented 4 years ago

Thank you! 🥳

SysPete commented 4 years ago

@cPanelScott should be on a CPAN mirror near you very soon. Thank you for the PR, and apologies for the slow response. Pinging me is always a good idea :grin: