Skip to content
Snippets Groups Projects
Commit 2544a320 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

extend manageDIT test cases (now just need to find time

to implement this)
parent 6a86f517
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment