AnsweredAssumed Answered

OSX - CIFS - Connexion impossible avec alfresco 3.4.b

Question asked by altiva_4280 on Nov 15, 2010
Latest reply on Nov 17, 2010 by altiva_4280
Bonjour,

On rencontre des gros problèmes avec les clients sous MACOSX:
- Avec la dernière version Alfresco 3.4.b il est impossible de ce connecter
- Avec la version 3.2r on peut se connecter, mais l'enregistrement d'un fichier ouvert ne fonctionne pas après l'ouverture ou de façon aléatoire (problème de lock apparemment corrigé dans la 3.4.b si j'ai bien compris). Pour ce cas, il n'y a pas de message d'erreur même en mode debug.

Voici le message de log lors d'une connexion avec la 3.4.b:

12:17:45,102 DEBUG [org.alfresco.smb.protocol.auth] NT Session setup NTLMSSP, MID=1, UID=0, PID=1
12:17:45,119 DEBUG [org.alfresco.smb.protocol.auth] Using Write transaction
12:17:45,174 DEBUG [org.alfresco.smb.protocol.auth] Using Write transaction
12:17:45,181 DEBUG [org.alfresco.smb.protocol.auth] NT Session setup NTLMSSP, MID=2, UID=0, PID=1
12:17:45,188 DEBUG [org.alfresco.smb.protocol.auth] Using Write transaction
12:17:45,402 DEBUG [org.alfresco.smb.protocol.auth] Using Write transaction
12:17:45,411 DEBUG [org.alfresco.smb.protocol.auth] Logged on using NTLMSSP/NTLMv2
12:17:45,412 DEBUG [org.alfresco.smb.protocol.auth] Using Write transaction
12:17:45,421 DEBUG [org.alfresco.smb.protocol.auth] Using Write transaction
12:17:45,442 DEBUG [org.alfresco.smb.protocol.auth] Using Write transaction
12:17:45,446 DEBUG [org.alfresco.smb.protocol.auth] Using Write transaction
12:17:45,454 DEBUG [org.alfresco.smb.protocol.auth] Using Write transaction
12:17:45,457 DEBUG [org.alfresco.smb.protocol.auth] Using Write transaction
12:17:45,463 DEBUG [org.alfresco.smb.protocol.auth] Using Write transaction
12:17:45,469 ERROR [org.alfresco.fileserver] org.alfresco.repo.security.permissions.AccessDeniedException: 10150000 Access Denied.  You do not have the appropriate permissions to perform this operation.
org.alfresco.repo.security.permissions.AccessDeniedException: 10150000 Access Denied.  You do not have the appropriate permissions to perform this operation.
        at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:48)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.alfresco.repo.audit.AuditMethodInterceptor.proceed(AuditMethodInterceptor.java:167)
        at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:137)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
        at $Proxy45.getStoreFreeSpace(Unknown Source)
        at org.alfresco.filesys.repo.ContentDiskDriver.getDiskInformation(ContentDiskDriver.java:3972)
        at org.alfresco.jlan.smb.server.ProtocolHandler.getDiskInformation(ProtocolHandler.java:157)
        at org.alfresco.jlan.smb.server.NTProtocolHandler.procTrans2QueryFileSys(NTProtocolHandler.java:4030)
        at org.alfresco.jlan.smb.server.NTProtocolHandler.processTransactionBuffer(NTProtocolHandler.java:1773)
        at org.alfresco.jlan.smb.server.NTProtocolHandler.procTransact2(NTProtocolHandler.java:1600)
        at org.alfresco.jlan.smb.server.NTProtocolHandler.runProtocol(NTProtocolHandler.java:232)
        at org.alfresco.jlan.smb.server.SMBSrvSession.runHandler(SMBSrvSession.java:1366)
        at org.alfresco.jlan.smb.server.SMBSrvSession.processPacket(SMBSrvSession.java:1458)
        at org.alfresco.jlan.smb.server.nio.NIOCIFSThreadRequest.runRequest(NIOCIFSThreadRequest.java:105)
        at org.alfresco.jlan.server.thread.ThreadRequestPool$ThreadWorker.run(ThreadRequestPool.java:153)
        at java.lang.Thread.run(Thread.java:619)
Caused by: net.sf.acegisecurity.AccessDeniedException: Access is denied.

Merci de votre aide.

Voici ma config;


[root@ged ~]# cat /etc/redhat-release
CentOS release 5.5 (Final)
Alfresco 3.4.b

[root@ged ~]# cat /opt/alfresco-3.4.b/tomcat/shared/classes/alfresco-global.properties

###############################
## Common Alfresco Properties #
###############################

dir.root=/opt/alfresco-3.4.b/alf_data

web.application.context.url=http://localhost:8080/alfresco

### database connection properties ###
db.driver=org.gjt.mm.mysql.Driver
db.username=alfresco
db.password=igvthn66
db.name=alfresco
db.url=jdbc:mysql://localhost:3306/${db.name}?useUnicode=true&characterEncoding=utf8

### FTP Server Configuration ###
ftp.enabled=true
ftp.port=21
ftp.ipv6.enabled=false

### RMI service ports ###
alfresco.rmi.services.port=50500
avm.rmi.service.port=0
avmsync.rmi.service.port=0
attribute.rmi.service.port=0
authentication.rmi.service.port=0
repo.rmi.service.port=0
action.rmi.service.port=0
deployment.rmi.service.port=0

### External executable locations ###
ooo.exe=/opt/alfresco-3.4.b/openoffice/program/soffice.bin
ooo.port=8100
img.root=/opt/alfresco-3.4.b/common
img.dyn=${img.root}/lib
img.exe=/usr/bin/convert
#img.exe=${img.root}/bin/convert
swf.exe=/opt/alfresco-3.4.b/common/bin/pdf2swf
#jodconverter.enabled=true
#jodconverter.officeHome=/opt/alfresco-3.4.b/openoffice/program/soffice.bin
#jodconverter.portNumbers=8101

### Initial admin password ###
alfresco_user_store.adminpassword=<PASS>
cifs.enabled=true
cifs.serverName=${localname}A
cifs.domain=WORKGROUP
cifs.broadcast=10.48.0.255
# An empty value indicates bind to all available network adapters
cifs.bindto=10.48.0.244
cifs.ipv6.enabled=false
cifs.hostannounce=true
# Enable the use of asynchronous sockets/NIO code
cifs.disableNIO=false
# Disable the use of JNI code. Only currently affects Windows
cifs.disableNativeCode=false
# Session timeout, in seconds. Defaults to 15 minutes, to match the default Windows client setting.
# If no I/O is received within that time the session is closed by the server
cifs.sessionTimeout=900

# Can be mapped to non-privileged ports, then use firewall rules to forward requests from the standard ports
cifs.tcpipSMB.port=445
cifs.netBIOSSMB.sessionPort=139
cifs.netBIOSSMB.namePort=137
cifs.netBIOSSMB.datagramPort=138

[root@ged ~]#

Outcomes