mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-23 16:19:35 -05:00
ITS#7781 Add test
This commit is contained in:
parent
5e028ae839
commit
349c401698
3 changed files with 6 additions and 0 deletions
|
|
@ -28,3 +28,4 @@ FAIL
|
|||
FAIL
|
||||
FAIL
|
||||
FAIL
|
||||
FAIL
|
||||
|
|
|
|||
4
tests/data/constraint/t_fail_16.ldif
Normal file
4
tests/data/constraint/t_fail_16.ldif
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
dn: cn=John Doe,ou=users,dc=example,dc=com
|
||||
changetype: modify
|
||||
replace: jpegPhoto
|
||||
jpegPhoto: AAAA
|
||||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue