Debian Codegraph @

etc/auth.conf

raw
1 # authentication information
2 #
3 # do not forget to change permission of this file
4 # and remove sample users :-)
5 #
6 # currntly, this file is read at each authentication
7 #
8 [AuthGroup1]
9 Comment "Auth Group1"
10 # User Secret MutualUser MutualSecret (Mutual is optional)
11 # chap secret length is from 12 to 16 (for MS initiator)
12 Auth "iqn.1991-05.com.microsoft:saturn" "1234567890abcdef" \
13 "iqn.2007-09.jp.ne.peach:disk1" "mutualtestxx"
14 Auth "iqn.1991-05.com.microsoft:athena" "abcdefghijklmnop"
15
16 # tag 9999 is defined as AuthGroup for Dicsovery in sample istgt.conf
17 [AuthGroup9999]
18 Auth "iqn.1991-05.com.microsoft:saturn" "testchaptest" \
19 "iqn.2007-09.jp.ne.peach:disk1" "mutualtestxx"
20
21 # tag 10000 is defined as AuthGroup for UnitControl in sample istgt.conf
22 [AuthGroup10000]
23 Comment "Unit Controller's users"
24 Auth "ctluser" "test" "mutualuser" "mutualsecret"
25 Auth "onlysingle" "secret"