Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accept multiple attributes in include_ldap_ca.attrs #400

Merged
merged 2 commits into from
Aug 24, 2018

Conversation

almarin
Copy link
Contributor

@almarin almarin commented Aug 23, 2018

To work propertly the include_ldap_ca source need to retrieve at least two attributes: the one specified in email_entry and the one you want to use to match with your custom attribute.

To work propertly the include_ldap_ca source need to retrieve at least two attributes: the one specified in email_entry and the one you want to use to match with your custom attribute.
'format' => Sympa::Regexps::ldap_attrdesc(),
'format' => Sympa::Regexps::ldap_attrdesc()
. '(\s*,\s*'
. Sympa::Regexps::ldap_attrdesc() . ')?',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

format_s     => '$ldap_attrdesc(\s*,\s*$ldap_attrdesc)?',

is better.

@ikedas ikedas merged commit c8c83d0 into sympa-community:sympa-6.2 Aug 24, 2018
@ikedas ikedas added this to the 6.2.36 milestone Aug 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants