Sorry, I presume this was a bug in the code and the docs document the right behaviour?
I'll revert them when you've confirmed.
On 19/01/2009, ando@sys-net.it ando@sys-net.it wrote:
marjan.blatnik@gov.si wrote:
Full_Name: Marjan Blatnik Version: 2.4.13 OS: Debian GNU/Linux URL: ftp://ftp.openldap.org/incoming/ Submission from: (NULL) (193.2.236.13)
Example in slapo-constraint manual is not precise. The line constraint_attribute mail regex ^[:alnum:]+@mydomain.com$ should be constraint_attribute mail regex ^[[:alnum:]]+@mydomain.com$
And similar in http://www.openldap.org/doc/admin24/overlays.html#Constraints
This is already fixed in HEAD, but apparently has not been ported to 2.4. Thanks for noticing it.
p.
Ing. Pierangelo Masarati OpenLDAP Core Team
SysNet s.r.l. via Dossi, 8 - 27100 Pavia - ITALIA http://www.sys-net.it
Office: +39 02 23998309 Mobile: +39 333 4963172 Fax: +39 0382 476497 Email: ando@sys-net.it