connection has been established to ldap from enterprise admin but
when i try to display list of users using enterprise admin it displaying error at t he tomcat console
i am able to see the users from active directory
im unable to import users from ldap
1
207:29:00,516 ERROR [PortalLDAPUtil:911] Problem adding user with screen name administrator and email
3 address Administrator@rpwebapps.com
4com.liferay.portal.ContactFirstNameException
5 at com.liferay.portal.service.impl.UserLocalServiceImpl.validate(UserLocalServiceImpl.java:3
6287)
7 at com.liferay.portal.service.impl.UserLocalServiceImpl.addUser(UserLocalServiceImpl.java:27
85)
9 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
10 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
11 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
12 at java.lang.reflect.Method.invoke(Method.java:585)
13 at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307
14)
15 at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMe
16thodInvocation.java:182)
17 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
18cation.java:149)
19 at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInte
20rceptor.java:106)
21 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
22cation.java:171)
23 at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationIn
24terceptor.java:89)
25 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
26cation.java:171)
27 at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
28 at $Proxy70.addUser(Unknown Source)
29 at com.liferay.portal.service.UserLocalServiceUtil.addUser(UserLocalServiceUtil.java:149)
30 at com.liferay.portal.security.ldap.PortalLDAPUtil.importLDAPUser(PortalLDAPUtil.java:902)
31 at com.liferay.portal.security.ldap.PortalLDAPUtil.importFromLDAP(PortalLDAPUtil.java:572)
32 at com.liferay.portal.util.PortalInstances._initCompany(PortalInstances.java:358)
33 at com.liferay.portal.util.PortalInstances.initCompany(PortalInstances.java:89)
34 at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:561)
35 at javax.servlet.GenericServlet.init(GenericServlet.java:212)
36 at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1172)
37 at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:992)
38 at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4058)
39 at org.apache.catalina.core.StandardContext.start(StandardContext.java:4371)
40 at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
41 at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
42 at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
43 at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:627)
44 at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
45 at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
46 at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
47 at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
48 at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
49 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
50 at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
51 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
52 at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
53 at org.apache.catalina.core.StandardService.start(StandardService.java:516)
54 at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
55 at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
56 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
57 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
58 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
59 at java.lang.reflect.Method.invoke(Method.java:585)
60 at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
61 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
6207:29:01,079 ERROR [PortalLDAPUtil:911] Problem adding user with screen name srikanth arroju and ema
63il address Srikanth_A@rpwebapps.com
64com.liferay.portal.ModelListenerException: javax.naming.directory.NoSuchAttributeException: [LDAP: e
65rror code 16 - 00000057: LdapErr: DSID-0C090C26, comment: Error in attribute conversion operation, d
66ata 0, v1772 ]; remaining name 'cn=srikanth-arroju,cn=Users,dc=rpwebapps,dc=com'
67 at com.liferay.portal.model.ContactListener.onAfterCreate(ContactListener.java:43)
68 at com.liferay.portal.model.ContactListener.onAfterCreate(ContactListener.java:36)
69 at com.liferay.portal.service.persistence.ContactPersistenceImpl.update(ContactPersistenceIm
70pl.java:240)
71 at com.liferay.portal.service.impl.UserLocalServiceImpl.addUser(UserLocalServiceImpl.java:39
729)
73 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
74 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
75 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
76 at java.lang.reflect.Method.invoke(Method.java:585)
77 at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307
78)
79 at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMe
80thodInvocation.java:182)
81 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
82cation.java:149)
83 at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInte
84rceptor.java:106)
85 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
86cation.java:171)
87 at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationIn
88terceptor.java:89)
89 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvo
90cation.java:171)
91 at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
92 at $Proxy70.addUser(Unknown Source)
93 at com.liferay.portal.service.UserLocalServiceUtil.addUser(UserLocalServiceUtil.java:149)
94 at com.liferay.portal.security.ldap.PortalLDAPUtil.importLDAPUser(PortalLDAPUtil.java:902)
95 at com.liferay.portal.security.ldap.PortalLDAPUtil.importFromLDAP(PortalLDAPUtil.java:572)
96 at com.liferay.portal.util.PortalInstances._initCompany(PortalInstances.java:358)
97 at com.liferay.portal.util.PortalInstances.initCompany(PortalInstances.java:89)
98 at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:561)
99 at javax.servlet.GenericServlet.init(GenericServlet.java:212)
100 at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1172)
101 at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:992)
102 at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4058)
103 at org.apache.catalina.core.StandardContext.start(StandardContext.java:4371)
104 at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
105 at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
106 at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
107 at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:627)
108 at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
109 at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
110 at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
111 at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
112 at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
113 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
114 at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
115 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
116 at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
117 at org.apache.catalina.core.StandardService.start(StandardService.java:516)
118 at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
119 at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
120 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
121 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
122 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
123 at java.lang.reflect.Method.invoke(Method.java:585)
124 at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
125 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
126Caused by: javax.naming.directory.NoSuchAttributeException: [LDAP: error code 16 - 00000057: LdapErr
127: DSID-0C090C26, comment: Error in attribute conversion operation, data 0, v1772 ]; remaining name '
128cn=srikanth-arroju,cn=Users,dc=rpwebapps,dc=com'
129 at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3006)
130 at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2931)
131 at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2737)
132 at com.sun.jndi.ldap.LdapCtx.c_bind(LdapCtx.java:379)
133 at com.sun.jndi.ldap.LdapCtx.c_bind(LdapCtx.java:336)
134 at com.sun.jndi.toolkit.ctx.ComponentContext.p_bind(ComponentContext.java:596)
135 at com.sun.jndi.toolkit.ctx.PartialCompositeContext.bind(PartialCompositeContext.java:183)
136 at com.sun.jndi.toolkit.ctx.PartialCompositeContext.bind(PartialCompositeContext.java:173)
137 at javax.naming.InitialContext.bind(InitialContext.java:359)
138 at com.liferay.portal.security.ldap.PortalLDAPUtil.exportToLDAP(PortalLDAPUtil.java:136)
139 at com.liferay.portal.model.ContactListener.onAfterCreate(ContactListener.java:40)
140 ... 49 more
14107:29:57,270 INFO [PluginPackageUtil:1153] Reloading repositories
The only field im not able to get from ldap is password which is the required field to import user
Thanks
Srikanth A
Please sign in to flag this as inappropriate.