incubator-cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pranav Saxena (JIRA)" <>
Subject [jira] [Commented] (CLOUDSTACK-1494) LDAP:UI:showing wrong warning message&accepting Invalid queryfilter formats
Date Fri, 08 Mar 2013 15:20:13 GMT


Pranav Saxena commented on CLOUDSTACK-1494:

As per discussion with Abhi , I am adding a tooltip which gives a detailed explanation about
how to use the query filter . The internal conversion is not the developer's problem as it
would have to be taken care off by the user themselves. 

Thanks !
> LDAP:UI:showing wrong warning message&accepting Invalid queryfilter formats
> ---------------------------------------------------------------------------
>                 Key: CLOUDSTACK-1494
>                 URL:
>             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)
> 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=== -- 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:

View raw message