-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 6.2.X EE, 7.0.0 DXP SP1, Master
-
Fix Version/s: 6.2.X EE, 7.0.0 DXP FP2, 7.0.0 DXP SP1, 7.0.3 CE GA4, 7.1.X, Master
-
Component/s: Application Security > LDAP
-
Branch Version/s:7.0.x, 6.2.x
-
Backported to Branch:Committed
-
Story Points:1.5
-
Fix Priority:4
-
Git Pull Request:
Step1: configure LPAP as follow:
Base Provider : URL ldap://192.168.133.176:389|
Base DN: ou=neu,dc=mydomain,dc=com
Principal cn: administrator,cn=Users,dc=mydomain,dc=com
Credential: sxxxxxxxAuthentication Search Filter: (&(objectCategory=person)([email protected][email protected]))
Import Search Filter: (objectClass=person)UUID :
Screen Name : cn
Email Address : userprincipalname
Password : userPassword
First Name : givenName
Middle Name :
Last Name : sn
Full Name :
Job Title :
Status :
Group :
Portrait :
Custom User Mapping :
Custom Contact Mapping :Import Search Filter:(objectClass=group)
Group Name: cn
Description: sAMAccountName
User: memberLeave the follow export configuration empty
Users DN: ou=neu,dc=mydomain,dc=com
User Default Object Classes: top,person,inetOrgPerson,organizationalPerson
Groups DN: ou=neu,dc=mydomain,dc=com
Group Default Object Classes: top,groupOfUniqueNames
.
Step2: login using test
Result: test can not login anymore.
Same cases, unable to add a user successfully. unable to update user contact, unable to update user group.
Error:
com.liferay.portal.ModelListenerException: javax.naming.directory.NoSuchAttributeException: [LDAP: error code 16 - 00000057: LdapErr: DSID-0C090C30, comment: Error in attribute conversion operation, data 0, v1db0_]; remaining name 'cn=test,OU=DessertUsers,DC=windows2008r2,DC=ntlm' [Sanitized]
at com.liferay.portal.model.UserListener.onAfterUpdate(UserListener.java:77)
at com.liferay.portal.model.UserListener.onAfterUpdate(UserListener.java:1)
at com.liferay.portal.model.BaseModelListener.onAfterUpdate(BaseModelListener.java:1)
at com.liferay.portal.service.persistence.impl.BasePersistenceImpl.update(BasePersistenceImpl.java:340)
at com.liferay.portal.service.impl.UserLocalServiceImpl.resetFailedLoginAttempts(UserLocalServiceImpl.java:5931)
at com.liferay.portal.service.impl.UserLocalServiceImpl.updateLastLogin(UserLocalServiceImpl.java:4499)
.
Thanks,
David.
- causes
-
LPS-78412 Error 400 occurs when "Forgot password" process tries to change user's password and LDAP export is enabled
- Closed
-
LPS-74160 LDAP password policy is not honored
- Closed
- relates
-
LPS-67405 Export user to Ldap server fail cause create a new user fail in portal
- Closed
-
LPE-15266 When LDAP export settings are enabled, the default user is unable to login
-
- Closed
-
-
LPS-76332 Error message when attempting to change user passwords when LDAP export is enabled on servers with password history
- Closed