'Schema: Dynamic Schema: Update via File' { 'functionName' : 'addSchemaTask' , 'functionMessage' : 'Add schema objects as a task.' , 'functionException' : 'Tasks.SchemaException' , 'functionArguments' : { 'dsInstanceHost' : server.host , 'dsInstancePort' : server.port , 'dsInstanceDn' : server.dn , 'dsInstancePswd' : server.password , 'taskID' : '6' , 'ldifFile' : '05-DynamicSchemaAdd.ldif' } } { 'functionName' : 'addEntry' , 'functionMessage' : 'Add an entry that uses this new schema.' , 'functionException' : 'LDAP.AddException' , 'functionArguments' : { 'dsInstanceHost' : server.host , 'dsInstancePort' : server.port , 'dsInstanceDn' : server.dn , 'dsInstancePswd' : server.password , 'entryToBeAdded' : '%s/schema/ldifs/dynamic_schema1.ldif' % remote.data } } { 'functionName' : 'SearchObject' , 'functionMessage' : 'Search for the entry just added and return addschema1AT.' , 'functionException' : 'LDAP.SearchException' , 'functionArguments' : { 'dsInstanceHost' : server.host , 'dsInstancePort' : server.port , 'dsInstanceDn' : server.dn , 'dsInstancePswd' : server.password , 'dsBaseDN' : __baseDN , 'dsFilter' : 'objectclass=addschema1OC' , 'attributes' : 'addschema1AT' } } '%s: LDAPAdd failed. eInfo(%s)' % (eType,eInfo) '%s: LDAPSearch failed. eInfo(%s)' % (eType,eInfo) '%s: Tasks Schema failed. eInfo(%s)' % (eType,eInfo) 'Schema: Update Over Protocol: Add Schema Object' { 'functionName' : 'modifyEntry' , 'functionMessage' : 'Modify an entry that uses this new schema.' , 'functionException' : 'LDAP.ModifyException' , 'functionArguments' : { 'dsInstanceHost' : server.host , 'dsInstancePort' : server.port , 'dsInstanceDn' : server.dn , 'dsInstancePswd' : server.password , 'entryToBeModified' : '%s/schema/ldifs/updateSchema.ldif' % remote.data } } { 'functionName' : 'addEntry' , 'functionMessage' : 'Add an entry that uses this new schema.' , 'functionException' : 'LDAP.AddException' , 'functionArguments' : { 'dsInstanceHost' : server.host , 'dsInstancePort' : server.port , 'dsInstanceDn' : server.dn , 'dsInstancePswd' : server.password , 'entryToBeAdded' : '%s/schema/ldifs/dynamic_schema2.ldif' % remote.data } } { 'functionName' : 'SearchObject' , 'functionMessage' : 'Search for the entry just added and return addschema2AT.' , 'functionException' : 'LDAP.SearchException' , 'functionArguments' : { 'dsInstanceHost' : server.host , 'dsInstancePort' : server.port , 'dsInstanceDn' : server.dn , 'dsInstancePswd' : server.password , 'dsBaseDN' : __baseDN , 'dsFilter' : 'objectclass=addschema2OC' , 'attributes' : 'addschema2AT' } } '%s: LDAPAdd failed. eInfo(%s)' % (eType,eInfo) '%s: LDAPModify failed. eInfo(%s)' % (eType,eInfo) '%s: LDAPSearch failed. eInfo(%s)' % (eType,eInfo) 'Schema: Update Over Protocol: Replace Schema Object' { 'functionName' : 'modifyEntry' , 'functionMessage' : 'Modify an entry that uses this new schema.' , 'functionException' : 'LDAP.ModifyException' , 'functionArguments' : { 'dsInstanceHost' : server.host , 'dsInstancePort' : server.port , 'dsInstanceDn' : server.dn , 'dsInstancePswd' : server.password , 'entryToBeModified' : '%s/schema/ldifs/updateSchema2.ldif' % remote.data } } { 'functionName' : 'addEntry' , 'functionMessage' : 'Add an entry that uses this new schema.' , 'functionException' : 'LDAP.AddException' , 'functionArguments' : { 'dsInstanceHost' : server.host , 'dsInstancePort' : server.port , 'dsInstanceDn' : server.dn , 'dsInstancePswd' : server.password , 'entryToBeAdded' : '%s/schema/ldifs/dynamic_schema4.ldif' % remote.data } } { 'functionName' : 'SearchObject' , 'functionMessage' : 'Search for the entry just added and return addschema2AT.' , 'functionException' : 'LDAP.SearchException' , 'functionArguments' : { 'dsInstanceHost' : server.host , 'dsInstancePort' : server.port , 'dsInstanceDn' : server.dn , 'dsInstancePswd' : server.password , 'dsBaseDN' : __baseDN , 'dsFilter' : 'objectclass=addschema3OC' , 'attributes' : 'addschema3AT' } } '%s: LDAPAdd failed. eInfo(%s)' % (eType,eInfo) '%s: LDAPModify failed. eInfo(%s)' % (eType,eInfo) '%s: LDAPSearch failed. eInfo(%s)' % (eType,eInfo) 'Schema: Update Over Protocol: Remove Schema Object' { 'functionName' : 'modifyEntry' , 'functionMessage' : 'Modify an entry that uses this new schema.' , 'functionException' : 'LDAP.ModifyException' , 'functionArguments' : { 'dsInstanceHost' : server.host , 'dsInstancePort' : server.port , 'dsInstanceDn' : server.dn , 'dsInstancePswd' : server.password , 'entryToBeModified' : '%s/schema/ldifs/updateSchema3.ldif' % remote.data } } { 'functionName' : 'addEntry' , 'functionMessage' : 'Add an entry that uses the schema just removed.' , 'functionException' : 'LDAP.AddException' , 'functionArguments' : { 'dsInstanceHost' : server.host , 'dsInstancePort' : server.port , 'dsInstanceDn' : server.dn , 'dsInstancePswd' : server.password , 'entryToBeAdded' : '%s/schema/ldifs/dynamic_schema3.ldif' % remote.data, 'expectedRC' : 65 } } '%s: LDAPAdd failed. eInfo(%s)' % (eType,eInfo) '%s: LDAPModify failed. eInfo(%s)' % (eType,eInfo) '%s: LDAPSearch failed. eInfo(%s)' % (eType,eInfo) 'Schema: Modifying Existing Custom Objectclass' { 'functionName' : 'modifyEntry', 'functionMessage' : 'Add two custom objectclasses (with inheritance) and add a custom attribute to the parent one.', 'functionException' : 'LDAP.ModifyException' , 'functionArguments' : { 'dsInstanceHost' : server.host , 'dsInstancePort' : server.port , 'dsInstanceDn' : server.dn , 'dsInstancePswd' : server.password , 'entryToBeModified' : '%s/schema/ldifs/updateSchema4.ldif' % remote.data } } { 'functionName' : 'addEntry', 'functionMessage' : 'Add an entry that uses the parent custom objectclass.', 'functionException' : 'LDAP.AddException', 'functionArguments' : { 'dsInstanceHost' : server.host , 'dsInstancePort' : server.port , 'dsInstanceDn' : server.dn , 'dsInstancePswd' : server.password , 'entryToBeAdded' : '%s/schema/ldifs/dynamic_schema5.ldif' % remote.data} } { 'functionName' : 'addEntry', 'functionMessage' : 'Add an entry that uses the child custom objectclass.', 'functionException' : 'LDAP.AddException', 'functionArguments' : { 'dsInstanceHost' : server.host , 'dsInstancePort' : server.port , 'dsInstanceDn' : server.dn , 'dsInstancePswd' : server.password , 'entryToBeAdded' : '%s/schema/ldifs/dynamic_schema6.ldif' % remote.data} } { 'functionName' : 'modifyEntry', 'functionMessage' : 'Add a second custom attribute to the parent custom objectclass.', 'functionException' : 'LDAP.ModifyException', 'functionArguments' : { 'dsInstanceHost' : server.host , 'dsInstancePort' : server.port , 'dsInstanceDn' : server.dn , 'dsInstancePswd' : server.password , 'entryToBeModified' : '%s/schema/ldifs/updateSchema5.ldif' % remote.data } } { 'functionName' : 'modifyEntry', 'functionMessage' : 'Modify entry which depends on the parent custom objectclass by adding the new custom attribute.', 'functionArguments' : { 'dsInstanceHost' : server.host , 'dsInstancePort' : server.port , 'dsInstanceDn' : server.dn , 'dsInstancePswd' : server.password , 'entryToBeModified' : '%s/schema/ldifs/dynamic_schema7.ldif' % remote.data } } { 'functionName' : 'modifyEntry', 'functionMessage' : 'Modify entry which depends on the child custom objectclass by adding the new custom attribute.', 'functionException' : 'LDAP.ModifyException', 'functionArguments' : { 'dsInstanceHost' : server.host , 'dsInstancePort' : server.port , 'dsInstanceDn' : server.dn , 'dsInstancePswd' : server.password , 'entryToBeModified' : '%s/schema/ldifs/dynamic_schema8.ldif' % remote.data } } '%s: LDAPAdd failed. eInfo(%s)' % (eType,eInfo) '%s: LDAPModify failed. eInfo(%s)' % (eType,eInfo) '%s: LDAPSearch failed. eInfo(%s)' % (eType,eInfo)