GNU bug report logs -
#62721
30.0.50; EUDC: stop adding a wildcard to LDAP searches
Previous Next
Reported by: Fabrice Bauzac-Stehly <libnoon <at> orange.fr>
Date: Sat, 8 Apr 2023 07:21:02 UTC
Severity: normal
Found in version 30.0.50
Done: Thomas Fitzsimmons <fitzsim <at> fitzsim.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Hi Fabrice,
Fabrice Bauzac-Stehly <libnoon <at> orange.fr> writes:
> For the time being, on my side, I customize "Eudc Ldap No Wildcard
> Attributes" by adding to this list the attribute for which I don't want
> an automatic "*" wildcard appended.
Do you mind posting the `eudc-ldap-no-wildcard-attributes' setting you
ended up with? The docstring for that variable doesn't mention
adjusting this as a preference, only LDAP failure workarounds. I would
like to update the docstring with an example, to make your use case more
discoverable.
> As a software engineer, I suspect this issue could be better addressed
> by the Emacs codebase, because I don't think it is wise for
> eudc-query-form to arbitrarily add an automatic wildcard to the last
> field, this does not make sense to me. But I'll let Emacs experts think
> about it.
>
> As far as I'm concerned, I have this workaround that works for me.
OK, thanks for following up. My feeling is that someone using both
`eudc-query-form' and `eudc-expand-inline' would want the behaviour of
both functions to match with respect to wildcard addition. And
`eudc-ldap-no-wildcard-attributes' allows the user to customize the
behaviour to their preference/expectation (which you've done), so I
think this is fine as-is (except the docstring).
Thomas
This bug report was last modified 2 years and 8 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.