Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cf98b8dd81 | ||
|
|
8217c2ee61 |
@@ -446,6 +446,15 @@ authorize {
|
||||
Pool-Name := "engineers-%{sql:SELECT split_part('%{User-Name}', '@', 2)}"
|
||||
}
|
||||
}
|
||||
#
|
||||
# HARD CHECK: must have IP
|
||||
#
|
||||
if (!&reply:Framed-IP-Address) {
|
||||
update reply {
|
||||
Reply-Message := "No IP assigned - access denied"
|
||||
}
|
||||
reject
|
||||
}
|
||||
# If you are using /etc/smbpasswd, and are also doing mschap authentication, the un-comment this line, and configure the 'smbpasswd' module.
|
||||
# smbpasswd
|
||||
|
||||
@@ -800,18 +809,10 @@ post-auth {
|
||||
|
||||
sqlippool
|
||||
}
|
||||
#
|
||||
# HARD CHECK: must have IP
|
||||
#
|
||||
if (!&reply:Framed-IP-Address) {
|
||||
update reply {
|
||||
Reply-Message := "No IP assigned - access denied"
|
||||
}
|
||||
reject
|
||||
}
|
||||
|
||||
# Query VLAN ID from your DB
|
||||
vlan_test
|
||||
# VLAN assignment is no longer used
|
||||
#vlan_test
|
||||
|
||||
# Create the CUI value and add the attribute to Access-Accept.
|
||||
# Uncomment the line below if *returning* the CUI.
|
||||
|
||||
Reference in New Issue
Block a user