StreamSets升级和LDAP身份验证

时间:2017-03-15 15:11:13

标签: cloudera-manager streamsets

使用Cloudera Manager(5.8.2)将StreamSet从2.1.0.2升级到2.4.0.0。我无法登录StreamSet - 我得到“登录失败”。新版本似乎使用了不同的LDAP查找方法。

我的日志之前更新如下所示:

3月15日,10:42:07.799 AM INFO com.streamsets.datacollector.http.LdapLoginModule
使用过滤器搜索用户:'(&(objectClass = {0})({1} = {2}))'来自基数dn:DC = myComp,DC = Statistics,DC = ComQ,DC = uk 3月15日,10:42:07.826 AM INFO com.streamsets.datacollector.http.LdapLoginModule
找到用户?:是的 3月15日,10:42:07.826 AM INFO com.streamsets.datacollector.http.LdapLoginModule
尝试验证:CN = UserDV,OU = London,OU = ComQ,DC = ComQ,DC = Statistics,DC = comQ,DC = uk

我的日志 AFTER 更新如下所示:

3月15日,11:10:21.406 AM INFO com.streamsets.datacollector.http.LdapLoginModule
访问LDAP服务器:ldaps://comQ.statisticsxxx.com:3269 startTLS:false 3月15日,11:10:22.086 AM INFO org.ldaptive.auth.SearchDnResolver
使用filter = [org.ldaptive.SearchFilter@1129802876 :: filter =(&(objectClass = user)(uid)搜索user = [org.ldaptive.auth.User@1573608120 :: identifier = userdv,context = null]失败= {user})),parameters = {context = null,user = userdv}] 3月15日,11:10:22.087 AM INFO com.streamsets.datacollector.http.LdapLoginModule
找到用户?:false 3月15日,11:10:22.087 AM错误com.streamsets.datacollector.http.LdapLoginModule
结果代码:null - DN不能为空

1 个答案:

答案 0 :(得分:0)

您应该将Cloudera Manager中的ldap.userFilteruid={user}更改为name={user}