Philip Guenther wrote:
> > Not quite, I have one more concern: if * and \2a have the same meaning,
> > how do I specify a litteral * (that is * not being a wildcard)?
>
> You need to read RFC 4515. It even has an *example* about matching
> literal '*' characters!
This is what I initially unde
On Fri, 21 Sep 2012, Emmanuel Dreyfus wrote:
> On Fri, Sep 21, 2012 at 07:42:53AM +, Emmanuel Dreyfus wrote:
> > On Thu, Sep 20, 2012 at 10:21:12PM -0700, Philip Guenther wrote:
> > > So: imagine your search filter is this:
> > > (cn=Bob ?)
> > > which is the *exact same filter* as this:
> >
Le 9/21/12 2:18 PM, Emmanuel Dreyfus a écrit :
On Fri, Sep 21, 2012 at 07:42:53AM +, Emmanuel Dreyfus wrote:
On Thu, Sep 20, 2012 at 10:21:12PM -0700, Philip Guenther wrote:
So: imagine your search filter is this:
(cn=Bob ?)
which is the *exact same filter* as this:
(cn=Bob
On Fri, Sep 21, 2012 at 07:42:53AM +, Emmanuel Dreyfus wrote:
> On Thu, Sep 20, 2012 at 10:21:12PM -0700, Philip Guenther wrote:
> > So: imagine your search filter is this:
> > (cn=Bob ?)
> > which is the *exact same filter* as this:
> > (cn=Bob \3f)
> (...)
> Thanks, everything is clea
On Thu, Sep 20, 2012 at 10:21:12PM -0700, Philip Guenther wrote:
> So: imagine your search filter is this:
> (cn=Bob ?)
> which is the *exact same filter* as this:
> (cn=Bob \3f)
(...)
> ldap://ldap.example.com/???(cn=Bob%20%3f)
(...)
> ldap://ldap.example.com/???(cn=Bob%20%
On Fri, 21 Sep 2012, Emmanuel Dreyfus wrote:
> Philip Guenther wrote:
>
> > You asked what characters in an LDAP search filter have to be percent
> > encoded when including that search filter in an LDAP URI. That's the
> > question I answered above.
&
Philip Guenther wrote:
> You asked what characters in an LDAP search filter have to be percent
> encoded when including that search filter in an LDAP URI. That's the
> question I answered above.
Oh, right, there was some misunderstanding, I though you were taking
about escaping
t; -> %3c
> > > -> %3e
> > ? -> %3f
> > \ -> %5c
> > ^ -> %5e
> > ` -> %60
> > { -> %7b
> > | -> %7c
> > } -> %7d
>
> You include ? in the list, but in many example I hav
5c
> ^ -> %5e
> ` -> %60
> { -> %7b
> | -> %7c
> } -> %7d
You include ? in the list, but in many example I have seen, we have a ?
unencoded in a LDAP URI. I understand ? needs special treatment when it
is part of a dn, filter, attribu
On Thu, 20 Sep 2012, Emmanuel Dreyfus wrote:
> When feeding a LDAP URI to ldap_url_parse(), I understand some characters
> may need to be escaped in filters in order to get a litteral:
> * => \2a
> ( => \28
> ) => \29
> \ => \5c
> / => \2f
>
> Reading the
Hi
When feeding a LDAP URI to ldap_url_parse(), I understand some characters
may need to be escaped in filters in order to get a litteral:
* => \2a
( => \28
) => \29
\ => \5c
/ => \2f
Reading the man page, I understand %-encoding is not mandatory, but
it is of course requ
11 matches
Mail list logo