You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "sadhu suresh (JIRA)" <ji...@apache.org> on 2013/07/03 09:34:22 UTC
[jira] [Updated] (CLOUDSTACK-3344) ldap:UI:sending wrong query
filter(converting &symbol to "amp&")during ldapconfig through UI[due to
this ldap users fail to login]
[ https://issues.apache.org/jira/browse/CLOUDSTACK-3344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
sadhu suresh updated CLOUDSTACK-3344:
-------------------------------------
Component/s: (was: UCS)
Fix Version/s: 4.2.0
Description:
Steps:
1. Configured the LDAP through UI by providing query filter as email (eg:(&(mail=%e)))
2.check the configured values
Actual result:
its converting & symbol into amp& while configuring the ldap through UI due to this ldap users fail to login.
through API ,its working fine.this is the only problem with UI side where they converting "&" symbolto "amp&"
API fired while performing ldapconfig through UI:
http://10.147.59.119:8080/client/api?command=ldapConfig&binddn=CN%3Dtest%2CCN%3DUsers%2CDC%3Dhyd-qa%2CDC%3Dcom&bindpass=aaaa_1111&hostname=10.147.38.163&searchbase=CN%3DUsers%2CDC%3Dhyd-qa%2CDC%3Dcom&queryfilter=(%26(mail%3D%25e))&port=389&ssl=false&response=json&sessionkey=zlWVnEF2HA3R4ekSa8kDXaZrY5k%3D&_=1372835435077
{ "ldapconfigresponse" : { "ldapconfig" : {"hostname":"10.147.38.163","port":"389","ssl":"false","searchbase":"CN=Users,DC=hyd-qa,DC=com","queryfilter":"(&(mail=%e))","binddn":"CN=test,CN=Users,DC=hyd-qa,DC=com"} } }
was:
St
Configured the LDAP through UI
Summary: ldap:UI:sending wrong query filter(converting &symbol to "amp&")during ldapconfig through UI[due to this ldap users fail to login] (was: ldap:UI:sending wrong query filter(converting &symboll to ameps:p&)during ldapconfig through UI)
> ldap:UI:sending wrong query filter(converting &symbol to "amp&")during ldapconfig through UI[due to this ldap users fail to login]
> ----------------------------------------------------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-3344
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3344
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the default.)
> Components: UI
> Affects Versions: 4.2.0
> Reporter: sadhu suresh
> Priority: Critical
> Fix For: 4.2.0
>
>
> Steps:
> 1. Configured the LDAP through UI by providing query filter as email (eg:(&(mail=%e)))
> 2.check the configured values
> Actual result:
> its converting & symbol into amp& while configuring the ldap through UI due to this ldap users fail to login.
> through API ,its working fine.this is the only problem with UI side where they converting "&" symbolto "amp&"
> API fired while performing ldapconfig through UI:
> http://10.147.59.119:8080/client/api?command=ldapConfig&binddn=CN%3Dtest%2CCN%3DUsers%2CDC%3Dhyd-qa%2CDC%3Dcom&bindpass=aaaa_1111&hostname=10.147.38.163&searchbase=CN%3DUsers%2CDC%3Dhyd-qa%2CDC%3Dcom&queryfilter=(%26(mail%3D%25e))&port=389&ssl=false&response=json&sessionkey=zlWVnEF2HA3R4ekSa8kDXaZrY5k%3D&_=1372835435077
> { "ldapconfigresponse" : { "ldapconfig" : {"hostname":"10.147.38.163","port":"389","ssl":"false","searchbase":"CN=Users,DC=hyd-qa,DC=com","queryfilter":"(&(mail=%e))","binddn":"CN=test,CN=Users,DC=hyd-qa,DC=com"} } }
--
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