[External Mail] Help with configuring for multiple DC for LDAP

Alan DeKok aland at deployingradius.com
Thu Apr 10 18:58:15 UTC 2025


On Apr 10, 2025, at 2:20 PM, Wayne Sprouse via Freeradius-Users <freeradius-users at lists.freeradius.org> wrote:
> I had created the attribute email_domain as a string field in the
> dictionary file before sending this help request.

  Then say that.

> I read numerous discussions online regarding using an email
> address to determine which domain to authenticate against. I was not "just
> inventing things and expecting them to work" but using examples
> others shared that worked for them.

  No.

  What you posted was:

>  if ("%{User-Name}" =~ /@(.+)$/) {
>       # Extract domain from email and store in email_domain
>       set email_domain = "%{1}"

  NOTHING in the documentation or examples says you can do:

	set email_domain = ...

  If other people say it worked for them, then they're not telling the truth.

  Again, you can't invent syntax.  Using "set email_domain" is inventing syntax.

  Please stop arguing, and fix the configuration so that it matches the examples and documentation.  This means the configuration does NOT use the word "set", and DOES use an "update" section.

  Alan DeKok.



More information about the Freeradius-Users mailing list