extend manageDIT test cases (now just need to find time

to implement this)
This commit is contained in:
Kurt Zeilenga 2005-05-13 06:43:06 +00:00
parent 6a86f5178f
commit 2544a320b9
3 changed files with 24 additions and 2 deletions

View file

@ -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

View file

@ -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 ) )

View file

@ -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