Vista combinada Visión Plana Vista de árbol
Discusiones [ Anterior | Siguiente ]
Terry Jeske
Cannot import ldap users with permissions.user.check.algorithm=6
7 de junio de 2011 9:33
Respuesta

Terry Jeske

Ranking: Junior Member

Mensajes: 42

Fecha de incorporación: 23 de junio de 2010

Mensajes recientes

When we set
permissions.user.check.algorithm=6

we get the following error when LR tries to import users from AD. Setting it to algorithm=5 works fine. I am ok with sticking with 5 for the time being, but do not want to get too far removed from the algorithm upgrades. Can anyone out there successfully import users from AD using algorithm 6?

 116:26:45,705 ERROR [PortalLDAPImporterImpl:470] Unable to import user CN=John Smith,CN=Users: null:null:{samaccountname=sAMAccountName: mhorn}
 2com.liferay.portal.NoSuchResourceActionException: CollaborationCalendar#ADD_TO_PAGE
 3    at com.liferay.portal.service.impl.ResourceActionLocalServiceImpl.getResourceAction(ResourceActionLocalServiceImpl.java:80)
 4    at sun.reflect.GeneratedMethodAccessor306.invoke(Unknown Source)
 5    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 6    at java.lang.reflect.Method.invoke(Method.java:597)
 7    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
 8    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
 9    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
10    at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:82)
11    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
12    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
13    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
14    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
15    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
16    at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
17    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
18    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
19    at $Proxy84.getResourceAction(Unknown Source)
20    at com.liferay.portal.service.impl.ResourcePermissionLocalServiceImpl.getAvailableResourcePermissionActionIds(ResourcePermissionLocalServiceImpl.java:127)
21    at sun.reflect.GeneratedMethodAccessor395.invoke(Unknown Source)
22    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
23    at java.lang.reflect.Method.invoke(Method.java:597)
24    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
25    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
26    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
27    at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:82)
28    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
29    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
30    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
31    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
32    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
33    at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
34    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
35    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
36    at $Proxy86.getAvailableResourcePermissionActionIds(Unknown Source)
37    at com.liferay.portal.service.ResourcePermissionLocalServiceUtil.getAvailableResourcePermissionActionIds(ResourcePermissionLocalServiceUtil.java:260)
38    at com.liferay.portal.lar.PermissionExporter.exportPermissions_6(PermissionExporter.java:340)
39    at com.liferay.portal.lar.PermissionExporter.exportPortletPermissions(PermissionExporter.java:418)
40    at com.liferay.portal.lar.PortletExporter.exportPortlet(PortletExporter.java:634)
41    at com.liferay.portal.lar.LayoutExporter.exportLayoutsAsFile(LayoutExporter.java:358)
42    at com.liferay.portal.service.impl.LayoutLocalServiceImpl.exportLayoutsAsFile(LayoutLocalServiceImpl.java:398)
43    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
44    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
45    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
46    at java.lang.reflect.Method.invoke(Method.java:597)
47    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
48    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
49    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
50    at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:82)
51    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
52    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
53    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
54    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
55    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
56    at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
57    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
58    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
59    at $Proxy45.exportLayoutsAsFile(Unknown Source)
60    at com.liferay.portal.service.impl.UserGroupLocalServiceImpl.exportLayouts(UserGroupLocalServiceImpl.java:318)
61    at com.liferay.portal.service.impl.UserGroupLocalServiceImpl.copyUserGroupLayouts(UserGroupLocalServiceImpl.java:139)
62    at com.liferay.portal.service.impl.UserGroupLocalServiceImpl.copyUserGroupLayouts(UserGroupLocalServiceImpl.java:129)
63    at com.liferay.portal.service.impl.UserGroupLocalServiceImpl.setUserUserGroups(UserGroupLocalServiceImpl.java:262)
64    at sun.reflect.GeneratedMethodAccessor339.invoke(Unknown Source)
65    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
66    at java.lang.reflect.Method.invoke(Method.java:597)
67    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
68    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
69    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
70    at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:82)
71    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
72    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
73    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
74    at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58)
75    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
76    at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
77    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
78    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
79    at $Proxy100.setUserUserGroups(Unknown Source)
80    at com.liferay.portal.service.UserGroupLocalServiceUtil.setUserUserGroups(UserGroupLocalServiceUtil.java:312)
81    at com.liferay.portal.security.ldap.PortalLDAPImporterImpl.importGroups(PortalLDAPImporterImpl.java:563)
82    at com.liferay.portal.security.ldap.PortalLDAPImporterImpl.importFromLDAPByUser(PortalLDAPImporterImpl.java:465)
83    at com.liferay.portal.security.ldap.PortalLDAPImporterImpl.importFromLDAP(PortalLDAPImporterImpl.java:169)
84    at com.liferay.portal.security.ldap.PortalLDAPImporterImpl.importFromLDAP(PortalLDAPImporterImpl.java:122)
85    at com.liferay.portal.security.ldap.PortalLDAPImporterUtil.importFromLDAP(PortalLDAPImporterUtil.java:34)