技术文章 - CS349297
“发生 Active Directory 错误”“LDAP:错误代码 1”在使用 LDAP/目录服务对 ThingWorx Platform 进行身份验证时出现在 SecurityLog 中
已修改: 20-Feb-2022
适用于
- ThingWorx Platform 8.4 to 9.5
说明
- 无法让Active Directory用户在 ThingWorx Platform 中正确进行身份验证
- LDAP用户无法在 ThingWorx Platform 中进行身份验证
- 配置了目录服务实体,用户无法在 ThingWorx 中进行身份验证
- 在目录服务实体的配置选项卡上的测试连接下执行验证失败,并显示以下内容:
- 无法连接
- java.lang.NullPointerException: userName was null is present in the SecurityLog
- <ThingworxStorage> 日志中的SecurityLog.log在尝试以目录服务/LDAP用户身份登录时显示以下行:
- [L: WARN] [O: SctsApplicationContext] [I: ] [U: ] [S: ] [T: http-nio-80-exec-5] ApplicationContext.sessionDestroyed(HttpSessionEvent) 失败。 [java.lang.NullPointerException:用户名为空][用户名为空]
[L: 错误] [O: SctsdActiveDirectoryDirectoryService] [I: ] [U: ] [S: ] [T: http-nio-80-exec-5] 发生 Active Directory 错误。 [解释:javax.naming.NamingException:[LDAP:错误代码1-000020D6:SvcErr:DSID-031007E5,问题5012(DIR_ERROR),数据0_];剩余名称“<专有名称>”]
[O: SctsdActiveDirectoryDirectoryService] [I: ] [U: ] [S: ] [T: http-nio-80-exec-5] 发生 Active Directory 错误。 [解释:javax.naming.NamingException:[LDAP:错误代码1-000020D6:SvcErr:DSID-031007E5,问题5012(DIR_ERROR),数据0_];剩余名称“<专有名称>”]
- [L: WARN] [O: SctsApplicationContext] [I: ] [U: ] [S: ] [T: http-nio-80-exec-5] ApplicationContext.sessionDestroyed(HttpSessionEvent) 失败。 [java.lang.NullPointerException:用户名为空][用户名为空]
这是文章 349297 的 PDF 版本,可能已过期。最新版本 CS349297