Shaofeng SHI created KYLIN-828:
----------------------------------
Summary: 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
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)