diff options
-rw-r--r-- | conf.d/070_authenticators.conf | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/conf.d/070_authenticators.conf b/conf.d/070_authenticators.conf index 0d7bc9c..adc08c2 100644 --- a/conf.d/070_authenticators.conf +++ b/conf.d/070_authenticators.conf | |||
@@ -27,12 +27,13 @@ begin authenticators | |||
27 | # use $auth2 as a lookup key, and compare $auth3 against the result of the | 27 | # use $auth2 as a lookup key, and compare $auth3 against the result of the |
28 | # lookup, perhaps using the crypteq{}{} condition. | 28 | # lookup, perhaps using the crypteq{}{} condition. |
29 | 29 | ||
30 | #PLAIN: | 30 | PLAIN: |
31 | # driver = plaintext | 31 | driver = plaintext |
32 | # server_set_id = $auth2 | 32 | public_name = PLAIN |
33 | # server_prompts = : | 33 | server_prompts = : |
34 | # server_condition = Authentication is not yet configured | 34 | server_set_id = $auth2 |
35 | # server_advertise_condition = ${if def:tls_in_cipher } | 35 | server_condition = ${if crypteq{$auth3}{${lookup{$auth2}lsearch{USERLIST}}} {yes}{no}} |
36 | server_advertise_condition = ${if ={587}{$interface_port} {yes}{no}} | ||
36 | 37 | ||
37 | # LOGIN authentication has traditional prompts and responses. There is no | 38 | # LOGIN authentication has traditional prompts and responses. There is no |
38 | # authorization ID in this mechanism, so unlike PLAIN the username and | 39 | # authorization ID in this mechanism, so unlike PLAIN the username and |