Alina Dubrovska wrote:
> Hello,
>  
> Here is a simple example of what exactly do I need regarding ? wildcard.
> Assume the following entries are present in directory:
>   cn=alna,dc=example,dc=com
>   cn=al*i*na,dc=example,dc=com
>   cn=al*a*na,dc=example,dc=com
>   cn=al*ii*na,dc=example,dc=com
>   cn=al*aaa*na,dc=example,dc=com
> So, filter *(cn=al?na) *would match only entries:
>   cn=alna,dc=example,dc=com
>   cn=al*i*na,dc=example,dc=com
>   cn=al*a*na,dc=example,dc=com
> i.e. zero or one character.
>  
> Currently I have to use wildcard * instead of ? for search and then
> additionally check each resulting entry to match correct regular
> expression. Would be nice if OpenLDAP would perform it on server side.
>  

Let's ask the question in a different way. What is your use case for
querying cns which contain common beginnings, endings, and arbitrary
values with arbitrary lengths in the middle?

Out of context, it seems quite peculiar to me.

Mike

-- 
http://www.netauth.com - LDAP Directory Consulting

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

---
You are currently subscribed to [EMAIL PROTECTED] as: [EMAIL PROTECTED]
To unsubscribe send email to [EMAIL PROTECTED] with the word UNSUBSCRIBE as the 
SUBJECT of the message.

Reply via email to