summaryrefslogtreecommitdiff
blob: 24434a7164a1d88601e23b0873a9529c5e4b9f04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
######################################################################
#                   AUTHENTICATION CONFIGURATION                     #
######################################################################
# If you're using PAM to authenticate, lifes real simple.
# This plain directive works for nearly everything except windows MUA's the
# login directive will allow you to authenticate your Outlook 2000 and
# outlook express clients.



plain:
  driver = plaintext
  public_name = PLAIN
  server_condition = "${if pam{$2:$3}{1}{0}}"
  server_set_id = $2

login:
  driver = plaintext
  public_name = LOGIN
  server_prompts = "Username:: : Password::"
  server_condition = "${if pam{$1:${sg{$2}{:}{::}}}{1}{0}}"
  server_set_id = $1
#
# FIXME
# Need to add authenticator for SPA!!