[Date Prev][Date Next]
Re: Problem finding telephonenumber in a plain numeric search when number is stored with special characters
Walter Kempel wrote:
Currently you can't. OpenLDAP's telephoneNumber syntax only strips the
'-' characters out of the number for indexing. Perhaps you should file
an ITS requesting that this be changed; it probably would be more useful
to only preserve numeric digits in the index (and the matching).
Searchfilter "(telephonenumber=+41(61)26-71234)" gave correct result
Searchfilter "(telephonenumber=41612671234)" gave correct result
Searchfilter "(telephonenumber=41(61)26-71234)" gave correct result
Searchfilter "(telephonenumber=+41(61)2671234)" gave correct result
It seems that Notes keeps all non-digit characters out of the telephonenumber index AND the search.
How can I achieve the same under OpenLdap?
By the way, technically a number like +41 (61) xxxxx is not well formed;
the parentheses are supposed to be omitted for international numbers:
-- Howard Chu
Chief Architect, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc
OpenLDAP Core Team http://www.openldap.org/project/