OSX - CIFS - Connexion impossible avec alfresco 3.4.b

cancel
Showing results for 
Search instead for 
Did you mean: 
altiva_4280
Member II

OSX - CIFS - Connexion impossible avec alfresco 3.4.b

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 ~]#
2 Replies
rguinot
Customer

Re: OSX - CIFS - Connexion impossible avec alfresco 3.4.b

etes vous sur d'avoir les droits d'effectuer l'opération demandée ? avez vous essayé via l'interface web ? un autre protocole comme FTP ?
altiva_4280
Member II

Re: OSX - CIFS - Connexion impossible avec alfresco 3.4.b

etes vous sur d'avoir les droits d'effectuer l'opération demandée ? avez vous essayé via l'interface web ? un autre protocole comme FTP ?

Merci pour votre réponse. Tout fonctionne bien depuis l'interface et avec les PC sous Windows. Le FTP fonctionne.

Non, il y a bien un bug le finder du Mac et nautilus. Apparemment, il vient juste d'être corrigé (http://issues.alfresco.com/jira/browse/ALF-5576
) .

J'attends avec impatience la 3.4.c en espérant que les développeurs vont stabiliser pour le monde MacOS. Pour l'instant, j'utilise la 3.2r2 qui permet la connexion CIFS sous Mac, mais pas l'enregistrement d'un fichier ouvert.