{ 'topologyFile' : '%s/config/replication/3server_topology.txt'\
% TESTS_DIR,
'secureReplication': True,
'dataFile' : 'Example.ldif'
}
'Replication: Encryption: Add entry. Check entry add over \
secured replication'
{ 'location' : server.getHostname(),
'dsPath' : serverPath,
'dsInstanceHost' : server.getHostname(),
'dsInstancePort' : server.getPort(),
'dsInstanceDn' : server.getRootDn(),
'dsInstancePswd' : server.getRootPwd(),
'DNToAdd' : userDn,
'listAttributes' : listAttr,
'expectedRC' : 0
}
[ clientHost, clientPath, master, consumerList, synchroSuffix ]
'Replication: Encryption: Modify entry. Check entry modify \
over secured replication'
{ 'location' : server.getHostname(),
'dsPath' : serverPath,
'dsInstanceHost' : server.getHostname(),
'dsInstancePort' : server.getPort(),
'dsInstanceDn' : server.getRootDn(),
'dsInstancePswd' : server.getRootPwd(),
'DNToModify' : userDn,
'attributeName' : 'l',
'newAttributeValue' : 'GEC',
'changetype' : 'replace'
}
[ clientHost, clientPath, master, consumerList, synchroSuffix ]
'Replication: Encryption: Delete entry. Check delete modify \
over secured replication'
{ 'location' : server.getHostname(),
'dsPath' : serverPath,
'dsInstanceHost' : server.getHostname(),
'dsInstancePort' : server.getPort() ,
'dsInstanceDn' : server.getRootDn() ,
'dsInstancePswd' : server.getRootPwd() ,
'dsBaseDN' : userDn
}
[ clientHost, clientPath, master, consumerList, synchroSuffix ]
'Replication: Encryption: Modify Entry - add binary attribute. \
Check that an entry modify is well propagated by secured \
replication.'
'Copy %s file from %s to %s' % (filename,logsTestDataDir,
clientDataDir)
{ 'srcfile' : filePath,
'destfile' : '%s/%s' % (clientDataDir,filename),
'remotehost' : client.getHostname() }
{ 'location' : clientHost,
'dsPath' : clientPath,
'dsInstanceHost' : masterHost ,
'dsInstancePort' : master.getPort() ,
'dsInstanceDn' : master.getRootDn() ,
'dsInstancePswd' : master.getRootPwd() ,
'dsFilename' : '%s/%s' % (clientDataDir, 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=*',
'expectedRC' : 0
}
{ 'returncode' : resultLength ,
'result' : searchResult ,
'expected' : 1
}
[ clientHost, clientPath, master, consumerList, synchroSuffix ]
'Replication: Encryption: Modify Entry - replace binary \
attribute. \
Check that an entry modify is well propagated by secured \
replication.'
'Copy %s file from %s to %s' % (filename,logsTestDataDir,
clientDataDir)
{ 'srcfile' : filePath,
'destfile' : '%s/%s' % (clientDataDir,filename),
'remotehost' : client.getHostname()
}
{ 'location' : clientHost,
'dsPath' : clientPath,
'dsInstanceHost' : masterHost ,
'dsInstancePort' : master.getPort() ,
'dsInstanceDn' : master.getRootDn() ,
'dsInstancePswd' : master.getRootPwd() ,
'dsFilename' : '%s/%s' % (clientDataDir, 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=*',
'expectedRC' : 0
}
{ 'returncode' : resultLength ,
'result' : searchResult ,
'expected' : 1
}
[ clientHost, clientPath, master, consumerList, synchroSuffix ]
'Replication: Encryption: Modify Entry - delete binary \
attribute. \
Check that an entry modify is well propagated by secured \
replication.'
'Copy %s file from %s to %s' % (filename,logsTestDataDir,
clientDataDir)
{ 'srcfile' : filePath,
'destfile' : '%s/%s' % (clientDataDir,filename),
'remotehost' : client.getHostname() }
{ 'location' : clientHost,
'dsPath' : clientPath,
'dsInstanceHost' : masterHost ,
'dsInstancePort' : master.getPort() ,
'dsInstanceDn' : master.getRootDn() ,
'dsInstancePswd' : master.getRootPwd() ,
'dsFilename' : '%s/%s' % (clientDataDir, 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=*',
'expectedRC' : 0
}
{ 'returncode' : resultLength ,
'result' : searchResult ,
'expected' : 0
}
[ clientHost, clientPath, master, consumerList, synchroSuffix ]
'Replication: Encryption: Rename Entry. Check that a rename \
(modrdn) operation is well propagated by secured replication.'
'Copy %s file from %s to %s' % (filename,logsTestDataDir,
clientDataDir)
{ 'srcfile' : filePath,
'destfile' : '%s/%s' % (clientDataDir,filename),
'remotehost' : client.getHostname()
}
{ 'location' : clientHost,
'dsPath' : clientPath,
'dsInstanceHost' : masterHost ,
'dsInstancePort' : master.getPort() ,
'dsInstanceDn' : master.getRootDn() ,
'dsInstancePswd' : master.getRootPwd() ,
'dsFilename' : '%s/%s' % (clientDataDir, 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=*'
}
[ clientHost, clientPath, master, consumerList, synchroSuffix ]
'Replication: Encryption: Rename Entry (preserving old rdn). \
Check that a rename (modrdn) operation is well propagated by \
secured replication.'
'Copy %s file from %s to %s' % (filename,logsTestDataDir,
clientDataDir)
{ 'srcfile' : filePath,
'destfile' : '%s/%s' % (clientDataDir,filename),
'remotehost' : client.getHostname()
}
{ 'location' : clientHost,
'dsPath' : clientPath,
'dsInstanceHost' : masterHost ,
'dsInstancePort' : master.getPort() ,
'dsInstanceDn' : master.getRootDn() ,
'dsInstancePswd' : master.getRootPwd() ,
'dsFilename' : '%s/%s' % (clientDataDir, 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
}
[ clientHost, clientPath, master, consumerList, synchroSuffix ]
'Replication: Encryption: Rename Subtree. Check that a \
subtree rename (moddn) operation is well propagated by \
secured replication.'
'Copy %s file from %s to %s' % (filename,logsTestDataDir,
clientDataDir)
{ 'srcfile' : filePath,
'destfile' : '%s/%s' % (clientDataDir,filename),
'remotehost' : client.getHostname() }
{ 'location' : clientHost,
'dsPath' : clientPath,
'dsInstanceHost' : masterHost ,
'dsInstancePort' : master.getPort() ,
'dsInstanceDn' : master.getRootDn() ,
'dsInstancePswd' : master.getRootPwd() ,
'dsFilename' : '%s/%s' % (clientDataDir, 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' : 'uid=gfarmer, ou=Special People, \
ou=Special Users,%s' % synchroSuffix,
'dsFilter' : 'objectclass=*'
}
[ clientHost, clientPath, master, consumerList, synchroSuffix ]