projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffb018c
)
adjusted and optimised match
author
Alan Buxey
<alan.buxey@gmail.com>
Wed, 28 Nov 2012 21:44:58 +0000
(21:44 +0000)
committer
Alan Buxey
<alan.buxey@gmail.com>
Wed, 28 Nov 2012 21:44:58 +0000
(21:44 +0000)
no longer case insensitive and doesnt store result
raddb/policy.conf
patch
|
blob
|
history
diff --git
a/raddb/policy.conf
b/raddb/policy.conf
index
a45ba5e
..
2668b29
100644
(file)
--- a/
raddb/policy.conf
+++ b/
raddb/policy.conf
@@
-93,7
+93,7
@@
policy {
# reject Multiple @'s
# e.g. "user@site.com@site.com"
#
- if(User-Name =~ /@
(.+)?@/i
) {
+ if(User-Name =~ /@
.*@/
) {
update reply {
Reply-Message += "Rejected: Multiple @ in username"
}