Merge pull request #361 from weiss/parse-ldap-dn-filter
Fix parsing of "ldap_dn_filter" option
This commit is contained in:
commit
946b64e166
|
@ -387,7 +387,7 @@ parse_options(Host) ->
|
||||||
[{<<"%u">>, <<"*">>}]),
|
[{<<"%u">>, <<"*">>}]),
|
||||||
{DNFilter, DNFilterAttrs} =
|
{DNFilter, DNFilterAttrs} =
|
||||||
eldap_utils:get_opt({ldap_dn_filter, Host}, [],
|
eldap_utils:get_opt({ldap_dn_filter, Host}, [],
|
||||||
fun({DNF, DNFA}) ->
|
fun([{DNF, DNFA}]) ->
|
||||||
NewDNFA = case DNFA of
|
NewDNFA = case DNFA of
|
||||||
undefined ->
|
undefined ->
|
||||||
[];
|
[];
|
||||||
|
|
Loading…
Reference in New Issue