From 651de2ca8e6e62e6d7f2155b1928277ad2706116 Mon Sep 17 00:00:00 2001 From: Ben Langfeld Date: Thu, 10 Jul 2014 18:50:03 -0300 Subject: [PATCH] Set dnAttributes on when it's requested by a filter --- src/eldap_filter_yecc.yrl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/eldap_filter_yecc.yrl b/src/eldap_filter_yecc.yrl index a70ea3e74..fe2a075c0 100644 --- a/src/eldap_filter_yecc.yrl +++ b/src/eldap_filter_yecc.yrl @@ -38,9 +38,9 @@ any -> '$empty': []. initial -> value: initial('$1'). final -> value: final('$1'). -extensible -> xattr ':dn' ':' matchingrule ':=' value: extensible('$6', ['$1', '$4']). +extensible -> xattr ':dn' ':' matchingrule ':=' value: extensible('$6', ['$1', '$4', {dnAttributes, true}]). extensible -> xattr ':' matchingrule ':=' value: extensible('$5', ['$1', '$3']). -extensible -> xattr ':dn' ':=' value: extensible('$4', ['$1']). +extensible -> xattr ':dn' ':=' value: extensible('$4', ['$1', {dnAttributes, true}]). extensible -> xattr ':=' value: extensible('$3', ['$1']). extensible -> ':dn' ':' matchingrule ':=' value: extensible('$5', ['$3']). extensible -> ':' matchingrule ':=' value: extensible('$4', ['$2']).