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

Alan DeKok <[email protected]>
Newsgroups gmane.comp.freeradius.user
Message-ID <[email protected]>
On Apr 10, 2025, at 2:20 PM, Wayne Sprouse via Freeradius-Users <[email protected]> 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.

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.