1
2# Internal attributes for use with the RadLDAP module.
3#
4# If you want to store the numeric and IP address reply attributes in LDAP
5# as ASCII strings, they must be mapped to string attributes first, because
6# RadLDAP doesn't do type conversion.
7#
8# These attributes are string versions of standard RADIUS attributes, and
9# can be used in the behaviour file to set the real attributes.
10
11$set default space=STR-LDAP vendor=Any
12	     len_ofs=0 len_size=0 len_adj=0
13	     val_ofs=0 val_size=0 val_type=String noenc=1
14
15$add attribute 6  str-Service-Type
16$add attribute 7  str-Framed-Protocol
17$add attribute 8  str-Framed-IP-Address
18$add attribute 9  str-Framed-IP-Netmask
19$add attribute 12 str-Framed-MTU
20$add attribute 13 str-Framed-Compression
21$add attribute 14 str-Login-IP-Host
22$add attribute 15 str-Login-Service
23$add attribute 16 str-Login-TCP-Port
24$add attribute 27 str-Session-Timeout
25$add attribute 28 str-Idle-Timeout
26$add attribute 62 str-Port-Limit
27
28$add attribute x Unknown-Attribute
29
30
31# We add some named constants as well. If you are using string-type LDAP
32# attributes for numeric RADIUS ones, and the LDAP contains different constant
33# names from those below, just change them here.
34
35$set default item=str-Service-Type
36
37$add value 1 Login
38$add value 2 Framed
39$add value 3 Callback-Login
40$add value 4 Callback-Framed
41$add value 5 Outbound
42$add value 6 Administrative
43$add value 7 NAS-Prompt
44$add value 8 Authenticate-Only
45$add value 9 Callback-NAS-Prompt
46$add value 10 Call-Check
47$add value 11 Callback-Administrative
48
49$set default item=str-Framed-Protocol
50
51$add value 1 PPP
52$add value 2 SLIP
53$add value 3 ARAP
54$add value 4 Gandalf
55$add value 5 SLIP-IPX
56$add value 6 Sync-X75
57
58$set default item=str-Login-Service
59
60$add value 0 Telnet
61$add value 1 Rlogin
62$add value 2 TCP-Clear
63$add value 3 PortMaster
64$add value 4 LAT
65$add value 5 X25-PAD
66$add value 6 X25-T3POS
67$add value 8 TCP-Clear-Quiet
68
69