Foren

Liferay User Export on Create + LDAP + AD

thumbnail
Sandip Patel, geändert vor 11 Jahren.

Liferay User Export on Create + LDAP + AD

Regular Member Beiträge: 205 Beitrittsdatum: 05.01.11 Neueste Beiträge
Hi All,

I am using Liferay 6.1 ee ga2.

I want to export a user to AD(Active Directory) when User create in Liferay.

I have set below properties in portal-ext.properties.

ldap.base.provider.url.0=ldap://url :port
ldap.base.dn.0=DC=test,DC=local,DC=com
ldap.security.principal.0=CN=admin,DC=test,DC=local,DC=com
ldap.security.credentials.0=password

ldap.user.default.object.classes.0=top,person,organizationalPerson

ldap.users.dn.0=DC=test,DC=local,DC=com.

when i create user in Liferay at that time it create bwlow error.

Caused by: javax.naming.OperationNotSupportedException: [LDAP: error code 53 - 00002077: SvcErr: DSID-031907E9, problem 5003 (WILL_NOT_PERFORM), data 0
]; remaining name 'sAMAccountName=testcignex,OU=Head Office,OU=Users,OU=Radisson Edwardian,DC=rbehtest,DC=ed-mstest,DC=com'
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3160)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3033)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2840)
at com.sun.jndi.ldap.LdapCtx.c_bind(LdapCtx.java:420)
at com.sun.jndi.ldap.LdapCtx.c_bind(LdapCtx.java:377)
at com.sun.jndi.toolkit.ctx.ComponentContext.p_bind(ComponentContext.java:614)
at com.sun.jndi.toolkit.ctx.PartialCompositeContext.bind(PartialCompositeContext.java:201)
at javax.naming.InitialContext.bind(InitialContext.java:423)
at com.liferay.portal.security.ldap.PortalLDAPExporterImpl.addUser(PortalLDAPExporterImpl.java:360)

Please give directions...

Regards,
Sandip Patel
David Klingler, geändert vor 10 Jahren.

RE: Liferay User Export on Create + LDAP + AD

New Member Beitrag: 1 Beitrittsdatum: 10.04.12 Neueste Beiträge
I'm having the exact same problem. LifeRay appears to be properly configured and is trying to export the new user to an MS Active Directory server but the issue seems to be with passwords.

Has anyone ever gotten LifeRay to export users to an AD server?
Abhi R, geändert vor 9 Jahren.

RE: Liferay User Export on Create + LDAP + AD

New Member Beiträge: 20 Beitrittsdatum: 18.12.13 Neueste Beiträge
Hi guys, did any of you get it resolved? I'm facing the exact same problem...