diff options
author | Philip Hazel <ph10@hermes.cam.ac.uk> | 2006-10-16 15:44:36 +0000 |
---|---|---|
committer | Philip Hazel <ph10@hermes.cam.ac.uk> | 2006-10-16 15:44:36 +0000 |
commit | 16ff981e58427ae8bd5e8420411a9978678841e4 (patch) | |
tree | 9916eeb066e23a2922dcd9d036e156560880571e /test/confs | |
parent | 7befa435e5664f43d90bf5a2703fcf4f2a26139e (diff) |
Add server_condition to all authenticators, to allow for additional
conditions (and thereby implement authorization).
Diffstat (limited to 'test/confs')
-rw-r--r-- | test/confs/3500 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/confs/3500 b/test/confs/3500 index b83b1c33f..343a0b3e1 100644 --- a/test/confs/3500 +++ b/test/confs/3500 @@ -13,7 +13,7 @@ gecos_name = CALLER_NAME domainlist local_domains = test.ex : *.test.ex -hostlist auth_hosts = 10.0.0.1 +hostlist auth_hosts = 10.0.0.1 : 10.0.0.5 hostlist relay_hosts = 10.0.0.4 hostlist auth_relay_hosts = 10.0.0.3 : 10.0.0.4 @@ -80,6 +80,7 @@ cram_md5: server_secret = "${if eq{$auth1}{tim}{tanstaaftanstaaf}\ {${if eq{$auth1}{userx}{secret}fail}}}" server_set_id = $auth1 + server_condition = ${if !eq {$sender_host_address}{10.0.0.5}} |