AnsweredAssumed Answered

JLAN config error, but no JLAN Config put in place

Question asked by dave984 on Jul 22, 2013
Hi i've installed Alfresco 4.2.c on a Linux Server, with this LDAP ActiveDirectory configuration:
alfresco-global.properties

authentication.chain=alfrescoNtlm1:alfrescoNtlm,ldap-ad1:ldap-ad


and in {ALFRESCO_HOME}\tomcat\shared\classes\alfresco\extension\subsystems\Authentication\ldap-ad\ldap-ad1\ldap-ad-authentication.properties

ldap.authentication.active=true
ldap.authentication.userNameFormat=cn=%s,cn=users,dc=dir,dc=local
ldap.authentication.java.naming.provider.url=ldap://192.168.200.48:389
ldap.synchronization.active=true
ldap.synchronization.java.naming.security.principal=cn=user-alfresco,cn=users,dc=dir,dc=local
ldap.synchronization.java.naming.security.credentials=password
ldap.synchronization.groupSearchBase=dc=dir,dc=local
ldap.synchronization.userSearchBase=dc=dir,dc=local
synchronization.import.cron=0 0 * * * ?

If i try to connect to Alfresco through "map a network drive" in a Windows client i'able to connect but if i move file from local to Alfresco "drive" i have the following error:

09:12:50,296 ERROR [org.alfresco.fileserver] Error from JLAN
net.sf.acegisecurity.AuthenticationCredentialsNotFoundException: A valid SecureContext was not provided in the RequestContext
    at net.sf.acegisecurity.intercept.AbstractSecurityInterceptor.credentialsNotFound(AbstractSecurityInterceptor.java:481)
    at net.sf.acegisecurity.intercept.AbstractSecurityInterceptor.beforeInvocation(AbstractSecurityInterceptor.java:359)
    at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:77)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
    at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:46)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
    at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:159)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
    at org.alfresco.repo.model.filefolder.FilenameFilteringInterceptor.invoke(FilenameFilteringInterceptor.java:361)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
    at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
    at $Proxy70.searchSimple(Unknown Source)
    at org.alfresco.filesys.repo.CifsHelper.getDirectDescendents(CifsHelper.java:501)
    at org.alfresco.filesys.repo.CifsHelper.addDescendents(CifsHelper.java:476)
    at org.alfresco.filesys.repo.CifsHelper.getNodeRefs(CifsHelper.java:570)
    at org.alfresco.filesys.repo.CifsHelper.getNodeRef(CifsHelper.java:605)
    at org.alfresco.filesys.repo.ContentDiskDriver2.getNodeForPath(ContentDiskDriver2.java:2041)
    at org.alfresco.filesys.repo.ContentDiskDriver2.getFileInformation(ContentDiskDriver2.java:636)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
    at org.alfresco.filesys.repo.FilesystemTransactionAdvice$1.execute(FilesystemTransactionAdvice.java:71)
    at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:433)
    at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:323)
    at org.alfresco.filesys.repo.FilesystemTransactionAdvice.invoke(FilesystemTransactionAdvice.java:95)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
    at $Proxy219.getFileInformation(Unknown Source)
    at org.alfresco.filesys.repo.NonTransactionalRuleContentDiskDriver.getFileInformation(NonTransactionalRuleContentDiskDriver.java:107)
    at org.alfresco.filesys.repo.LegacyFileStateDriver.getFileInformation(LegacyFileStateDriver.java:425)
    at org.alfresco.filesys.repo.BufferedContentDiskDriver.getFileInformationInternal(BufferedContentDiskDriver.java:222)
    at org.alfresco.filesys.repo.BufferedContentDiskDriver.fileExists(BufferedContentDiskDriver.java:386)
    at org.alfresco.jlan.smb.server.NTProtocolHandler.procNTCreateAndX(NTProtocolHandler.java:5857)
    at org.alfresco.jlan.smb.server.NTProtocolHandler.runProtocol(NTProtocolHandler.java:315)
    at org.alfresco.jlan.smb.server.SMBSrvSession.runHandler(SMBSrvSession.java:1395)
    at org.alfresco.jlan.smb.server.SMBSrvSession.processPacket(SMBSrvSession.java:1489)
    at org.alfresco.jlan.smb.server.nio.NIOCIFSThreadRequest.runRequest(NIOCIFSThreadRequest.java:150)
    at org.alfresco.jlan.server.thread.ThreadRequestPool$ThreadWorker.run(ThreadRequestPool.java:153)
    at java.lang.Thread.run(Thread.java:722)
   
I've seen also other thread on the forum but with previuos versions of Alfresco and regarding JLAN Configurations…
    I have NO JLAN Configuration…!!!  

Outcomes