1 | # hints |
---|
2 | # |
---|
3 | # The hints file. This file is used to match |
---|
4 | # a request, and then add attributes to it. This |
---|
5 | # process allows a user to login as "bob.ppp" (for example), |
---|
6 | # and receive a PPP connection, even if the NAS doesn't |
---|
7 | # ask for PPP. The "hints" file is used to match the |
---|
8 | # ".ppp" portion of the username, and to add a set of |
---|
9 | # "user requested PPP" attributes to the request. |
---|
10 | # |
---|
11 | # Matching can take place with the the Prefix and Suffix |
---|
12 | # attributes, just like in the "users" file. |
---|
13 | # These attributes operate ONLY on the username, though. |
---|
14 | # |
---|
15 | # Note that the attributes that are set for each |
---|
16 | # entry are _NOT_ passed back to the terminal server. |
---|
17 | # Instead they are added to the information that has |
---|
18 | # been _SENT_ by the terminal server. |
---|
19 | # |
---|
20 | # This extra information can be used in the users file to |
---|
21 | # match on. Usually this is done in the DEFAULT entries, |
---|
22 | # of which there can be more than one. |
---|
23 | # |
---|
24 | # In addition a matching entry can transform a username |
---|
25 | # for authentication purposes if the "Strip-User-Name" |
---|
26 | # variable is set to Yes in an entry (default is Yes). |
---|
27 | # |
---|
28 | # A special non-protocol name-value pair called "Hint" |
---|
29 | # can be set to match on in the "users" file. |
---|
30 | # |
---|
31 | # The following is how most ISPs want to set this up. |
---|
32 | # |
---|
33 | # Version: $Id: hints,v 1.4 2004/01/29 16:42:43 aland Exp $ |
---|
34 | # |
---|
35 | |
---|
36 | |
---|
37 | DEFAULT Suffix == ".ppp", Strip-User-Name = Yes |
---|
38 | Hint = "PPP", |
---|
39 | Service-Type = Framed-User, |
---|
40 | Framed-Protocol = PPP |
---|
41 | |
---|
42 | DEFAULT Suffix == ".slip", Strip-User-Name = Yes |
---|
43 | Hint = "SLIP", |
---|
44 | Service-Type = Framed-User, |
---|
45 | Framed-Protocol = SLIP |
---|
46 | |
---|
47 | DEFAULT Suffix == ".cslip", Strip-User-Name = Yes |
---|
48 | Hint = "CSLIP", |
---|
49 | Service-Type = Framed-User, |
---|
50 | Framed-Protocol = SLIP, |
---|
51 | Framed-Compression = Van-Jacobson-TCP-IP |
---|
52 | |
---|
53 | ###################################################################### |
---|
54 | # |
---|
55 | # These entries are old, and commented out by default. |
---|
56 | # They confuse too many people when "Peter" logs in, and the |
---|
57 | # server thinks that the user "eter" is asking for PPP. |
---|
58 | # |
---|
59 | #DEFAULT Prefix == "U", Strip-User-Name = No |
---|
60 | # Hint = "UUCP" |
---|
61 | |
---|
62 | #DEFAULT Prefix == "P", Strip-User-Name = Yes |
---|
63 | # Hint = "PPP", |
---|
64 | # Service-Type = Framed-User, |
---|
65 | # Framed-Protocol = PPP |
---|
66 | |
---|
67 | #DEFAULT Prefix == "S", Strip-User-Name = Yes |
---|
68 | # Hint = "SLIP", |
---|
69 | # Service-Type = Framed-User, |
---|
70 | # Framed-Protocol = SLIP |
---|
71 | |
---|
72 | #DEFAULT Prefix == "C", Strip-User-Name = Yes |
---|
73 | # Hint = "CSLIP", |
---|
74 | # Service-Type = Framed-User, |
---|
75 | # Framed-Protocol = SLIP, |
---|
76 | # Framed-Compression = Van-Jacobson-TCP-IP |
---|
77 | |
---|