cancel
Showing results for 
Search instead for 
Did you mean: 

Come utilizzare CIFS

_valerio_
Champ in-the-making
Champ in-the-making
Ciao a tutti
avrei alcuni problemi nel mappare uno space che ho creato con alfresco per poter utilizzare CIFS e vederlo come una cartella nel mio computer.
per farlo apro computer  (ho vista come SO)e poi vado su connetti unità di rete;scelgo una lettera da utilizzare per identificare l'unità e poi immetto il percorso \\PC-VALERIOA\Alfresco\spazio di prova CIFS (percorso che trovo in alfresco explorer cliccando sull'icona accanto al nome dello space che ho creato); quando però vado ad inserire le credenziali (quelle di admin)  non mi fa accedere  (mi mostra il messaggio accesso non riuscito: impossibile stabilire la connessione, assicurarsi che nome utente e password siano corrette)

qualcuno saprebbe aiutarmi?

grazie
16 REPLIES 16

_valerio_
Champ in-the-making
Champ in-the-making
ho modificato il file alfresco-global.properties nel seguente modo:
# CIFScifs.enabled=truecifs.serverName=${localname}cifs.hostannounce=truecifs.domain=cifs.bindto=cifs.broadcast=255.255.255.255cifs.localname=${localname}Acifs.urlfile.prefix=http://${localname}:8080/alfresco/cifs.tcpipSMB.port=445cifs.ipv6.enabled=truecifs.netBIOSSMB.sessionPort=139cifs.WINS.autoDetectEnabled=truecifs.disableNIO=falsecifs.disableNativeCode=false‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍
ed il file log4j.properties (in accordo col wiki)
# CIFS server debugginglog4j.logger.org.alfresco.smb.protocol=debug#log4j.logger.org.alfresco.smb.protocol.auth=debug#log4j.logger.org.alfresco.acegi=debug::# File serverslog4j.logger.org.alfresco.fileserver=debug‍‍‍‍‍‍‍‍‍
ed il sistema mi restituisce il seguente errore:
09:38:49,105 INFO  [org.alfresco.config.JBossEnabledWebApplicationContext] Closing org.alfresco.config.JBossEnabledWebApplicationContext@14ab266: display name [Root WebApplicationContext]; startup date [Thu Apr 01 18:34:22 CEST 2010]; root of context hierarchy10:15:04,156 INFO  [org.alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/repository.properties]10:15:04,156 INFO  [org.alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/domain/transaction.properties]10:15:04,156 INFO  [org.alfresco.config.JndiPropertiesFactoryBean] Loading properties file from URL [file:/C:/Alfresco/tomcat/shared/classes/alfresco-global.properties]10:15:04,359 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]10:15:52,937 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.10:15:57,437 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] No changes were made to the schema.10:16:03,671 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'thirdparty' subsystem, ID: [default]10:16:03,875 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]10:16:08,515 WARN  [org.alfresco.util.OpenOfficeConnectionTester] An initial OpenOffice connection could not be established.10:16:08,515 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'thirdparty' subsystem, ID: [default] complete10:16:09,421 INFO  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: C:\Alfresco\alf_data10:16:09,515 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Checking for patches to apply …10:16:10,156 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] No patches were required.10:16:10,312 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Found 1 module(s).10:16:10,515 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Starting module 'org.alfresco.module.vti' version 1.2.10:16:11,500 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'fileServers' subsystem, ID: [default]10:16:11,546 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]10:16:13,656 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Authentication' subsystem, ID: [managed, alfrescoNtlm1]10:16:13,765 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]10:16:16,984 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Authentication' subsystem, ID: [managed, alfrescoNtlm1] complete10:16:17,187 ERROR [org.alfresco.fileserver] CIFS server configuration error, 03020001 CIFS server name must be uniqueorg.alfresco.error.AlfrescoRuntimeException: 03020001 CIFS server name must be unique   at org.alfresco.filesys.config.ServerConfigurationBean.processCIFSServerConfig(ServerConfigurationBean.java:252)   at org.alfresco.filesys.AbstractServerConfigurationBean.init(AbstractServerConfigurationBean.java:486)   at org.alfresco.filesys.AbstractServerConfigurationBean.onApplicationEvent(AbstractServerConfigurationBean.java:840)   at org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:77)   at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)   at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:75)   at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:246)   at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:617)   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:355)   at org.alfresco.repo.management.subsystems.ChildApplicationContextFactory.start(ChildApplicationContextFactory.java:453)   at org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean.onApplicationEvent(AbstractPropertyBackedBean.java:276)   at org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:77)   at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)   at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:75)   at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:246)   at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:617)   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:355)   at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)   at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:189)   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)   at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:69)   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)   at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:627)   at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)   at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)   at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)   at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)   at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)   at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)   at org.apache.catalina.core.StandardService.start(StandardService.java:516)   at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)   at org.apache.catalina.startup.Catalina.start(Catalina.java:578)   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:597)   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)10:16:17,375 INFO  [org.alfresco.fileserver] FTP server started10:16:17,484 INFO  [org.alfresco.fileserver] NFS server NOT started10:16:18,156 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'fileServers' subsystem, ID: [default] complete10:16:18,171 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'imap' subsystem, ID: [default]10:16:18,265 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]10:16:18,515 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'imap' subsystem, ID: [default] complete10:16:18,515 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Synchronization' subsystem, ID: [default]10:16:18,843 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]10:16:18,875 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Synchronization' subsystem, ID: [default] complete10:16:19,062 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_16-b01; maximum heap size 506,313MB10:16:19,062 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Community): Current version 3.2.0 (2039) schema 2019 - Installed version 3.2.0 (2039) schema 201910:16:21,265 INFO  [org.alfresco.module.vti.VtiServer] Vti server started successfully on port: 707010:17:14,687 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'wcm_deployment_receiver' subsystem, ID: [default]10:17:14,812 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]10:17:15,937 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'wcm_deployment_receiver' subsystem, ID: [default] complete10:17:27,875 INFO  [org.alfresco.config.JBossEnabledWebApplicationContext] Refreshing org.alfresco.config.JBossEnabledWebApplicationContext@de484c: display name [Root WebApplicationContext]; startup date [Fri Apr 02 10:17:27 CEST 2010]; root of context hierarchy10:17:30,109 INFO  [org.alfresco.config.JBossEnabledWebApplicationContext] Bean factory for application context [org.alfresco.config.JBossEnabledWebApplicationContext@de484c]: org.springframework.beans.factory.support.DefaultListableBeanFactory@14575b110:17:37,671 INFO  [org.alfresco.web.scripts.DeclarativeRegistry] Registered 24 Web Scripts (+0 failed), 26 URLs10:17:37,828 INFO  [org.alfresco.web.scripts.AbstractRuntimeContainer] Initialised Presentation Web Script Container (in 2802.6628ms)10:17:38,671 INFO  [org.alfresco.web.scripts.DeclarativeRegistry] Registered 42 Web Scripts (+0 failed), 44 URLs10:17:38,687 INFO  [org.alfresco.web.scripts.AbstractRuntimeContainer] Initialised WebFramework Web Script Container (in 846.3196ms)10:17:39,531 INFO  [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework10:18:07,531 INFO  [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework10:19:00,718 INFO  [org.alfresco.util.OpenOfficeConnectionTester] The OpenOffice connection was re-established.10:21:32,203 INFO  [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍

_valerio_
Champ in-the-making
Champ in-the-making
ho risolto il problema dell'errore modificando l'alfresco-global.properties nel seguente modo
    # CIFS    cifs.enabled=true    cifs.serverName=    cifs.hostannounce=true    cifs.domain=    cifs.bindto=    cifs.broadcast=255.255.255.255    cifs.localname=${localname}A    cifs.urlfile.prefix=http://${localname}:8080/alfresco/    cifs.tcpipSMB.port=445    cifs.ipv6.enabled=true    cifs.netBIOSSMB.sessionPort=139    cifs.WINS.autoDetectEnabled=true    cifs.disableNIO=false    cifs.disableNativeCode=false‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍
così facendo non mi da più l'errore, anzi mi esce la scritta "server CIFS enabled"
ho anche copiato Win32NetBIOS.dll presente in 'C:\alfresco\bin nella cartella c:\windows\system32 come suggerisce il link http://dev.alfresco.com/resource/README_tomcat_win.txt ma ancora non riesco ancora a mappare l'unità di rete

marksss_6152
Champ in-the-making
Champ in-the-making
ho risolto il problema dell'errore modificando l'alfresco-global.properties nel seguente modo
    # CIFS    cifs.enabled=true    cifs.serverName=    cifs.hostannounce=true    cifs.domain=    cifs.bindto=    cifs.broadcast=255.255.255.255    cifs.localname=${localname}A    cifs.urlfile.prefix=http://${localname}:8080/alfresco/    cifs.tcpipSMB.port=445    cifs.ipv6.enabled=true    cifs.netBIOSSMB.sessionPort=139    cifs.WINS.autoDetectEnabled=true    cifs.disableNIO=false    cifs.disableNativeCode=false‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍
così facendo non mi da più l'errore, anzi mi esce la scritta "server CIFS enabled"
ho anche copiato Win32NetBIOS.dll presente in 'C:\alfresco\bin nella cartella c:\windows\system32 come suggerisce il link http://dev.alfresco.com/resource/README_tomcat_win.txt ma ancora non riesco ancora a mappare l'unità di rete
Ciao, ci sei riuscito alla fine? Io sto cercando di farlo funzionare su macchina reale.. Windows XP Pro SP2

_valerio_
Champ in-the-making
Champ in-the-making
se per riuscito intendi vedere l'unità di rete  da un computer remoto allora la risposta è no
se invece intendi mappare un'unità di rete con visibilità solo locale, allora la risposta è si.

supersonic
Champ in-the-making
Champ in-the-making
Ciao a tutti
avrei alcuni problemi nel mappare uno space che ho creato con alfresco per poter utilizzare CIFS e vederlo come una cartella nel mio computer.
per farlo apro computer  (ho vista come SO)e poi vado su connetti unità di rete;scelgo una lettera da utilizzare per identificare l'unità e poi immetto il percorso \\PC-VALERIOA\Alfresco\spazio di prova CIFS (percorso che trovo in alfresco explorer cliccando sull'icona accanto al nome dello space che ho creato); quando però vado ad inserire le credenziali (quelle di admin)  non mi fa accedere  (mi mostra il messaggio accesso non riuscito: impossibile stabilire la connessione, assicurarsi che nome utente e password siano corrette)

qualcuno saprebbe aiutarmi?

grazie

Ragazzi ciao a tutti, volevo chiedere come è possibile fare la stessa cosa che ha chiesto valerio con Ubuntu.

marksss_6152
Champ in-the-making
Champ in-the-making
Ciao a tutti
avrei alcuni problemi nel mappare uno space che ho creato con alfresco per poter utilizzare CIFS e vederlo come una cartella nel mio computer.
per farlo apro computer  (ho vista come SO)e poi vado su connetti unità di rete;scelgo una lettera da utilizzare per identificare l'unità e poi immetto il percorso \\PC-VALERIOA\Alfresco\spazio di prova CIFS (percorso che trovo in alfresco explorer cliccando sull'icona accanto al nome dello space che ho creato); quando però vado ad inserire le credenziali (quelle di admin)  non mi fa accedere  (mi mostra il messaggio accesso non riuscito: impossibile stabilire la connessione, assicurarsi che nome utente e password siano corrette)

qualcuno saprebbe aiutarmi?

grazie

Ragazzi ciao a tutti, volevo chiedere come è possibile fare la stessa cosa che ha chiesto valerio con Ubuntu.

Certo  Smiley Wink

marksss_6152
Champ in-the-making
Champ in-the-making
se per riuscito intendi vedere l'unità di rete  da un computer remoto allora la risposta è no
se invece intendi mappare un'unità di rete con visibilità solo locale, allora la risposta è si.

No.. da remoto..
Io alla fine sono passato a Linux anche per la sicurezza..