Skip to Content.
Sympa Menu

en - [sympa-users] auth ldap

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Antonio Casado <address@concealed>
  • To: address@concealed
  • Subject: [sympa-users] auth ldap
  • Date: Mon, 1 Jul 2019 12:18:16 +0200

Hi,

I use LDAP to auth my users and I have a little problem in /etc/sympa/auth.conf

ldap
         regexp                          ual\.es
         host                            ...
         bind_dn                         ...
         bind_password                   ...
         timeout                         20
         suffix                          cn=Users,dc=ual,dc=es
         get_dn_by_uid_filter            (uid=[sender])
         get_dn_by_email_filter          (|(mail=[sender])(irismailalternateaddress=[sender]))
         email_attribute                 irismailmainaddress
         scope                           sub


And my user in LDAP is:

uid: pepe
irisMailMainAddress: address@concealed
irisMailAlternateAddress: address@concealed

Since the mail field is multi-valued, wwsympa takes the first mail field as the user. Can I tell wwsympa to take irismailmainaddress or the value of [sender] as a user?

Thanks you.

--
Antonio Casado Rodríguez




Archive powered by MHonArc 2.6.19+.

Top of Page