Merge pull request #361 from weiss/parse-ldap-dn-filter

Fix parsing of "ldap_dn_filter" option
This commit is contained in:
Evgeny Khramtsov 2014-11-22 10:36:21 +03:00
commit 946b64e166
1 changed files with 1 additions and 1 deletions

View File

@ -387,7 +387,7 @@ parse_options(Host) ->
[{<<"%u">>, <<"*">>}]),
{DNFilter, DNFilterAttrs} =
eldap_utils:get_opt({ldap_dn_filter, Host}, [],
fun({DNF, DNFA}) ->
fun([{DNF, DNFA}]) ->
NewDNFA = case DNFA of
undefined ->
[];