4 |
- |
1 |
# -*- text -*-
|
|
|
2 |
#
|
|
|
3 |
# $Id$
|
|
|
4 |
|
|
|
5 |
# Preprocess the incoming RADIUS request, before handing it off
|
|
|
6 |
# to other modules.
|
|
|
7 |
#
|
|
|
8 |
# This module processes the 'huntgroups' and 'hints' files.
|
|
|
9 |
# In addition, it re-writes some weird attributes created
|
|
|
10 |
# by some NASes, and converts the attributes into a form which
|
|
|
11 |
# is a little more standard.
|
|
|
12 |
#
|
|
|
13 |
preprocess {
|
|
|
14 |
huntgroups = ${confdir}/huntgroups
|
|
|
15 |
hints = ${confdir}/hints
|
|
|
16 |
|
|
|
17 |
# This hack changes Ascend's wierd port numberings
|
|
|
18 |
# to standard 0-??? port numbers so that the "+" works
|
|
|
19 |
# for IP address assignments.
|
|
|
20 |
with_ascend_hack = no
|
|
|
21 |
ascend_channels_per_line = 23
|
|
|
22 |
|
|
|
23 |
# Windows NT machines often authenticate themselves as
|
|
|
24 |
# NT_DOMAIN\username
|
|
|
25 |
#
|
|
|
26 |
# If this is set to 'yes', then the NT_DOMAIN portion
|
|
|
27 |
# of the user-name is silently discarded.
|
|
|
28 |
#
|
|
|
29 |
# This configuration entry SHOULD NOT be used.
|
|
|
30 |
# See the "realms" module for a better way to handle
|
|
|
31 |
# NT domains.
|
|
|
32 |
with_ntdomain_hack = no
|
|
|
33 |
|
|
|
34 |
# Specialix Jetstream 8500 24 port access server.
|
|
|
35 |
#
|
|
|
36 |
# If the user name is 10 characters or longer, a "/"
|
|
|
37 |
# and the excess characters after the 10th are
|
|
|
38 |
# appended to the user name.
|
|
|
39 |
#
|
|
|
40 |
# If you're not running that NAS, you don't need
|
|
|
41 |
# this hack.
|
|
|
42 |
with_specialix_jetstream_hack = no
|
|
|
43 |
|
|
|
44 |
# Cisco (and Quintum in Cisco mode) sends it's VSA attributes
|
|
|
45 |
# with the attribute name *again* in the string, like:
|
|
|
46 |
#
|
|
|
47 |
# H323-Attribute = "h323-attribute=value".
|
|
|
48 |
#
|
|
|
49 |
# If this configuration item is set to 'yes', then
|
|
|
50 |
# the redundant data in the the attribute text is stripped
|
|
|
51 |
# out. The result is:
|
|
|
52 |
#
|
|
|
53 |
# H323-Attribute = "value"
|
|
|
54 |
#
|
|
|
55 |
# If you're not running a Cisco or Quintum NAS, you don't
|
|
|
56 |
# need this hack.
|
|
|
57 |
with_cisco_vsa_hack = no
|
|
|
58 |
}
|