Return-Path: X-Original-To: apmail-incubator-cloudstack-issues-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9FBBC9CBB for ; Mon, 4 Mar 2013 11:51:48 +0000 (UTC) Received: (qmail 10062 invoked by uid 500); 4 Mar 2013 11:41:25 -0000 Delivered-To: apmail-incubator-cloudstack-issues-archive@incubator.apache.org Received: (qmail 10000 invoked by uid 500); 4 Mar 2013 11:41:24 -0000 Mailing-List: contact cloudstack-issues-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-issues@incubator.apache.org Received: (qmail 9873 invoked by uid 99); 4 Mar 2013 11:41:19 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Mar 2013 11:41:19 +0000 Date: Mon, 4 Mar 2013 11:41:19 +0000 (UTC) From: "sadhu suresh (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CLOUDSTACK-1494) LDAP:UI:showing wrong warning message&accepting Invalid queryfilter formats 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-1494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] sadhu suresh updated CLOUDSTACK-1494: ------------------------------------- Summary: LDAP:UI:showing wrong warning message&accepting Invalid queryfilter formats (was: LDAP:UI:showing wrong warning message) > LDAP:UI:showing wrong warning message&accepting Invalid queryfilter formats > --------------------------------------------------------------------------- > > Key: CLOUDSTACK-1494 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1494 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: Management Server, UI > Affects Versions: 4.2.0 > Reporter: sadhu suresh > Assignee: Pranav Saxena > > 1. navigate till LDAP configuration wizard > 2. Provide all the valid values except query filer(provide some text "abc" > 3.Then Provide query filer as specified in the warming message (like %e) > 3.click on "OK" button and try to login with external domain credentials(LDAP) > Actual result: > "QueryFilter should contain at least one of the substitutions: %u, %n or %e: ff" > Warning message says query filter should contain %e,%u and if i enter %e as query filter and LDAP authentication failed with following > 2013-03-04 05:40:12,530 DEBUG [cloud.api.ApiServlet] (catalina-exec-10:null) ===START=== 10.252.249.82 -- POST null > 2013-03-04 05:40:12,531 DEBUG [cloud.user.AccountManagerImpl] (catalina-exec-10:null) Attempting to log in user: test in domain 1 > 2013-03-04 05:40:12,531 DEBUG [server.auth.MD5UserAuthenticator] (catalina-exec-10:null) Retrieving user: test > 2013-03-04 05:40:12,533 DEBUG [server.auth.MD5UserAuthenticator] (catalina-exec-10:null) Password does not match > 2013-03-04 05:40:12,533 DEBUG [server.auth.LDAPUserAuthenticator] (catalina-exec-10:null) Retrieving user: test > 2013-03-04 05:40:12,595 WARN [server.auth.LDAPUserAuthenticator] (catalina-exec-10:null) Authentication Failed ! Missing 'equals' > 2013-03-04 05:40:12,612 DEBUG [cloud.user.AccountManagerImpl] (catalina-exec-10:null) Unable to authenticate user with username test in domain 1 > 2013-03-04 05:40:12,616 WARN [cloud.user.AccountManagerImpl] (catalina-exec-10:null) Login attempt failed. You have 4 attempt(s) remaining > 2013-03-04 05:40:12,616 DEBUG [cloud.user.AccountManagerImpl] (catalina-exec-10:null) User: test in domain 1 has failed to log in > Expected result: > LDAP Config APi expects the query filter in the below format > (&(uid=%u)) > (&(mail=%e) > Either change the warning message to enter query filter in the above format or UI should convert to above format implicitly when customer enter only %e or%u as query filter > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira