27 Jun 2012 12:59
GIT HEAD policy.conf
alan buxey <A.L.M.Buxey <at> lboro.ac.uk>
2012-06-27 10:59:35 GMT
2012-06-27 10:59:35 GMT
hi,
minor patch applied:
--- policy.conf 2012-06-14 12:21:44.431408916 +0100
+++ /tmp/policy.conf 2012-06-27 11:53:09.170949750 +0100
<at> <at> -268,9 +268,9 <at> <at>
# Realm begins with a dot
# e.g. "user <at> .site.com"
#
- if (User-Name !~ / <at> \\./) {
+ if (User-Name =~ / <at> \\./) {
update reply {
- Reply-Message+ = "Rejected: Realm begins with a dot"
+ Reply-Message += "Rejected: Realm begins with a dot"
}
reject
}
<at> <at> -326,7 +326,7 <at> <at>
#
if (!Chargeable-User-Identity) {
update control {
- Chargable-User-Identity := "%{cui: SELECT cui FROM cui WHERE clientipaddress =
'%{Client-IP-Address}' AND callingstationid = '%{Calling-Station-Id}' AND username = '%{User-Name}'}"
+ Chargeable-User-Identity := "%{cui: SELECT cui FROM cui WHERE clientipaddress =
'%{Client-IP-Address}' AND callingstationid = '%{Calling-Station-Id}' AND username = '%{User-Name}'}"
}
}
1) fixes wrong check
(Continue reading)
RSS Feed