'Test Name = %s' % STAXCurrentTestcase
{ 'stepMessage' : '%s Check that an add of an entry is replicated.' % msg1 }
{ 'location' : clientHost,
'dsPath' : clientPath,
'dsInstanceHost' : masterHost,
'dsInstancePort' : master.getPort(),
'dsInstanceDn' : master.getRootDn(),
'dsInstancePswd' : master.getRootPwd(),
'entryToBeAdded' : '%s/replication_add_root_suffix.ldif' \
% client.getTmpDir()
}
{ 'stepMessage' : '%s Verify synchronization of servers in the topology.' % msg1 }
[ clientHost, clientPath, master, consumerList, synchroSuffix ]
'%s: Test failed. eInfo(%s)' % (eType,eInfo)
'Test Name = %s' % STAXCurrentTestcase
{ 'stepMessage' : '%s Check that a modify of an entry is replicated.' % msg1 }
{ 'location' : clientHost,
'dsPath' : clientPath,
'dsInstanceHost' : masterHost,
'dsInstancePort' : master.getPort(),
'dsInstanceDn' : master.getRootDn(),
'dsInstancePswd' : master.getRootPwd(),
'entryToBeAdded' : '%s/replication_add_single.ldif' \
% client.getTmpDir()
}
{ 'location' : clientHost,
'dsPath' : clientPath,
'dsInstanceHost' : masterHost,
'dsInstancePort' : master.getPort(),
'dsInstanceDn' : master.getRootDn(),
'dsInstancePswd' : master.getRootPwd(),
'dsFilename' : '%s/replication_mod.ldif' \
% client.getTmpDir()
}
{ 'location' : clientHost,
'dsPath' : clientPath,
'dsInstanceHost' : masterHost,
'dsInstancePort' : master.getPort(),
'dsInstanceDn' : master.getRootDn(),
'dsInstancePswd' : master.getRootPwd(),
'dsBaseDN' : entryDn,
'dsFilter' : '%s=%s' % (attr_type,attr_value)
}
{ 'returncode' : resultLength ,
'result' : searchResult ,
'expected' : 1
}
{ 'stepMessage' : '%s Verify synchronization of servers in the topology.' % msg1 }
[ clientHost, clientPath, master, consumerList, synchroSuffix ]
'%s: Test failed. eInfo(%s)' % (eType,eInfo)
'Test Name = %s' % STAXCurrentTestcase
{ 'stepMessage' : '%s Check that a delete of an entry is replicated.' % msg1 }
{ 'location' : clientHost,
'dsPath' : clientPath,
'dsInstanceHost' : masterHost,
'dsInstancePort' : master.getPort(),
'dsInstanceDn' : master.getRootDn(),
'dsInstancePswd' : master.getRootPwd(),
'dsBaseDN' : entryDn
}
{ 'location' : clientHost,
'dsPath' : clientPath,
'dsInstanceHost' : masterHost,
'dsInstancePort' : master.getPort(),
'dsInstanceDn' : master.getRootDn(),
'dsInstancePswd' : master.getRootPwd(),
'dsBaseDN' : entryDn,
'dsFilter' : 'objectclass=*',
'expectedRC' : 32
}
{ 'stepMessage' : '%s Verify synchronization of servers in the topology.' % msg1 }
[ clientHost, clientPath, master, consumerList, synchroSuffix ]
'%s: Test failed. eInfo(%s)' % (eType,eInfo)
'Test Name = %s' % STAXCurrentTestcase
{ 'stepMessage' : '%s Check that multiple adds of an entry are replicated.' % msg1 }
{ 'location' : clientHost,
'dsPath' : clientPath,
'dsInstanceHost' : masterHost,
'dsInstancePort' : master.getPort(),
'dsInstanceDn' : master.getRootDn(),
'dsInstancePswd' : master.getRootPwd(),
'dsBaseDN' : synchroSuffix
}
{ 'location' : clientHost,
'dsPath' : clientPath,
'dsInstanceHost' : masterHost,
'dsInstancePort' : master.getPort(),
'dsInstanceDn' : master.getRootDn(),
'dsInstancePswd' : master.getRootPwd(),
'entryToBeAdded' : '%s/replication/Example.ldif' \
% master.getDataDir()
}
{ 'stepMessage' : '%s Verify synchronization of servers in the topology.' % msg1 }
[ clientHost, clientPath, master, consumerList, synchroSuffix ]
'%s: Test failed. eInfo(%s)' % (eType,eInfo)
'Test Name = %s' % STAXCurrentTestcase
{ 'stepMessage' : '%s Check that a modify (add single attribute) is replicated.' % msg1 }
{ 'dsPath' : masterPath,
'dsInstanceHost' : masterHost ,
'dsInstancePort' : master.getPort(),
'dsInstanceDn' : master.getRootDn(),
'dsInstancePswd' : master.getRootPwd(),
'DNToModify' : 'uid=tmorris, ou=People,%s' \
% synchroSuffix,
'attributeName' : 'description',
'newAttributeValue' : ' ',
'changetype' : 'add'
}
{ 'location' : clientHost,
'dsPath' : clientPath,
'dsInstanceHost' : masterHost ,
'dsInstancePort' : master.getPort() ,
'dsInstanceDn' : master.getRootDn() ,
'dsInstancePswd' : master.getRootPwd() ,
'dsBaseDN' : 'uid=tmorris, ou=People,%s' \
% synchroSuffix,
'dsFilter' : 'description=*'
}
{ 'returncode' : resultLength ,
'result' : searchResult ,
'expected' : 1
}
{ 'stepMessage' : '%s Verify synchronization of servers in the topology.' % msg1 }
[ clientHost, clientPath, master, consumerList, synchroSuffix ]
'%s: Test failed. eInfo(%s)' % (eType,eInfo)
'Test Name = %s' % STAXCurrentTestcase
{ 'stepMessage' : '%s Check that a modify (add single value) is replicated.' % msg1 }
{ 'dsPath' : masterPath,
'dsInstanceHost' : masterHost ,
'dsInstancePort' : master.getPort(),
'dsInstanceDn' : master.getRootDn(),
'dsInstancePswd' : master.getRootPwd(),
'DNToModify' : 'uid=tmorris, ou=People,%s' \
% synchroSuffix,
'attributeName' : 'departmentnumber',
'newAttributeValue' : '5203214400',
'changetype' : 'add'
}
{ 'location' : clientHost,
'dsPath' : clientPath,
'dsInstanceHost' : masterHost,
'dsInstancePort' : master.getPort(),
'dsInstanceDn' : master.getRootDn(),
'dsInstancePswd' : master.getRootPwd(),
'dsBaseDN' : 'uid=tmorris, ou=People,%s' \
% synchroSuffix,
'dsFilter' : 'departmentnumber=5203214400'
}
{ 'returncode' : resultLength,
'result' : searchResult,
'expected' : 1
}
{ 'stepMessage' : '%s Verify synchronization of servers in the topology.' % msg1 }
[ clientHost, clientPath, master, consumerList, synchroSuffix ]
'%s: Test failed. eInfo(%s)' % (eType,eInfo)
'Test Name = %s' % STAXCurrentTestcase
{ 'stepMessage' : '%s Check that a modify (delete single attribute) is replicated.' % msg1 }
'Copy %s file from %s to %s' \
% (filename,local.temp,client.getTmpDir())
{ 'srcfile' : filePath,
'destfile' : '%s/%s' % (client.getTmpDir(),filename),
'remotehost' : client.getHostname()
}
{ 'location' : clientHost,
'dsPath' : clientPath,
'dsInstanceHost' : masterHost,
'dsInstancePort' : master.getPort(),
'dsInstanceDn' : master.getRootDn(),
'dsInstancePswd' : master.getRootPwd(),
'dsFilename' : '%s/%s' % (client.getTmpDir(), filename)
}
{ 'location' : clientHost,
'dsPath' : clientPath,
'dsInstanceHost' : masterHost ,
'dsInstancePort' : master.getPort(),
'dsInstanceDn' : master.getRootDn(),
'dsInstancePswd' : master.getRootPwd(),
'dsBaseDN' : 'uid=smason, ou=People,%s' % synchroSuffix,
'dsFilter' : 'roomNumber=*'
}
{ 'returncode' : resultLength,
'result' : searchResult,
'expected' : 0
}
{ 'stepMessage' : '%s Verify synchronization of servers in the topology.' % msg1 }
[ clientHost, clientPath, master, consumerList, synchroSuffix ]
'%s: Test failed. eInfo(%s)' % (eType,eInfo)
'Test Name = %s' % STAXCurrentTestcase
{ 'stepMessage' : '%s Check that a modify (delete single value) is replicated.' % msg1 }
{ 'dsPath' : masterPath,
'dsInstanceHost' : masterHost ,
'dsInstancePort' : master.getPort(),
'dsInstanceDn' : master.getRootDn(),
'dsInstancePswd' : master.getRootPwd(),
'DNToModify' : 'uid=jwalker, ou=People,%s' \
% synchroSuffix,
'attributeName' : 'roomNumber',
'newAttributeValue' : '3915',
'changetype' : 'delete'
}
{ 'location' : clientHost,
'dsPath' : clientPath,
'dsInstanceHost' : masterHost,
'dsInstancePort' : master.getPort(),
'dsInstanceDn' : master.getRootDn(),
'dsInstancePswd' : master.getRootPwd(),
'dsBaseDN' : 'uid=jwalker, ou=People,%s' \
% synchroSuffix,
'dsFilter' : 'roomNumber=3915'
}
{ 'returncode' : resultLength,
'result' : searchResult,
'expected' : 0
}
{ 'stepMessage' : '%s Verify synchronization of servers in the topology.' % msg1 }
[ clientHost, clientPath, master, consumerList, synchroSuffix ]
'%s: Test failed. eInfo(%s)' % (eType,eInfo)
'Test Name = %s' % STAXCurrentTestcase
{ 'stepMessage' : '%s Check that a modify (add multiple values) is replicated.' % msg1 }
{ 'dsPath' : masterPath,
'dsInstanceHost' : masterHost,
'dsInstancePort' : master.getPort(),
'dsInstanceDn' : master.getRootDn(),
'dsInstancePswd' : master.getRootPwd(),
'DNToModify' : 'uid=jwallace, ou=People,%s' \
% synchroSuffix,
'listAttributes' : valuesToAdd,
'changetype' : 'add'
}
{ 'location' : clientHost,
'dsPath' : clientPath,
'dsInstanceHost' : masterHost,
'dsInstancePort' : master.getPort(),
'dsInstanceDn' : master.getRootDn(),
'dsInstancePswd' : master.getRootPwd(),
'dsBaseDN' : 'uid=jwallace, ou=People,%s' \
% synchroSuffix,
'dsFilter' : '&%s%s%s%s' \
% (filter1, filter2, filter3, filter4)
}
{ 'returncode' : resultLength,
'result' : searchResult,
'expected' : 1
}
{ 'stepMessage' : '%s Verify synchronization of servers in the topology.' % msg1 }
[ clientHost, clientPath, master, consumerList, synchroSuffix ]
'%s: Test failed. eInfo(%s)' % (eType,eInfo)
'Test Name = %s' % STAXCurrentTestcase
{ 'stepMessage' : '%s Check that a modify (delete multiple values) is replicated.' % msg1 }
{ 'dsPath' : masterPath,
'dsInstanceHost' : masterHost ,
'dsInstancePort' : master.getPort(),
'dsInstanceDn' : master.getRootDn(),
'dsInstancePswd' : master.getRootPwd(),
'DNToModify' : 'uid=jwallace, ou=People,%s' \
% synchroSuffix,
'listAttributes' : valuesToDelete,
'changetype' : 'delete'
}
{ 'location' : clientHost,
'dsPath' : clientPath,
'dsInstanceHost' : masterHost,
'dsInstancePort' : master.getPort(),
'dsInstanceDn' : master.getRootDn(),
'dsInstancePswd' : master.getRootPwd(),
'dsBaseDN' : 'uid=jwallace, ou=People,%s' \
% synchroSuffix,
'dsFilter' : '|%s%s' % (filter1, filter2)
}
{ 'returncode' : resultLength,
'result' : searchResult,
'expected' : 0
}
{ 'stepMessage' : '%s Verify synchronization of servers in the topology.' % msg1 }
[ clientHost, clientPath, master, consumerList, synchroSuffix ]
'%s: Test failed. eInfo(%s)' % (eType,eInfo)
'Test Name = %s' % STAXCurrentTestcase
{ 'stepMessage' : '%s Check that a modify (replace multiple values) is replicated.' % msg1 }
{ 'dsPath' : masterPath,
'dsInstanceHost' : masterHost ,
'dsInstancePort' : master.getPort(),
'dsInstanceDn' : master.getRootDn(),
'dsInstancePswd' : master.getRootPwd(),
'DNToModify' : 'uid=jwallace, ou=People,%s' \
% synchroSuffix,
'listAttributes' : valuesToReplace,
'changetype' : 'replace'
}
{ 'location' : clientHost,
'dsPath' : clientPath,
'dsInstanceHost' : masterHost,
'dsInstancePort' : master.getPort(),
'dsInstanceDn' : master.getRootDn(),
'dsInstancePswd' : master.getRootPwd(),
'dsBaseDN' : 'uid=jwallace, ou=People,%s' \
% synchroSuffix,
'dsFilter' : '&%s%s' % (filter1, filter2)
}
{ 'returncode' : resultLength ,
'result' : searchResult ,
'expected' : 1
}
{ 'stepMessage' : '%s Verify synchronization of servers in the topology.' % msg1 }
[ clientHost, clientPath, master, consumerList, synchroSuffix ]
'%s: Test failed. eInfo(%s)' % (eType,eInfo)
'Test Name = %s' % STAXCurrentTestcase
{ 'stepMessage' : '%s Check that a modify (add single value to multiple valued attribute) is replicated.' % msg1 }
{ 'dsPath' : masterPath,
'dsInstanceHost' : masterHost ,
'dsInstancePort' : master.getPort(),
'dsInstanceDn' : master.getRootDn(),
'dsInstancePswd' : master.getRootPwd(),
'DNToModify' : 'uid=jwallace, ou=People,%s' \
% synchroSuffix,
'listAttributes' : valuesToAdd,
'changetype' : 'add'
}
{ 'location' : clientHost,
'dsPath' : clientPath,
'dsInstanceHost' : masterHost,
'dsInstancePort' : master.getPort(),
'dsInstanceDn' : master.getRootDn(),
'dsInstancePswd' : master.getRootPwd(),
'dsBaseDN' : 'uid=jwallace, ou=People,%s' \
% synchroSuffix,
'dsFilter' : 'postaladdress=38000 Grenoble'
}
{ 'returncode' : resultLength,
'result' : searchResult,
'expected' : 1
}
{ 'stepMessage' : '%s Verify synchronization of servers in the topology.' % msg1 }
[ clientHost, clientPath, master, consumerList, synchroSuffix ]
'%s: Test failed. eInfo(%s)' % (eType,eInfo)
'Test Name = %s' % STAXCurrentTestcase
{ 'stepMessage' : '%s Check that a modify (delete single value from multiple valued attribute) is replicated.' % msg1 }
{ 'dsPath' : masterPath,
'dsInstanceHost' : masterHost ,
'dsInstancePort' : master.getPort(),
'dsInstanceDn' : master.getRootDn(),
'dsInstancePswd' : master.getRootPwd(),
'DNToModify' : 'uid=jwallace, ou=People,%s' \
% synchroSuffix,
'listAttributes' : valuesToDelete,
'changetype' : 'delete'
}
{ 'location' : clientHost,
'dsPath' : clientPath,
'dsInstanceHost' : masterHost,
'dsInstancePort' : master.getPort(),
'dsInstanceDn' : master.getRootDn(),
'dsInstancePswd' : master.getRootPwd(),
'dsBaseDN' : 'uid=jwallace, ou=People,%s' \
% synchroSuffix,
'dsFilter' : 'postaladdress=Residence Letilleuil'
}
{ 'returncode' : resultLength,
'result' : searchResult,
'expected' : 0
}
{ 'stepMessage' : '%s Verify synchronization of servers in the topology.' % msg1 }
[ clientHost, clientPath, master, consumerList, synchroSuffix ]
'%s: Test failed. eInfo(%s)' % (eType,eInfo)
'Test Name = %s' % STAXCurrentTestcase
{ 'stepMessage' : '%s Check that a modify (replace case sensitive attribute) is replicated.' % msg1 }
{ 'location' : clientHost,
'dsPath' : clientPath,
'dsInstanceHost' : masterHost,
'dsInstancePort' : master.getPort(),
'dsInstanceDn' : master.getRootDn(),
'dsInstancePswd' : master.getRootPwd(),
'entryToBeAdded' : '%s/replication/tfitter.ldif' \
% master.getDataDir()
}
{ 'dsPath' : masterPath,
'dsInstanceHost' : masterHost,
'dsInstancePort' : master.getPort(),
'dsInstanceDn' : master.getRootDn(),
'dsInstancePswd' : master.getRootPwd(),
'DNToModify' : 'uid=tfitter, ou=People,%s' \
% synchroSuffix,
'listAttributes' : valuesToReplace,
'changetype' : 'replace'
}
{ 'location' : clientHost,
'dsPath' : clientPath,
'dsInstanceHost' : masterHost,
'dsInstancePort' : master.getPort(),
'dsInstanceDn' : master.getRootDn(),
'dsInstancePswd' : master.getRootPwd(),
'dsBaseDN' : 'uid=tfitter, ou=People,%s' \
% synchroSuffix,
'dsFilter' : filter
}
{ 'returncode' : resultLength,
'result' : searchResult,
'expected' : 1
}
{ 'stepMessage' : '%s Verify synchronization of servers in the topology.' % msg1 }
[ clientHost, clientPath, master, consumerList, synchroSuffix ]
'%s: Test failed. eInfo(%s)' % (eType,eInfo)
'Test Name = %s' % STAXCurrentTestcase
{ 'stepMessage' : '%s Check that a modify (replace userpassword) is replicated.' % msg1 }
'replace userpassword: add user entry %s' % userDn
{ 'location' : masterHost,
'dsPath' : masterPath,
'dsInstanceHost' : masterHost,
'dsInstancePort' : master.getPort(),
'dsInstanceDn' : master.getRootDn(),
'dsInstancePswd' : master.getRootPwd(),
'DNToAdd' : userDn,
'listAttributes' : listAttr
}
'replace userpassword: bind on master using password %s' \
% oldPassword
{ 'location' : clientHost,
'dsPath' : clientPath,
'dsInstanceHost' : masterHost,
'dsInstancePort' : master.getPort(),
'dsInstanceDn' : userDn,
'dsInstancePswd' : oldPassword,
'dsBaseDN' : synchroSuffix,
'dsFilter' : 'objectclass=*'
}
'replace userpassword: replace user password %s with %s' \
% (oldPassword, newPassword)
{ 'location' : masterHost,
'dsPath' : masterPath,
'dsInstanceHost' : masterHost,
'dsInstancePort' : master.getPort(),
'dsInstanceDn' : master.getRootDn(),
'dsInstancePswd' : master.getRootPwd(),
'DNToModify' : userDn,
'attributeName' : 'userpassword',
'newAttributeValue' : 'JUAJUAJUA',
'changetype' : 'replace'
}
'replace userpassword: bind on consumer using old password %s :\
should fail with error LDAP_INVALID_CREDENTIALS (49)' \
% oldPassword
{ 'location' : clientHost,
'dsPath' : clientPath,
'dsInstanceHost' : consumer.getHostname(),
'dsInstancePort' : consumer.getPort(),
'dsInstanceDn' : userDn,
'dsInstancePswd' : oldPassword,
'dsBaseDN' : synchroSuffix,
'dsFilter' : 'objectclass=*',
'expectedRC' : 49
}
'replace userpassword: bind on consumer using new password %s :\
should pass' % newPassword
{ 'location' : clientHost,
'dsPath' : clientPath,
'dsInstanceHost' : consumer.getHostname(),
'dsInstancePort' : consumer.getPort(),
'dsInstanceDn' : userDn,
'dsInstancePswd' : newPassword,
'dsBaseDN' : synchroSuffix,
'dsFilter' : 'objectclass=*'
}
'replace userpassword: delete user entry %s on master' \
% userDn
{ 'location' : clientHost,
'dsPath' : clientPath,
'dsInstanceHost' : masterHost,
'dsInstancePort' : master.getPort(),
'dsInstanceDn' : master.getRootDn(),
'dsInstancePswd' : master.getRootPwd(),
'dsBaseDN' : userDn
}
{ 'stepMessage' : '%s Verify synchronization of servers in the topology.' % msg1 }
[ clientHost, clientPath, master, consumerList, synchroSuffix ]
'%s: Test failed. eInfo(%s)' % (eType,eInfo)
'Test Name = %s' % STAXCurrentTestcase
{ 'stepMessage' : '%s Check that a modify (add binary attribute) is replicated.' % msg1 }
'Copy %s file from %s to %s' \
% (filename,local.temp,client.getTmpDir())
{ 'srcfile' : filePath,
'destfile' : '%s/%s' % (client.getTmpDir(),filename),
'remotehost' : client.getHostname()
}
{ 'location' : clientHost,
'dsPath' : clientPath,
'dsInstanceHost' : masterHost ,
'dsInstancePort' : master.getPort() ,
'dsInstanceDn' : master.getRootDn() ,
'dsInstancePswd' : master.getRootPwd() ,
'dsFilename' : '%s/%s' % (client.getTmpDir(), filename)
}
{ 'location' : clientHost,
'dsPath' : clientPath,
'dsInstanceHost' : masterHost ,
'dsInstancePort' : master.getPort() ,
'dsInstanceDn' : master.getRootDn() ,
'dsInstancePswd' : master.getRootPwd() ,
'dsBaseDN' : 'uid=hmiller, ou=People,%s' \
% synchroSuffix,
'dsFilter' : 'jpegPhoto=*'
}
{ 'returncode' : resultLength,
'result' : searchResult,
'expected' : 1
}
{ 'stepMessage' : '%s Verify synchronization of servers in the topology.' % msg1 }
[ clientHost, clientPath, master, consumerList, synchroSuffix ]
'%s: Test failed. eInfo(%s)' % (eType,eInfo)
'Test Name = %s' % STAXCurrentTestcase
{ 'stepMessage' : '%s Check that a modify (replace binary attribute) is replicated.' % msg1 }
'Copy %s file from %s to %s' \
% (filename,local.temp,client.getTmpDir())
{ 'srcfile' : filePath,
'destfile' : '%s/%s' % (client.getTmpDir(),filename),
'remotehost' : client.getHostname()
}
{ 'location' : clientHost,
'dsPath' : clientPath,
'dsInstanceHost' : masterHost,
'dsInstancePort' : master.getPort(),
'dsInstanceDn' : master.getRootDn(),
'dsInstancePswd' : master.getRootPwd(),
'dsFilename' : '%s/%s' % (client.getTmpDir(), filename)
}
{ 'location' : clientHost,
'dsPath' : clientPath,
'dsInstanceHost' : masterHost,
'dsInstancePort' : master.getPort(),
'dsInstanceDn' : master.getRootDn(),
'dsInstancePswd' : master.getRootPwd(),
'dsBaseDN' : 'uid=hmiller, ou=People,%s' \
% synchroSuffix,
'dsFilter' : 'jpegPhoto=*'
}
{ 'returncode' : resultLength,
'result' : searchResult,
'expected' : 1
}
{ 'stepMessage' : '%s Verify synchronization of servers in the topology.' % msg1 }
[ clientHost, clientPath, master, consumerList, synchroSuffix ]
'%s: Test failed. eInfo(%s)' % (eType,eInfo)
'Test Name = %s' % STAXCurrentTestcase
{ 'stepMessage' : '%s Check that a modify (delete binary attribute) is replicated.' % msg1 }
'Copy %s file from %s to %s' \
% (filename,local.temp,client.getTmpDir())
{ 'srcfile' : filePath,
'destfile' : '%s/%s' % (client.getTmpDir(),filename),
'remotehost' : client.getHostname()
}
{ 'location' : clientHost,
'dsPath' : clientPath,
'dsInstanceHost' : masterHost,
'dsInstancePort' : master.getPort(),
'dsInstanceDn' : master.getRootDn(),
'dsInstancePswd' : master.getRootPwd(),
'dsFilename' : '%s/%s' % (client.getTmpDir(), filename)
}
{ 'location' : clientHost,
'dsPath' : clientPath,
'dsInstanceHost' : masterHost,
'dsInstancePort' : master.getPort(),
'dsInstanceDn' : master.getRootDn(),
'dsInstancePswd' : master.getRootPwd(),
'dsBaseDN' : 'uid=hmiller, ou=People,%s' \
% synchroSuffix,
'dsFilter' : 'jpegPhoto=*'
}
{ 'returncode' : resultLength,
'result' : searchResult,
'expected' : 0
}
{ 'stepMessage' : '%s Verify synchronization of servers in the topology.' % msg1 }
[ clientHost, clientPath, master, consumerList, synchroSuffix ]
'%s: Test failed. eInfo(%s)' % (eType,eInfo)
'Test Name = %s' % STAXCurrentTestcase
{ 'stepMessage' : '%s Check that a rename (modrdn) is replicated.' % msg1 }
'Copy %s file from %s to %s' \
% (filename,local.temp,client.getTmpDir())
{ 'srcfile' : filePath,
'destfile' : '%s/%s' % (client.getTmpDir(),filename),
'remotehost' : client.getHostname()
}
{ 'location' : clientHost,
'dsPath' : clientPath,
'dsInstanceHost' : masterHost ,
'dsInstancePort' : master.getPort() ,
'dsInstanceDn' : master.getRootDn() ,
'dsInstancePswd' : master.getRootPwd() ,
'dsFilename' : '%s/%s' % (client.getTmpDir(), filename)
}
{ 'location' : clientHost,
'dsPath' : clientPath,
'dsInstanceHost' : masterHost,
'dsInstancePort' : master.getPort(),
'dsInstanceDn' : master.getRootDn(),
'dsInstancePswd' : master.getRootPwd(),
'dsBaseDN' : 'uid=kvaughan, ou=People,%s' \
% synchroSuffix,
'dsFilter' : 'objectclass=*',
'expectedRC' : 32
}
{ 'location' : clientHost,
'dsPath' : clientPath,
'dsInstanceHost' : masterHost,
'dsInstancePort' : master.getPort(),
'dsInstanceDn' : master.getRootDn(),
'dsInstancePswd' : master.getRootPwd(),
'dsBaseDN' : 'uid=kvaughan2, ou=People,%s' \
% synchroSuffix,
'dsFilter' : 'objectclass=*'
}
{ 'stepMessage' : '%s Verify synchronization of servers in the topology.' % msg1 }
[ clientHost, clientPath, master, consumerList, synchroSuffix ]
'%s: Test failed. eInfo(%s)' % (eType,eInfo)
'Test Name = %s' % STAXCurrentTestcase
{ 'stepMessage' : '%s Check that a rename (keep old rdn) is replicated.' % msg1 }
'Copy %s file from %s to %s' \
% (filename,local.temp,client.getTmpDir())
{ 'srcfile' : filePath,
'destfile' : '%s/%s' % (client.getTmpDir(),filename),
'remotehost' : client.getHostname()
}
{ 'location' : clientHost,
'dsPath' : clientPath,
'dsInstanceHost' : masterHost,
'dsInstancePort' : master.getPort(),
'dsInstanceDn' : master.getRootDn(),
'dsInstancePswd' : master.getRootPwd(),
'dsFilename' : '%s/%s' % (client.getTmpDir(), filename)
}
{ 'location' : clientHost,
'dsPath' : clientPath,
'dsInstanceHost' : masterHost,
'dsInstancePort' : master.getPort(),
'dsInstanceDn' : master.getRootDn(),
'dsInstancePswd' : master.getRootPwd(),
'dsBaseDN' : 'uid=jwallace, ou=People,%s' \
% synchroSuffix,
'dsFilter' : 'objectclass=*',
'expectedRC' : 32
}
{ 'location' : clientHost,
'dsPath' : clientPath,
'dsInstanceHost' : masterHost,
'dsInstancePort' : master.getPort(),
'dsInstanceDn' : master.getRootDn(),
'dsInstancePswd' : master.getRootPwd(),
'dsBaseDN' : 'uid=igueye, ou=People,%s' % synchroSuffix,
'dsFilter' : 'uid=jwallace'
}
{ 'returncode' : resultLength,
'result' : searchResult,
'expected' : 1
}
{ 'stepMessage' : '%s Verify synchronization of servers in the topology.' % msg1 }
[ clientHost, clientPath, master, consumerList, synchroSuffix ]
'%s: Test failed. eInfo(%s)' % (eType,eInfo)
'Test Name = %s' % STAXCurrentTestcase
{ 'stepMessage' : '%s Check that a subtree rename (moddn) is replicated.' % msg1 }
'Copy %s file from %s to %s' \
% (filename,local.temp,client.getTmpDir())
{ 'srcfile' : filePath,
'destfile' : '%s/%s' % (client.getTmpDir(),filename),
'remotehost' : client.getHostname()
}
{ 'location' : clientHost,
'dsPath' : clientPath,
'dsInstanceHost' : masterHost,
'dsInstancePort' : master.getPort(),
'dsInstanceDn' : master.getRootDn(),
'dsInstancePswd' : master.getRootPwd(),
'dsFilename' : '%s/%s' % (client.getTmpDir(), filename)
}
{ 'location' : clientHost,
'dsPath' : clientPath,
'dsInstanceHost' : masterHost,
'dsInstancePort' : master.getPort(),
'dsInstanceDn' : master.getRootDn(),
'dsInstancePswd' : master.getRootPwd(),
'dsBaseDN' : 'uid=gfarmer, ou=People,%s' \
% synchroSuffix,
'dsFilter' : 'objectclass=*',
'expectedRC' : 32
}
{ 'location' : clientHost,
'dsPath' : clientPath,
'dsInstanceHost' : masterHost,
'dsInstancePort' : master.getPort(),
'dsInstanceDn' : master.getRootDn(),
'dsInstancePswd' : master.getRootPwd(),
'dsBaseDN' : base,
'dsFilter' : 'objectclass=*'
}
{ 'stepMessage' : '%s Verify synchronization of servers in the topology.' % msg1 }
[ clientHost, clientPath, master, consumerList, synchroSuffix ]
'%s: Test failed. eInfo(%s)' % (eType,eInfo)
'Test Name = %s' % STAXCurrentTestcase
{ 'stepMessage' : '%s Check entry add over secured replication after server restart.' % msg1 }
[_splitServerList]
[_splitServerList]
{ 'location' : server.getHostname(),
'dsPath' : serverPath,
'dsInstanceHost' : server.getHostname(),
'dsInstancePort' : server.getPort(),
'dsInstanceDn' : server.getRootDn(),
'dsInstancePswd' : server.getRootPwd(),
'DNToAdd' : userDn,
'listAttributes' : listAttr
}
{ 'stepMessage' : '%s Verify synchronization of servers in the topology.' % msg1 }
[ clientHost, clientPath, master, consumerList, synchroSuffix ]
'%s: Test failed. eInfo(%s)' % (eType,eInfo)