Skip to content

Instantly share code, notes, and snippets.

@markuswustenberg
Created June 11, 2010 18:25
Show Gist options
  • Save markuswustenberg/434854 to your computer and use it in GitHub Desktop.
Save markuswustenberg/434854 to your computer and use it in GitHub Desktop.
plain_server:
driver = plaintext
public_name = PLAIN
server_condition = "${if crypteq{$auth3}{${extract{1}{:}{${lookup{$auth2}lsearch{CONFDIR/passwd}{$value}{*:*}}}}}{1}{0}}"
server_set_id = $auth2
server_prompts = :
.ifndef AUTH_SERVER_ALLOW_NOTLS_PASSWORDS
server_advertise_condition = ${if eq{$tls_cipher}{}{}{*}}
.endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment