NTLM (SOLUCIONADO)

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Active Member

Re: NTLM (SOLUCIONADO)

Mirando en el JIRA me he encontrado con esto:

The problem is I was using the wrong Win32NetBIOS.dll file. I was using the one in alfresco/HEAD/root./projects/alfresco-jlan/jni. The correct one is in alfresco/HEAD/root/projects/netbios/dll. The difference is in the package Java signatures: The one I was using from the jlan project is org.alfresco.jlan.netbios.win32.Win32NetBIOS, while the one referenced by the ServerConfiguration.java file is org.alfresco.filesys.netbios.win32.Win32NetBIOS. This explains the fact that the UnsatisfiedLinkError was raised even though the DLL was loaded - both have the same filename, but the JNI function names don't match.

Yo supongo que estoy tirando de la misma DLL que él. Me he bajado el código del SVN y he buscado entre los archivos las DLLs, pero solo me sale el del proyecto de jlan… no tengo ningun proyecto netbios
Highlighted
Active Member

Re: NTLM (SOLUCIONADO)

jeje o si alguien es tan amable y lo tiene me lo puede mandar? Por privado le digo el correo

Gracias!
Highlighted
Active Member

Re: NTLM (SOLUCIONADO)

Ya conseguí la DLL y el servidor arranca sin problemas no da ningún error. Pero a la hora de conectarme a él me salta lo siguiente:


2009-03-05 09:11:43,226 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/alfresco].[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception
net.sf.acegisecurity.AuthenticationServiceException: Failed to open passthru auth session
   at org.alfresco.repo.security.authentication.ntlm.NTLMAuthenticationComponentImpl.authenticatePassthru(NTLMAuthenticationComponentImpl.java:793)
   at org.alfresco.repo.security.authentication.ntlm.NTLMAuthenticationComponentImpl.authenticate(NTLMAuthenticationComponentImpl.java:550)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:281)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:187)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:154)
   at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:210)
   at $Proxy71.authenticate(Unknown Source)
   at org.alfresco.web.app.servlet.NTLMAuthenticationFilter.processType1(NTLMAuthenticationFilter.java:523)
   at org.alfresco.web.app.servlet.NTLMAuthenticationFilter.doFilter(NTLMAuthenticationFilter.java:395)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
   at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
   at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
   at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
   at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
   at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
   at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
   at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
   at java.lang.Thread.run(Thread.java:595)


La configuración que tengo es SOLO ntlm (sin CIFS ni LDAP ni nada… ). Estoy con la versión community 2.1.0
Highlighted
Active Member

Re: NTLM (SOLUCIONADO)

Ya lo hemos resuelto… Resulta que el nombre del servidor domain controller lo tiene en forma de "nombre.dominio1.dominio2"…