diff options
| author | venaas <venaas> | 2007-05-23 08:31:44 +0000 | 
|---|---|---|
| committer | venaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf> | 2007-05-23 08:31:44 +0000 | 
| commit | 92938fa2d2416998df899406e19aaa074bc22dbb (patch) | |
| tree | 23943712f4f5c8d93180a6cfc0678128f5a260d9 | |
| parent | 9eebebe0b40c6456fa974c744c48f07ed2f53f7f (diff) | |
slight regexp example change
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@97 e88ac4ed-0b26-0410-9574-a7f39faa03bf
| -rw-r--r-- | radsecproxy.c | 2 | ||||
| -rw-r--r-- | radsecproxy.conf-example | 2 | 
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 ".*".  | 
