1805 |
clement.si |
1 |
# Username mappings
|
|
|
2 |
# Format:
|
|
|
3 |
# Username:realm:query
|
|
|
4 |
#
|
|
|
5 |
# where realm is:
|
|
|
6 |
# accounting: for the map to be used when querying the accounting db
|
|
|
7 |
# userdb: for the map to be used when querying the user db
|
|
|
8 |
# nasdb: To only map specific NASes to the username (separated by ,)
|
|
|
9 |
# nasadmin: To allow the user to use the nas_admin page (yes or no)
|
|
|
10 |
#
|
|
|
11 |
library-admin:accounting:AND nasipaddress = '123.123.123.123'
|
|
|
12 |
library-admin:userdb:AND Admin = 'library-admin'
|
|
|
13 |
library-admin:nasdb:nas.lib.company.com
|
|
|
14 |
library-admin:nasadmin:no
|
|
|
15 |
#
|
|
|
16 |
lab-admin:accounting:AND nasipaddress = '123.123.124.123'
|
|
|
17 |
lab-admin:userdb:AND Admin = 'lab-admin'
|
|
|
18 |
lab-admin:nasdb:nas.lab.company.com
|
|
|
19 |
lab-admin:nasadmin:no
|
|
|
20 |
#
|
|
|
21 |
admin:nasadmin:yes
|