mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-28 10:39:34 -05:00
extend manageDIT test cases (now just need to find time
to implement this)
This commit is contained in:
parent
6a86f5178f
commit
2544a320b9
3 changed files with 24 additions and 2 deletions
|
|
@ -110,7 +110,7 @@ LDAP_BEGIN_DECL
|
|||
#endif
|
||||
|
||||
#define SERVICE_NAME OPENLDAP_PACKAGE "-slapd"
|
||||
#define SLAPD_ANONYMOUS "cn=anonymous"
|
||||
#define SLAPD_ANONYMOUS ""
|
||||
|
||||
/* LDAPMod.mod_op value ===> Must be kept in sync with ldap.h!
|
||||
* This is a value used internally by the backends. It is needed to allow
|
||||
|
|
|
|||
|
|
@ -44,6 +44,18 @@ attributetype ( 1.3.6.1.4.1.4203.666.1.37
|
|||
syntax 1.3.6.1.4.1.1466.115.121.1.24
|
||||
single-value )
|
||||
|
||||
objectClass ( 1.3.6.1.4.1.4203.666.1.38
|
||||
attributetype ( 1.3.6.1.4.1.4203.666.1.38
|
||||
name 'testObsolete'
|
||||
obsolete
|
||||
equality booleanMatch
|
||||
syntax 1.3.6.1.4.1.1466.115.121.1.7
|
||||
single-value )
|
||||
|
||||
objectClass ( 1.3.6.1.4.1.4203.666.3.15
|
||||
name 'testPerson' sup OpenLDAPperson
|
||||
may testTime )
|
||||
|
||||
objectClass ( 1.3.6.1.3.1.4203.666.3.16
|
||||
name 'obsoletePerson'
|
||||
obsolete auxiliary
|
||||
must ( testObsolete ) )
|
||||
|
|
|
|||
|
|
@ -65,6 +65,16 @@ version: 1
|
|||
|
||||
# LEADING COMMENT AND WHITE SPACE
|
||||
|
||||
dn: cn=Barbara Jensen,ou=Information Technology Division,ou=People,dc=example,
|
||||
dc=com
|
||||
# add obsolete objectclass
|
||||
changetype: modify
|
||||
add: objectClass
|
||||
objectClass: obsoletePerson
|
||||
-
|
||||
add: testObsolete
|
||||
testObsolete: TRUE
|
||||
|
||||
dn: cn=James A Jones 1,ou=Alumni Association,ou=People,dc=example,dc=com
|
||||
# update structural object class of entry via objectClass replace
|
||||
changetype: modify
|
||||
|
|
|
|||
Loading…
Reference in a new issue