[Freeipa-users] Ldapsearch with a trailing space

Rich Megginson rmeggins at redhat.com
Wed Aug 20 23:12:53 UTC 2014


On 08/20/2014 05:01 PM, William wrote:
> Hi,
>
> Semi offtopic, how does one search with ldap for an attribute instance
> with a trailing space. Consider:
>
> "cn=foo"
>
> How do you distinguish this from "cn=foo" in an ldapsearch? I have
> tried:
>
> ldapsearch (cn=foo)
> ldapsearch (cn='foo ')
> ldapsearch (&(cn=foo*)(!(cn=foo)))
> ldapsearch (cn=foo\20)
>
> Any other ideas?
>
How did you manage to add an attribute value with a trailing space?




More information about the Freeipa-users mailing list