blob: ae349e9e85a7ba57efdd19aad84ebcef060dcae6 [file] [log] [blame]
Chetan Gaonker7f4bf742016-05-04 15:56:08 -07001# -*- text -*-
2#
3# $Id: 8baec7961ba75fe52546cb1331868b0b2b1c38f4 $
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 NAS, and converts the attributes into a form which
11# is a little more standard.
12#
13preprocess {
14 # Search for files in a subdirectory of mods-config which
15 # matches this instance of the preprocess module.
16 moddir = ${modconfdir}/${.:instance}
17
18 huntgroups = ${moddir}/huntgroups
19 hints = ${moddir}/hints
20
21 # This hack changes Ascend's weird port numbering
22 # to standard 0-??? port numbers so that the "+" works
23 # for IP address assignments.
24 with_ascend_hack = no
25 ascend_channels_per_line = 23
26
27 # Windows NT machines often authenticate themselves as
28 # NT_DOMAIN\username
29 #
30 # If this is set to 'yes', then the NT_DOMAIN portion
31 # of the user-name is silently discarded.
32 #
33 # This configuration entry SHOULD NOT be used.
34 # See the "realms" module for a better way to handle
35 # NT domains.
36 with_ntdomain_hack = no
37
38 # Specialix Jetstream 8500 24 port access server.
39 #
40 # If the user name is 10 characters or longer, a "/"
41 # and the excess characters after the 10th are
42 # appended to the user name.
43 #
44 # If you're not running that NAS, you don't need
45 # this hack.
46 with_specialix_jetstream_hack = no
47
48 # Cisco (and Quintum in Cisco mode) sends it's VSA attributes
49 # with the attribute name *again* in the string, like:
50 #
51 # H323-Attribute = "h323-attribute=value".
52 #
53 # If this configuration item is set to 'yes', then
54 # the redundant data in the the attribute text is stripped
55 # out. The result is:
56 #
57 # H323-Attribute = "value"
58 #
59 # If you're not running a Cisco or Quintum NAS, you don't
60 # need this hack.
61 with_cisco_vsa_hack = no
62}