From: Thomas Fitzsimmons <fitzsim@fitzsim.org>
To: Fabrice Bauzac-Stehly <libnoon@orange.fr>
Cc: 62721@debbugs.gnu.org, fgunbin@fastmail.fm
Subject: bug#62721: 30.0.50; EUDC: stop adding a wildcard to LDAP searches
Date: Tue, 16 May 2023 06:57:59 -0400 [thread overview]
Message-ID: <m3r0rg8rwo.fsf@fitzsim.org> (raw)
In-Reply-To: <87ttwchew9.fsf@fedora.home> (Fabrice Bauzac-Stehly's message of "Tue, 16 May 2023 10:14:14 +0200")
Fabrice Bauzac-Stehly <libnoon@orange.fr> writes:
> Thomas Fitzsimmons <fitzsim@fitzsim.org> writes:
>
>> Fabrice Bauzac-Stehly <libnoon@orange.fr> writes:
>>
>>> Sure. I have kept the two default items of the list, and added
>>> 'samaccountname (the attribute for which I don't want any wildcard). As
>>> I've used Customize, it appears like this in my ~/.emacs.d/init.el:
>>>
>>> '(eudc-ldap-no-wildcard-attributes '(objectclass objectcategory samaccountname))
>>
>> Thanks, and what field of `eudc-query-form' does that affect? "E-Mail"?
>
> It affects samaccountname. Indeed, I forgot to indicate that I have
> also customized eudc-query-form-attributes:
>
> '(eudc-default-return-attributes
> '(displayname firstname name thumbnailphoto mail samaccountname ...))
> '(eudc-ldap-no-wildcard-attributes '(objectclass objectcategory samaccountname))
> '(eudc-query-form-attributes '(name firstname email samaccountname))
Oh, OK. Can you test how to apply this to the standard "E-Mail"
attribute in `eudc-query-form'? I forget if I want "mail" or "email"
for SYMBOL here:
You may not want functions like `eudc-query-form' and
`eudc-expand-inline' to do LDAP wildcard expansion by default on
certain fields. If so, add the relevant symbol to this list, for
example `SYMBOL' for the \"E-Mail\" field.
Then I'll push the updated patch.
Thanks,
Thomas
next prev parent reply other threads:[~2023-05-16 10:57 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-08 7:20 bug#62721: 30.0.50; EUDC: stop adding a wildcard to LDAP searches Fabrice Bauzac-Stehly
2023-04-10 14:29 ` Filipp Gunbin
2023-04-10 19:09 ` Fabrice Bauzac-Stehly
2023-04-10 19:36 ` Filipp Gunbin
2023-04-19 12:48 ` Thomas Fitzsimmons
2023-05-14 19:10 ` Fabrice Bauzac-Stehly
2023-05-15 18:28 ` Thomas Fitzsimmons
2023-05-15 20:15 ` Fabrice Bauzac-Stehly
2023-05-15 20:36 ` Thomas Fitzsimmons
2023-05-15 20:40 ` Thomas Fitzsimmons
2023-05-15 21:56 ` Thomas Fitzsimmons
2023-05-16 8:24 ` Fabrice Bauzac-Stehly
2023-05-16 8:14 ` Fabrice Bauzac-Stehly
2023-05-16 10:57 ` Thomas Fitzsimmons [this message]
2023-05-17 6:12 ` Fabrice Bauzac-Stehly
2023-05-17 11:01 ` Thomas Fitzsimmons
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3r0rg8rwo.fsf@fitzsim.org \
--to=fitzsim@fitzsim.org \
--cc=62721@debbugs.gnu.org \
--cc=fgunbin@fastmail.fm \
--cc=libnoon@orange.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.