Cheong Chung Onn wrote:
Hi,
Is telephoneNumber match broken? If I would to search for a telephone
number say telephoneNumber=1-801-555-1212, would this search yield a
match if the entry's telephoneNumber is 1 801 555 1212?
I have tested it in the SevenSeas example, using the entry
cn=JSmith,ou=people,o=sevenSeas. Searching for a telephoneNumber
1-801-555-1212 would yield false. Match will only be true, if the
number is exactly the same as what is registered in the entry. Is this
an expected behavior or is it broken?
There is a Jira closed with a test case in place on a similar issue
https://issues.apache.org/jira/browse/DIRSERVER-311
Here is the regexp used to check telephoneNumber syntax :
*[+]? *((\([0-9- ]+\))|[0-9- ]+)+
Your number should pass.
--
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org