?? aaad_user_db.xml
字號:
<?xml version="1.0" encoding="UTF-8"?><user_db xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation='aaad_user_db.xsd'> <!-- !!! NOTES !!! The aaad uses this user database file to determine the eap method to be used per user or per group of users. The Format is very simple. Each entry has a <name_match> string that aaad uses to see match against the username of each authentication attempt. The match does not have to be exact. Currently, it uses substring searches to find a match. So as an example, if an incomming identity is: user@domain.net An <name_match> value of "us" or "user" or "domain" will match this identity. Future version may use different matching algorithm. For now we use the simpliest form. In addtion, there is a <default_entry> which is used if no match can be made. Once a match is made, the specified eap method is used to authenticate the user. For archie methods, the entry can point to a binary shared secret file. Note that additional methods will be added in the future that will expand this configuration file. --> <user_entry> <!-- will match any identity with a "user" sub-string --> <name_match>user</name_match> <!-- Available eap methods: md5 - MD5 challenge archie - Archie method For MD5, you have the option of using UN*X shadow password checks for each user or you can hardcode the password into this file. See below for status of these features. For system password you need to run aaad under SUID root to be able to use shadow password checks. Though as of this release (1.0.7-f), this feature still has problems and is not fully functional. --> <eap_method>archie</eap_method> <archie> <!-- This configuration is specific to EAP archie method --> <shared_secret_file>/etc/aaad/config/aaad_eap_shared_secret.bin</shared_secret_file> </archie> <!-- This configuration is specific to MD5 method --> <md5> <!-- Possible values for password type: system - uses UN*X shadow password lib if the system supports it. As of this release (1.0.7-f), this feature has problems so it migth not work properly. flat - uses the value in <secret> as the password string. Note that this is NOT RECOMMENDED but for now it can be used for testing. none - no password check is done --> <password_type>flat</password_type> <secret>12345</secret> </md5> </user_entry> <user_entry> <name_match>isp.net</name_match> <eap_method>md5</eap_method> <archie> <shared_secret_file>/etc/aaad/config/aaad_eap_shared_secret.bin</shared_secret_file> </archie> <md5> <password_type>flat</password_type> <secret>12345</secret> </md5> </user_entry> <default_entry> <eap_method>archie</eap_method> <archie> <shared_secret_file>/etc/aaad/config/aaad_eap_shared_secret.bin</shared_secret_file> </archie> <md5> <password_type>none</password_type> <secret></secret> </md5> </default_entry></user_db>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -