def METHOD_NAME(self):
    slave_configs = {}
    for slave in self.slave_list:
        conf = []
        current_config = open(self.slapd_conf)
        lines = current_config.readlines()
        current_config.close()
        loadModuleFlag = False
        indexFlag = False
        overlayFlag = False
        directoryFlag = False
        for line in lines: 
            printAfter = ""
            if not loadModuleFlag and self.beginsWith(line, 'moduleload'):
                conf.append("moduleload back_ldap.la")
                loadModuleFlag = True
            if not overlayFlag and self.beginsWith(line, 'overlay'):
                conf.append('overlay chain')
                for master_server in self.master_list:
                    conf.append('chain-uri "ldap://%s/"' % master_server)
                conf.append("""chain-idassert-bind bindmethod="simple"