summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--radsecproxy.c2
-rw-r--r--radsecproxy.conf-example2
2 files changed, 2 insertions, 2 deletions
diff --git a/radsecproxy.c b/radsecproxy.c
index 079aaa8..76a4860 100644
--- a/radsecproxy.c
+++ b/radsecproxy.c
@@ -1686,7 +1686,7 @@ void addrealm(char *value, char *server) {
if (*value == '*')
debugx(1, DBG_ERR, "Regexps are now used for specifying realms, a string\nstarting with '*' is meaningless, you probably want '.*' for matching everything\nEXITING\n");
if (value[strlen(value) - 1] != '$' && value[strlen(value) - 1] != '*') {
- debug(DBG_ERR, "Regexps are now used for specifying realms, you\nprobably want to rewrite this as e.g. '@example\\.com$' or '\\.com$'\nYou can even do things like '[a-n].*@example\\.com$' to make about half of the\nusers use this server. Note that the matching is case insensitive.\n");
+ debug(DBG_ERR, "Regexps are now used for specifying realms, you\nprobably want to rewrite this as e.g. '@example\\.com$' or '\\.com$'\nYou can even do things like '^[a-n].*@example\\.com$' to make about half of the\nusers use this server. Note that the matching is case insensitive.\n");
sleep(3);
}
realm_count++;
diff --git a/radsecproxy.conf-example b/radsecproxy.conf-example
index 6e1c055..9facde7 100644
--- a/radsecproxy.conf-example
+++ b/radsecproxy.conf-example
@@ -36,7 +36,7 @@ TLSCertificateKeyPassword follow the white rabbit
#Also note that case insensitive regexp is used for realms, matching
#the entire username string. The matching is done in the order the
#realms are specified, using the first match found. Some examples are
-#"@example\.com$", "\.com$", ".*" and "[a-z].*@example\.com$".
+#"@example\.com$", "\.com$", ".*" and "^[a-z].*@example\.com$".
#To treat local users separately you might try first specifying "@"
#and after that ".*".