Chetan Gaonker | 7f4bf74 | 2016-05-04 15:56:08 -0700 | [diff] [blame^] | 1 | # -*- text -*- |
| 2 | # |
| 3 | # $Id: 0b87548aac96952f1fa07410578e482496cb75e8 $ |
| 4 | |
| 5 | # Realm module, for proxying. |
| 6 | # |
| 7 | # You can have multiple instances of the realm module to |
| 8 | # support multiple realm syntaxes at the same time. The |
| 9 | # search order is defined by the order that the modules are listed |
| 10 | # in the authorize and preacct sections. |
| 11 | # |
| 12 | # Four config options: |
| 13 | # format - must be "prefix" or "suffix" |
| 14 | # The special cases of "DEFAULT" |
| 15 | # and "NULL" are allowed, too. |
| 16 | # delimiter - must be a single character |
| 17 | |
| 18 | # 'realm/username' |
| 19 | # |
| 20 | # Using this entry, IPASS users have their realm set to "IPASS". |
| 21 | realm IPASS { |
| 22 | format = prefix |
| 23 | delimiter = "/" |
| 24 | } |
| 25 | |
| 26 | # 'username@realm' |
| 27 | # |
| 28 | realm suffix { |
| 29 | format = suffix |
| 30 | delimiter = "@" |
| 31 | } |
| 32 | |
| 33 | # 'username%realm' |
| 34 | # |
| 35 | realm realmpercent { |
| 36 | format = suffix |
| 37 | delimiter = "%" |
| 38 | } |
| 39 | |
| 40 | # |
| 41 | # 'domain\user' |
| 42 | # |
| 43 | realm ntdomain { |
| 44 | format = prefix |
| 45 | delimiter = "\\" |
| 46 | } |