def METHOD_NAME(self, ldap_ports):
    """ Use semanage to bind ldap and ldaps ports to ldap_port_t  """
    for port in ldap_ports: 
        semanage_args = ['semanage', 'port', '-a', '-t', 'ldap_port_t', '-p', 'tcp', str(port)] 
        try:
            stdout, stderr, process_ret = PkiTools.Execute(semanage_args)
        except subprocess.CalledProcessError:
            return ("Error", 1)
        else:
            if process_ret == 1:
                return stdout, 0
            elif process_ret != 0:
                return stderr, process_ret
            else:
                return stdout, process_ret