From e80b92b48148505b44c6a378db36badfe60fce79 Mon Sep 17 00:00:00 2001 From: Badlop Date: Tue, 16 Aug 2011 00:25:03 +0200 Subject: =?UTF-8?q?Preliminary=20patch=20for=20SASL=20SCRAM-SHA-1=20(thank?= =?UTF-8?q?s=20to=20Stephen=20R=C3=B6ttger)(EJAB-1196)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ejabberd_auth_ldap.erl | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/ejabberd_auth_ldap.erl') diff --git a/src/ejabberd_auth_ldap.erl b/src/ejabberd_auth_ldap.erl index 88486f175..da928599b 100644 --- a/src/ejabberd_auth_ldap.erl +++ b/src/ejabberd_auth_ldap.erl @@ -54,6 +54,7 @@ is_user_exists/2, remove_user/2, remove_user/3, + storage_type/0, plain_password_required/0 ]). @@ -137,6 +138,9 @@ init(Host) -> plain_password_required() -> true. +storage_type() -> + external. + check_password(User, Server, Password) -> %% In LDAP spec: empty password means anonymous authentication. %% As ejabberd is providing other anonymous authentication mechanisms -- cgit v1.2.3