Hi Wang,

LDAP is for enterprise or production deployment; If you just want to have
a trial, you can set "kylin.sandbox=true² in conf/kylin.properties, then
login Kylin UI with ³ADMIN:KYLIN²;

The LDAP URL need be something like:

ldap.server=ldap://<hostname>:389

Here 389 is the default LDAP port;

Besides, the ldap.user.searchBase, ldap.user.searchPattern and
ldap.user.groupSearchBase also need be provided, telling Spring security
how your user directory is organized; for example:

ldap.user.searchBase=OU=User,DC=mycompany,DC=com

For such patterns, it is corporate specified, so please contact your LDAP
administrator;

ldap.service.* is optional, which is for the case that you have service
accounts (not human accounts) in LDAP;


BTW, I will also add this into Kylin documents;

On 8/26/15, 3:45 PM, "[email protected]" <[email protected]> wrote:

>hello,
>        when i execute "bin/kylin.sh start", "tomcat/logs/kylin.log"
>output "Constructor threw exception; nested exception is
>java.lang.IllegalArgumentException: An LDAP connection URL must be
>supplied.". so i configure conf/kylin.properties like this :
>---------------------------------------------------
>## Config for Restful APP ##
># database connection settings:
>ldap.server=192.168.1.201
>ldap.username=admin
>ldap.password=tsrMLkQhZHQVeyJl2sB+MvaPQP56RGH3
>ldap.user.searchBase=
>ldap.user.searchPattern=
>ldap.user.groupSearchBase=
>ldap.service.searchBase=OU=
>ldap.service.searchPattern=
>ldap.service.groupSearchBase=
>acl.adminRole= 
>acl.defaultRole= 
>ganglia.group= 
>ganglia.port=8664
>-----------------------------------------------------
>but "tomcat/logs/kylin.log" output
>"[ERROR][org.springframework.web.context.ContextLoader.initWebApplicationC
>ontext(ContextLoader.java:307)] - Context initialization failed
>org.springframework.beans.factory.BeanDefinitionStoreException: Invalid
>bean definition with name 'ldapSource' defined in class path resource
>[kylinSecurity.xml]: Input length must be multiple of 16 when decrypting
>with padded cipher"
>how can i configure the part of ldap in kylin.properties ?
>is all config of ldap necessary ?
>is there a model or example which i can follow?
>
>thank you very much!

Reply via email to