ITS#7781 Add test

This commit is contained in:
Ondřej Kuzník 2014-09-15 22:33:42 +01:00 committed by Howard Chu
parent 5e028ae839
commit 349c401698
3 changed files with 6 additions and 0 deletions

View file

@ -28,3 +28,4 @@ FAIL
FAIL
FAIL
FAIL
FAIL

View file

@ -0,0 +1,4 @@
dn: cn=John Doe,ou=users,dc=example,dc=com
changetype: modify
replace: jpegPhoto
jpegPhoto: AAAA

View file

@ -96,6 +96,7 @@ olcConstraintAttribute: mail
olcConstraintAttribute: mail count 1 restrict="ldap:///ou=groups,$BASEDN??one"
olcConstraintAttribute: mail regex ^[[:alnum:]]+@example.com$
olcConstraintAttribute: description count 2
olcConstraintAttribute: jpegPhoto count 0
# cn value has to be concatenated givenName SP sn
olcConstraintAttribute: cn,sn,givenName
set "(this/givenName + [ ] + this/sn) & this/cn"