You could try this method ... Don't 'strip' the realm and store complete usernames in your users file (or database).
So your username would be "j...@business" or "b...@communication". Regards, Jason -----Original Message----- From: freeradius-users-bounces+jhodges=pocket....@lists.freeradius.org [mailto:freeradius-users-bounces+jhodges=pocket....@lists.freeradius.org ] On Behalf Of zouzou Sent: Wednesday, November 10, 2010 3:21 PM To: freeradius-users@lists.freeradius.org Subject: Re: Domain in Username > Define a "communication" realm, and don't define a "business" realm. But I have other users in the business department, for exemple Jhon, and i want freeradius to accept if he uses j...@business. However, I don't want freeradius to accept if he uses j...@communication. The problem is that these departments exist In the proxy.conf file, I had defined all departments as realm. Thank you again. -- View this message in context: http://freeradius.1045715.n5.nabble.com/Domain-in-Username-tp3259377p325 9448.html Sent from the FreeRadius - User mailing list archive at Nabble.com. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html