Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 43D7B10301 for ; Tue, 7 Jan 2014 06:49:06 +0000 (UTC) Received: (qmail 31959 invoked by uid 500); 7 Jan 2014 06:49:02 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 31827 invoked by uid 500); 7 Jan 2014 06:48:58 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 31777 invoked by uid 500); 7 Jan 2014 06:48:56 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 31681 invoked by uid 99); 7 Jan 2014 06:48:51 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Jan 2014 06:48:51 +0000 Date: Tue, 7 Jan 2014 06:48:51 +0000 (UTC) From: "Rajani Karuturi (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CLOUDSTACK-5790) [Automation] unable to list ldap configuration by hostname MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-5790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rajani Karuturi resolved CLOUDSTACK-5790. ----------------------------------------- Resolution: Cannot Reproduce Works for me. *API Call*: http://localhost:8096/client/api?command=listLdapConfigurations&response=json *Response*: { "ldapconfigurationresponse" : { "count":4 ,"LdapConfiguration" : [ {"hostname":"localhost","port":"10389"}, {"hostname":"10.146.0.129","port":"10389"}, {"hostname":"10.0.3.2","port":"10389"}, {"hostname":"192.168.56.1","port":"10389"} ] } } *API Call*: http://localhost:8096/client/api?command=listLdapConfigurations&response=json&hostname=10.146.0.129 *Response*: { "ldapconfigurationresponse" : { "count":1 ,"LdapConfiguration" : [ {"hostname":"10.146.0.129","port":"10389"} ] } } > [Automation] unable to list ldap configuration by hostname > ----------------------------------------------------------- > > Key: CLOUDSTACK-5790 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5790 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: Management Server > Affects Versions: 4.3.0 > Reporter: Srikanteswararao Talluri > Assignee: Rajani Karuturi > Priority: Blocker > Fix For: 4.3.0 > > > Unable to list ldap configuration by hostname > listldap configuration results in all the ldap configurations but when issued with hostname, it results in empty response: > request: > http://10.147.38.149:8080/client/api?command=listLdapConfigurations&response=json&sessionkey=JNPDlcRLSnacMnAJnwr9wUxkCvU%3D&listAll=true&page=1&pagesize=20&_=1388999520356 > response: > { "ldapconfigurationresponse" : { "count":4 ,"LdapConfiguration" : [ {"hostname":"10.147.59.134","port":"10389"}, {"hostname":"10.147.59.109","port":"10389"}, {"hostname":"10.147.59.109","port":"10389"}, {"hostname":"10.147.59.109","port":"10389"} ] } } > > Following api results in empty response: > http://10.147.38.149:8080/client/api?command=listLdapConfigurations&hostname=10.147.59.134&response=json&sessionkey=JNPDlcRLSnacMnAJnwr9wUxkCvU%3D&_=1388999138596 -- This message was sent by Atlassian JIRA (v6.1.5#6160)