You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kylin.apache.org by "ZhouQianhao (JIRA)" <ji...@apache.org> on 2015/06/16 10:09:01 UTC

[jira] [Resolved] (KYLIN-828) kylin still use ldap profile when comment the line "kylin.sandbox=false" in kylin.properties

     [ https://issues.apache.org/jira/browse/KYLIN-828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ZhouQianhao resolved KYLIN-828.
-------------------------------
       Resolution: Fixed
    Fix Version/s: v0.8.1

> kylin still use ldap profile when comment the line "kylin.sandbox=false" in kylin.properties
> --------------------------------------------------------------------------------------------
>
>                 Key: KYLIN-828
>                 URL: https://issues.apache.org/jira/browse/KYLIN-828
>             Project: Kylin
>          Issue Type: Bug
>    Affects Versions: v0.7.1
>            Reporter: Shaofeng SHI
>            Assignee: ZhouQianhao
>             Fix For: v0.8.1
>
>
> User reports kylin trying to use LDAP authentication on startup, while in kylin.properties the setting of kyln.sandbox=true:
> ###########################config info for sandbox#######################
> kylin.sandbox=true
> #kylin.sandbox=false
> The problem is in bin/kylin.sh, it uses grep+awk to parse the value, didn't check whether the setting was commented or not; In this case, the useSandbox is an array with value "true false", then the script will think it is not use sandbox setting, so enabled the LDAP authentication, which is wrong; 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)