简体   繁体   English

IBM Worklight-LDAPloginModule中的GetGetting错误

[英]IBM Worklight -Getting error in LDAPLoginModule

I am working on LDAPLoginModule in Worklight v5.0.6. 我正在使用Worklight v5.0.6中的LDAPLoginModule。

In that application-descriptor.xml file I have included all the parameters they have given in the sample code provided by IBM. 在那个application-descriptor.xml文件中,我已经包含了他们在IBM提供的示例代码中给出的所有参数。

However, I am getting an error: 但是,我收到一个错误:

-80090308: LdapErr: DSID-0C09030B, comment: AcceptSecurityContext error, data 52e, v893 -80090308:LdapErr:DSID-0C09030B,评论:AcceptSecurityContext错误,数据52e,v893

I am also not finding parameters to specify manager-dn and manager-password in application-descriptor.xml. 我也没有在application-descriptor.xml中找到指定manager-dnmanager-password参数。

A 52e exception means invalid credentials ( http://www.novell.com/coolsolutions/tip/18470.html ). 52e例外意味着凭证无效( http://www.novell.com/coolsolutions/tip/18470.html )。 If by manager-dn/password, you are referring to a distinct user to bind to LDAP as, then it is not possible with the ldap login module (If you login as xxx, you will be bound to the ldap server as xxx). 如果通过manager-dn / password,您指的是绑定到LDAP的不同用户,那么使用ldap登录模块是不可能的(如果您以xxx身份登录,则将作为xxx绑定到ldap服务器)。

If you are on liberty or WAS, you can use the LDAP features included with those systems to do a more advanced bind, by using the LTPA Login module instead. 如果您处于自由或WAS状态,则可以使用LTPA登录模块,使用这些系统附带的LDAP功能进行更高级的绑定。

it should be working for Active Directory, you don't need to have bindDN and bindPassword for it to work. 它应该适用于Active Directory,您不需要使用bindDN和bindPassword就可以使用它。 I think the magic is that, for the principalPattern, you should use the @LDAPDomain for the login 我认为,对于principalPattern来说,你应该使用@LDAPDomain进行登录

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM