Best way to apply default profile

Alan DeKok aland at
Thu Jan 31 03:12:03 CET 2013

Chris Taylor wrote:
> This is the scenario that I have freeradius with LDAP for authentication
> and authorization and SQL for accounting. I want to try and force every
> user to have a default profile that will allow them to only use our
> local SMTP server. I also have some businesses that I will need to
> exclude from this profile and allow to them send SMTP traffic anywhere.
> What is the best way to go about this? Should I put the options in the
> users file and then create an entry for the select users in SQL and have
> it pull the separate profile from there?

  You can put profiles in LDAP.  See the rlm_ldap documentation.

  You can put users into groups, and apply profiles to each group.

  Alan DeKok.

More information about the Freeradius-Users mailing list