I'm having a problem getting slashrealm ("/") and atsuffix ("@") realms to co-exist. If I configure them both, only the first one seems to work.
For example, here I'm trying to use a realm "wibble". With the configuration below, it will work as wibble/alex but not [EMAIL PROTECTED] If I reverse the order of the entries on the authorize section, the reverse is true.
Can't find anything on google or mailing list archives... how can I get two realm types to coexist?
Thanks,
Alex
From radius.conf
----
realm realmslash {
format = prefix
delimiter = "/"
} # '[EMAIL PROTECTED]'
#
realm atsuffix {
format = suffix
delimiter = "@"
}authorize {
preprocess
realmslash
atsuffix
files
}---
From proxy.conf:
---
realm wibble {
type = LOCAL
authhost = LOCAL
accthost = LOCAL
strip
}
---From -X debug:
---
--- Walking the entire request list ---
Cleaning up request 2 ID 65 with timestamp 4062e77a
Nothing to do. Sleeping until we see a request.
rad_recv: Access-Request packet from host 212.17.45.21:64183, id=70, length=64
User-Name = "[EMAIL PROTECTED]"
User-Password = "mypassword"
NAS-IP-Address = 255.255.255.255
NAS-Port = 666
modcall: entering group authorize for request 3
modcall[authorize]: module "preprocess" returns ok for request 3
modcall[authorize]: module "chap" returns noop for request 3
rlm_realm: No '/' in User-Name = "[EMAIL PROTECTED]", looking up realm NULL
rlm_realm: Found realm "NULL"
rlm_realm: Adding Stripped-User-Name = "[EMAIL PROTECTED]"
rlm_realm: Proxying request from user [EMAIL PROTECTED] to realm NULL
rlm_realm: Adding Realm = "NULL"
rlm_realm: Authentication realm is LOCAL.
modcall[authorize]: module "realmslash" returns noop for request 3
rlm_realm: Request already proxied. Ignoring.
modcall[authorize]: module "atsuffix" returns noop for request 3
radius_xlat: '[EMAIL PROTECTED]'
rlm_sql (sql): sql_set_user escaped user --> '[EMAIL PROTECTED]'
... etc...---
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

