As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
### CIFS ### cifs.enabled=true cifs.serverName=${localname} cifs.domain=WORKGROUP cifs.broadcast=255.255.255.255 cifs.bindto=0.0.0.0 cifs.ipv6=enabled cifs.hostannounce=true cifs.tcpipSMB.port=1445 cifs.netBIOSSMB.namePort=1137 cifs.netBIOSSMB.datagramPort=1138 cifs.netBIOSSMB.sessionPort=1139 cifs.urlfile.prefix=http://${localname}:8080/alfresco/ cifs.WINS.autoDetectEnabled=true cifs.disableNIO=false cifs.disableNativeCode=false
Hai provato a copiare le DLL presenti nel pacchetto di Alfresco all'interno della cartella c:/Windows/System32?
ho trovato però la Win32NetBIOS.dll nella cartella C:\Alfresco\tomcat\binE' quella la dll da copiare?
############################### ## Common Alfresco Properties # ############################### dir.root=C:/Alfresco/alf_data alfresco.context=alfresco alfresco.host=127.0.0.1 alfresco.port=8080 alfresco.protocol=http share.context=share share.host=127.0.0.1 share.port=8080 share.protocol=http ### database connection properties ### db.driver=org.postgresql.Driver db.username=alfresco db.password=admin db.name=alfresco db.url=jdbc:postgresql://localhost:5432/${db.name} ### 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=C:/Alfresco/openoffice/App/openoffice/program/soffice.exe ooo.enabled=true ooo.port=8100 ooo.port=8100 img.root=C:/Alfresco/imagemagick img.dyn=${img.root}/lib img.exe=${img.root}/convert swf.exe=C:/Alfresco/swftools/pdf2swf.exe jodconverter.enabled=false jodconverter.officeHome=C:/Alfresco/openoffice/App/openoffice jodconverter.portNumbers=8100 ### Initial admin password ### alfresco_user_store.adminpassword=209c6174da490caeb422f3fa5a7ae634 ### E-mail site invitation setting ### notification.email.siteinvite=false ### File Protocol Root ### protocols.rootPath=/${spaces.company_home.childname}/${spaces.sites.childname} ### License location ### dir.license.external=C:/Alfresco ### Solr indexing ### index.subsystem.name=solr dir.keystore=${dir.root}/keystore solr.port.ssl=8443 ### BPM Engine ### system.workflow.engine.jbpm.enabled=false ### DISABILITO L'UTENTE GUEST ### alfresco.authentication.allowGuestLogin=false ### CIFS ### cifs.enabled=true cifs.serverName=${localname} cifs.domain=WORKGROUP cifs.broadcast=255.255.255.255 cifs.bindto=0.0.0.0 cifs.ipv6=enabled cifs.hostannounce=true cifs.tcpipSMB.port=445 cifs.netBIOSSMB.namePort=137 cifs.netBIOSSMB.datagramPort=138 cifs.netBIOSSMB.sessionPort=139 cifs.urlfile.prefix=http://${localname}:8080/alfresco/ cifs.WINS.autoDetectEnabled=true cifs.disableNIO=false cifs.disableNativeCode=false
1. On windows server, make sure that the machine name is not longer than 15 characters. 2. Before starting the alfresco server, run this command netstat -an 3. Check for an entry of 0.0.0.0:445. If port 445 is in use then disable the local SMB service 4. Disable Native SMB collisions Native SMB can be disabled by adding the following registry key: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NetBT\Parameters] "SMBDeviceEnabled"=dword:00000000 A reboot is required after creating this key. Setting the value to one or deleting the registry key will restore native SMB support. In Windows 2000,2003,2008 - Port 445 is bound by default to \device\ - all devices. Use the following registry key to unbind port 445 and allow for binding by Alfresco: [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\NetBT\Parameters] 5. Run nbtstat -a ALFRESCO_SERVER_IP 6. Now map the drive net use X: \\SERVER_NAMEa\Alfresco\SPACE_NAME /user:USERNAME //persistent:yes USERNAME is Alfresco user name
filesystem.name=Alfresco filesystem.acl.global.defaultAccessLevel= ### Root directory to open onto ### filesystem.storeName=${spaces.store} filesystem.rootPath=${protocols.rootPath} # ALF-3856 # File name patterns that trigger rename shuffle detection filesystem.renameShufflePattern=(.*\\.tmp)|(.*\\.wbk)|(.*\\.bak)|(.*\\~) # Should we ever set the read only flag on folders? This may cause problematic # behaviour in Windows clients. See ALF-6727. filesystem.setReadOnlyFlagOnFolders=false ### CIFS Server Configuration ### cifs.enabled=true cifs.serverName=${localname} cifs.domain=WORKGROUP cifs.broadcast=255.255.255.255 # An empty value indicates bind to all available network adapters cifs.bindto=0.0.0.0 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 # Optional WINS server primary and secondary IP addresses. Ignored if autoDetectEnabled=true cifs.WINS.autoDetectEnabled=true cifs.WINS.primary=1.2.3.4 cifs.WINS.secondary=5.6.7.8 # CIFS session debug flags (also enable org.alfresco.fileserver=debug logging level) # Comma delimeted list of levels :- # NETBIOS, STATE, RXDATA, TXDATA, DUMPDATA, NEGOTIATE, TREE, SEARCH, INFO, FILE, FILEIO, TRANSACT # ECHO, ERROR, IPC, LOCK, PKTTYPE, DCERPC, STATECACHE, TIMING, NOTIFY, STREAMS, SOCKET, PKTPOOL # PKTSTATS, THREADPOOL, BENCHMARK cifs.sessionDebug= # Big Switch, are the Desktop Actions and URL shortcuts shown for CIFS ? cifs.pseudoFiles.enabled=true # CIFS URL for alfresco explorer cifs.pseudoFiles.explorerURL.enabled=true cifs.pseudoFiles.explorerURL.fileName=__Alfresco.url # Cifs URL for alfresco share cifs.pseudoFiles.shareURL.enabled=false cifs.pseudoFiles.shareURL.fileName=__Share.url ### FTP Server Configuration ### ftp.enabled=true ftp.port=21 # An empty value indicates bind to all available network adapters ftp.bindto= # FTP data port range, a value of 0:0 disables the data port range and will use the next available port # Valid range is 1024-65535 ftp.dataPortFrom=0 ftp.dataPortTo=0 # FTPS support (enabled when the keystore, truststore and passphrase are set) ftp.keyStore= ftp.trustStore= ftp.passphrase= ftp.requireSecureSession=true ftp.sslEngineDebug=false # FTP session debug flags (also enable org.alfresco.fileserver=debug logging level) # Comma delimeted list of levels :- # STATE, RXDATA, TXDATA, DUMPDATA, SEARCH, INFO, FILE, FILEIO, ERROR, PKTTYPE, TIMING, DATAPORT, DIRECTORY, SSL ftp.sessionDebug= ### NFS Server Configuration ### nfs.enabled=false # NodeMonitor to update cache of NFS server on nodes renaming and deleting not through NFS protocol nfs.nodeMonitor.enabled=${nfs.enabled} # Mount/NFS server ports, 0 will allocate next available port nfs.mountServerPort=0 nfs.nfsServerPort=2049 # RPC registration port, 0 will allocate next available port # Some portmapper/rpcbind services require a privileged port to be used nfs.rpcRegisterPort=0 # To disable NFS and mount server registering with a portmapper set nfs.portMapperPort to -1 nfs.portMapperPort=111 # Enable the builtin portmapper service nfs.portMapperEnabled=false # NFS session debug flags (also enable org.alfresco.fileserver=debug logging level) # Comma delimeted list of levels :- # RXDATA, TXDATA, DUMPDATA, SEARCH, INFO, FILE, FILEIO, ERROR, TIMING, DIRECTORY, SESSION nfs.sessionDebug= nfs.mountServerDebug=false # # Filesystem cluster configuration # filesystem.cluster.enabled=false filesystem.cluster.name=AlfrescoFilesysCache # Where to find the hazelcast config file filesystem.cluster.configFile=not specified # Hazelcast cluster debug flags # Comma delimeted list of levels # "StateCache", "Expire", "NearCache", "Oplock", "ByteLock", "FileAccess", "Membership", # "Cleanup", "PerNode", "ClusterEntry", "ClusterMessage", "RemoteTask", "RemoteTiming", # "Rename", "FileDataUpdate", "FileStatus" filesystem.cluster.debugFlags=
Microsoft Windows XP [Versione 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Documents and Settings\Administrator>nbtstat -n Connessione alla rete locale (LAN): Indirizzo IP nodo: [10.1.1.60] ID ambito: [] Tabella nomi locali NetBIOS Nome Tipo Stato ——————————————— VALFRESCO <00> UNICO Registrato WORKGROUP <00> GRUPPO Registrato VALFRESCO <20> UNICO Registrato WORKGROUP <1E> GRUPPO Registrato C:\Documents and Settings\Administrator>
2011-10-27 12:10:56,335 ERROR [org.alfresco.fileserver] [Thread-1] CIFS server configuration error, 09270000 CIFS server name must be unique org.alfresco.error.AlfrescoRuntimeException: 09270000 CIFS server name must be unique at org.alfresco.filesys.config.ServerConfigurationBean.processCIFSServerConfig(ServerConfigurationBean.java:267) at org.alfresco.filesys.AbstractServerConfigurationBean.init(AbstractServerConfigurationBean.java:473) at org.alfresco.filesys.AbstractServerConfigurationBean.onApplicationEvent(AbstractServerConfigurationBean.java:824) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:97) at org.alfresco.repo.management.subsystems.ChildApplicationContextFactory$ChildApplicationContext.publishEvent(ChildApplicationContextFactory.java:484) at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:911) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:428) at org.alfresco.repo.management.subsystems.ChildApplicationContextFactory$ApplicationContextState.start(ChildApplicationContextFactory.java:684) at org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean.start(AbstractPropertyBackedBean.java:665) at org.alfresco.repo.management.subsystems.AbstractPropertyBackedBean.onApplicationEvent(AbstractPropertyBackedBean.java:473) at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEventInternal(SafeApplicationEventMulticaster.java:209) at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEvent(SafeApplicationEventMulticaster.java:180) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:303) at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:911) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:428) at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47) at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:63) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3972) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4467) 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:546) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardHost.start(StandardHost.java:785) 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:519) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:581) 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:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Prova a vedere se modificando il file file-server-custom.xml riesci a configurare il dominio Windows.Verifica che anche all'interno del file ntlm-authentication-context.xml sia corretta la configurazione.Credo sia un problema di mappatura del dominio.
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE beans PUBLIC "-//SPRING/DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd"> <beans> <bean id="fileServerConfiguration" class="org.alfresco.filesys.config.ServerConfigurationBean" parent="fileServerConfigurationBase"> <property name="cifsConfigBean"> <ref bean="cifsServerConfig" /> </property> <property name="ftpConfigBean"> <ref bean="ftpServerConfig" /> </property> <property name="nfsConfigBean"> <ref bean="nfsServerConfig" /> </property> <property name="filesystemContexts"> <ref bean="filesystemContexts" /> </property> <property name="securityConfigBean"> <ref bean="fileSecurityConfig" /> </property> <property name="clusterConfigBean"> <ref bean="fileSystemClusterConfig" /> </property> </bean> <!– CIFS Server –> <bean id="cifsServer" class="org.alfresco.filesys.CIFSServerBean" destroy-method="stopServer"> <constructor-arg> <ref local="fileServerConfiguration" /> </constructor-arg> <property name="sessionListeners"> <list> <!– Allow authentication subsystem to listen for SMB sessions, e.g. for passthru –> <ref bean="SmbSessionListener" /> </list> </property> </bean> <!– FTP Server –> <bean id="ftpServer" class="org.alfresco.filesys.FTPServerBean" destroy-method="stopServer"> <constructor-arg> <ref local="fileServerConfiguration" /> </constructor-arg> </bean> <!– NFS Server –> <bean id="nfsServer" class="org.alfresco.filesys.NFSServerBean" destroy-method="stopServer"> <constructor-arg> <ref local="fileServerConfiguration" /> </constructor-arg> <property name="nodeMonitor" ref="nfsServerNodeMonitor" /> </bean> <bean id="nfsServerNodeMonitor" class="org.alfresco.filesys.NfsServerNodeMonitor"> <property name="enabled" value="${nfs.nodeMonitor.enabled}" /> <property name="targetDeviceName" value="${filesystem.name}" /> <property name="filesystemContexts" ref="filesystemContexts" /> <property name="nodeService" ref="nodeService" /> <property name="policyComponent" ref="policyComponent" /> <property name="permissionService" ref="permissionService" /> </bean> <!– JMX Monitoring –> <bean id="FileServerConfig" class="org.alfresco.filesys.FileServerConfig"> <property name="fileServerConfiguration"> <ref bean="fileServerConfiguration" /> </property> <property name="ftpServer"> <ref bean="ftpServer" /> </property> <property name="cifsServer"> <ref bean="cifsServer" /> </property> <property name="nfsServer"> <ref bean="nfsServer" /> </property> </bean> <bean id="cifsServerConfig" class="org.alfresco.filesys.config.CIFSConfigBean"> <property name="serverEnabled"> <value>${cifs.enabled}</value> </property> <property name="serverName"> <value>${cifs.serverName}</value> </property> <property name="domainName"> <value>${cifs.domain}</value> </property> <property name="serverComment"> <value>Alfresco CIFS Server</value> </property> <!– Set to the broadcast mask for the subnet –> <property name="broadcastAddress"> <value>${cifs.broadcast}</value> </property> <!– Set to the IP for the adapter for Java socket –> <property name="bindToAddress"> <value>${cifs.bindto}</value> </property> <!– Use Java socket based NetBIOS over TCP/IP and native SMB on linux –> <property name="tcpipSMB"> <bean class="org.alfresco.filesys.config.TcpipSMBConfigBean"> <!– Can be mapped to non-privileged ports, then use firewall rules to forward requests from the standard ports –> <property name="port"> <value>${cifs.tcpipSMB.port}</value> </property> <property name="platforms"> <value>linux,solaris,macosx</value> </property> <property name="ipv6Enabled"> <value>${cifs.ipv6.enabled}</value> </property> </bean> </property> <property name="netBIOSSMB"> <bean class="org.alfresco.filesys.config.NetBIOSSMBConfigBean"> <property name="bindTo"> <value>${cifs.bindto}</value> </property> <property name="sessionPort"> <value>${cifs.netBIOSSMB.sessionPort}</value> </property> <property name="namePort"> <value>${cifs.netBIOSSMB.namePort}</value> </property> <property name="datagramPort"> <value>${cifs.netBIOSSMB.datagramPort}</value> </property> <property name="platforms"> <value>linux,solaris,macosx</value> </property> </bean> </property> <property name="hostAccouncerEnabled"> <value>${cifs.hostannounce}</value> </property> <property name="hostAccounceInterval"> <value>5</value> </property> <!– Use Win32 NetBIOS interface on Windows –> <property name="win32NetBIOS"> <bean class="org.alfresco.filesys.config.Win32NetBIOSConfigBean" /> </property> <property name="win32HostAnnouncerEnabled"> <value>${cifs.hostannounce}</value> </property> <property name="win32HostAnnounceInterval"> <value>5</value> </property> <!– CIFS authentication –> <property name="authenticator"> <ref bean="CifsAuthenticator" /> </property> <!– Disable the use of asynchronous sockets/NIO code –> <property name="disableNIO"> <value>${cifs.disableNIO}</value> </property> <!– Disable the use of JNI code –> <!– Only currently affects Windows –> <property name="disableNativeCode"> <value>${cifs.disableNativeCode}</value> </property> <!– 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 –> <property name="sessionTimeout"> <value>${cifs.sessionTimeout}</value> </property> <!– Enable WINS if used for NetBIOS name lookups –> <property name="WINSConfig"> <bean class="org.alfresco.filesys.config.WINSConfigBean"> <property name="autoDetectEnabled"> <value>${cifs.WINS.autoDetectEnabled}</value> </property> <property name="primary"> <value>${cifs.WINS.primary}</value> </property> <property name="secondary"> <value>${cifs.WINS.secondary}</value> </property> </bean> </property> <property name="sessionDebugFlags"> <value>${cifs.sessionDebug}</value> </property> </bean> <bean id="ftpServerConfig" class="org.alfresco.filesys.config.FTPConfigBean"> <property name="serverEnabled"> <value>${ftp.enabled}</value> </property> <property name="port"> <value>${ftp.port}</value> </property> <property name="bindTo"> <value>${ftp.bindto}</value> </property> <!– FTP authentication –> <property name="authenticator"> <ref bean="FtpAuthenticator" /> </property> <!– FTP server debug settings –> <!– Enable 'log4j.logger.org.alfresco.fileserver=debug' in log4j.properties file –> <property name="debugFlags"> <value>${ftp.sessionDebug}</value> </property> <!– Data ports range –> <property name="dataPortFrom"> <value>${ftp.dataPortFrom}</value> </property> <property name="dataPortTo"> <value>${ftp.dataPortTo}</value> </property> <!– FTPS support –> <property name="keyStorePath"> <value>${ftp.keyStore}</value> </property> <property name="trustStorePath"> <value>${ftp.trustStore}</value> </property> <property name="passphrase"> <value>${ftp.passphrase}</value> </property> <property name="requireSecureSession"> <value>${ftp.requireSecureSession}</value> </property> <property name="sslEngineDebug"> <value>${ftp.sslEngineDebug}</value> </property> </bean> <!–The configurable RPC user mappings - actually a post-processed composite property! –> <bean id="nfs.user.mappings" class="org.springframework.beans.factory.config.ListFactoryBean"> <property name="sourceList"> <list> <bean class="org.alfresco.filesys.auth.nfs.UserMapping"> <property name="beanName"> <value>${alfresco_user_store.adminusername}</value> </property> <property name="uid"> <value>0</value> </property> <property name="gid"> <value>0</value> </property> </bean> </list> </property> </bean> <!– Cluster Configuration –> <bean id="fileSystemClusterConfig" class="org.alfresco.filesys.config.ClusterConfigBean"> <property name="clusterEnabled"> <value>${filesystem.cluster.enabled}</value> </property> <property name="clusterName"> <value>${filesystem.cluster.name}</value> </property> <property name="configFile"> <value>${filesystem.cluster.configFile}</value> </property> <property name="debugFlags"> <value>${filesystem.cluster.debugFlags}</value> </property> </bean> <bean id="nfsServerConfig" class="org.alfresco.filesys.config.NFSConfigBean"> <property name="serverEnabled"> <value>${nfs.enabled}</value> </property> <property name="nfsServerPort"> <value>${nfs.nfsServerPort}</value> </property> <property name="mountServerPort"> <value>${nfs.mountServerPort}</value> </property> <!– Setting a portMapper port of -1 stops the NFS and mount server registering with a portmapper –> <property name="portMapperPort"> <value>${nfs.portMapperPort}</value> </property> <!– RPC registration port –> <property name="rpcRegisterPort"> <value>${nfs.rpcRegisterPort}</value> </property> <!– Enable/disable the builtin portMapper service –> <property name="portMapperEnabled"> <value>${nfs.portMapperEnabled}</value> </property> <!– Map NFS user/group ids to Alfresco users –> <property name="rpcAuthenticator"> <bean class="org.alfresco.filesys.auth.nfs.AlfrescoRpcAuthenticator"> <property name="userMappings"> <ref bean="nfs.user.mappings" /> </property> <property name="transactionService"> <ref bean="transactionService" /> </property> <property name="authenticationComponent"> <ref bean="authenticationComponent" /> </property> <property name="authenticationService"> <ref bean="authenticationService" /> </property> </bean> </property> <!– NFS server debug settings –> <!– Enable 'log4j.logger.org.alfresco.fileserver=debug' in log4j.properties file –> <property name="debugFlags"> <value>${nfs.sessionDebug}</value> </property> <property name="mountServerDebug"> <value>${nfs.mountServerDebug}</value> </property> </bean> <!– Alfresco Filesystem quota manager –> <bean id="filesystemQuotaManager" class="org.alfresco.filesys.repo.ContentQuotaManager" init-method="init"> <property name="contentService"> <ref bean="ContentService" /> </property> <property name="usageService"> <ref bean="ContentUsageService" /> </property> </bean> <bean id="filesystemContexts" class="org.springframework.beans.factory.config.ListFactoryBean"> <property name="sourceList"> <list> <!– Alfresco repository access shared filesystem –> <bean class="org.alfresco.filesys.repo.ContentContext"> <property name="sysAdminParams"> <ref bean="sysAdminParams" /> </property> <property name="deviceName"> <value>${filesystem.name}</value> </property> <property name="storeName"> <value>${protocols.storeName}</value> </property> <property name="rootPath"> <value>${filesystem.rootPath}</value> </property> <property name="renameShufflePattern"> <value>${filesystem.renameShufflePattern}</value> </property> <!– Mark locked files as offline –> <property name="offlineFiles"> <value>true</value> </property> <!– Enable the quota manager –> <property name="quotaManager"> <ref bean="filesystemQuotaManager" /> </property> <!– Enables and disables pseudo files - cifs DesktopActions and URL shortcuts. –> <property name="pseudoFilesEnabled"> <value>${cifs.pseudoFiles.enabled}</value> </property> <!– Add a pseudo links back to the alfresco explorer –> <property name="alfrescoURLEnabled"> <value>${cifs.pseudoFiles.explorerURL.enabled}</value> </property> <property name="URLFileName"> <value>${cifs.pseudoFiles.explorerURL.fileName}</value> </property> <!– Add a pseudo links back to the alfresco share –> <property name="shareURLEnabled"> <value>${cifs.pseudoFiles.shareURL.enabled}</value> </property> <property name="shareURLFileName"> <value>${cifs.pseudoFiles.shareURL.fileName}</value> </property> <!– Desktop actions –> <!– Uses a client-side application to trigger a server-side action –> <!– Echo - displays a message echoed from the server –> <!– URL - launches a URL via the Windows shell –> <!– CmdLine - launches the Notepad application –> <!– CheckInOut - checks files in/out, drag and drop files onto the application –> <!– JavaScript - run a server-side script –> <!– JavaScriptURL - server-side script that generates a URL to the folder using a ticket –> <!– to avoid having to logon –> <property name="globalDesktopActionConfig"> <bean class="org.alfresco.filesys.config.GlobalDesktopActionConfigBean"> <property name="path"> <value>alfresco/desktop/Alfresco.exe</value> </property> </bean> </property> <property name="desktopActionList"> <list> <bean class="org.alfresco.filesys.repo.desk.CheckInOutDesktopAction"> <property name="name"> <value>CheckInOut</value> </property> <property name="filename"> <value>__CheckInOut.exe</value> </property> </bean> <bean class="org.alfresco.filesys.repo.desk.JavaScriptDesktopAction"> <property name="name"> <value>JavaScriptURL</value> </property> <property name="filename"> <value>__ShowDetails.exe</value> </property> <property name="scriptName"> <value>alfresco/desktop/showDetails.js</value> </property> <property name="attributeList"> <value>anyFiles</value> </property> <property name="preprocess"> <value>copyToTarget</value> </property> </bean> <!– Other desktop actions which may be enabled –> <!– <bean class="org.alfresco.filesys.repo.desk.EchoDesktopAction"> <property name="name"> <value>Echo</value> </property> <property name="filename"> <value>__AlfrescoEcho.exe</value> </property> </bean> <bean class="org.alfresco.filesys.repo.desk.URLDesktopAction"> <property name="name"> <value>URL</value> </property> <property name="filename"> <value>__AlfrescoURL.exe</value> </property> </bean> <bean class="org.alfresco.filesys.repo.desk.CmdLineDesktopAction"> <property name="name"> <value>CmdLine</value> </property> <property name="filename"> <value>__AlfrescoCmd.exe</value> </property> </bean> <bean class="org.alfresco.filesys.repo.desk.JavaScriptDesktopAction"> <property name="name"> <value>JavaScript</value> </property> <property name="filename"> <value>__AlfrescoScript.exe</value> </property> <property name="scriptName"> <value>alfresco/desktop/dumpRequest.js</value> </property> <property name="attributeList"> <value>anyFiles, multiplePaths, allowNoParams</value> </property> <property name="preprocess"> <value>confirm, copyToTarget</value> </property> </bean> –> </list> </property> <!– Additional access control of the filesystem –> <!– Access type of 'none' will stop the filesystem from showing up for that user/address/protocol –> <!– <property name="accessControl"> <bean class="org.alfresco.filesys.config.acl.AccessControlListBean"> <property name="defaultAccessLevel"> <value>Write</value> </property> </bean> </property> –> </bean> <!– AVM virtualization view of all stores/versions for WCM –> <!– virtual view stores filter can be any of the following: normal, site, staging, author, preview –> <bean class="org.alfresco.filesys.avm.AVMContext"> <property name="deviceName"> <value>AVM</value> </property> <property name="virtualView"> <value>true</value> </property> <property name="stores"> <value>site,staging,author</value> </property> </bean> </list> </property> </bean> <!–Configurable global ACLS - actually post-processed composite properties –> <bean id="filesystem.acl.global.domainAccessControls" class="org.springframework.beans.factory.config.ListFactoryBean" /> <bean id="filesystem.acl.global.protocolAccessControls" class="org.springframework.beans.factory.config.ListFactoryBean" /> <bean id="filesystem.acl.global.userAccessControls" class="org.springframework.beans.factory.config.ListFactoryBean" /> <!– Domain mappings used for passthru authentication routing –> <!– Used when the client does not provide a domain name in the NTLM logon –> <bean id="filesystem.domainMappings" class="org.springframework.beans.factory.config.ListFactoryBean" /> <bean id="fileSecurityConfig" class="org.alfresco.filesys.config.SecurityConfigBean"> <property name="domainMappings"> <ref bean="filesystem.domainMappings" /> </property> <!– Custom share mapper when multi-tenancy is enabled –> <!– <property name="shareMapper"> <bean class="org.alfresco.filesys.alfresco.MultiTenantShareMapper"> <property name="serverConfiguration"> <ref bean="fileServerConfiguration" /> </property> <property name="quotaManager"> <ref bean="filesystemQuotaManager"/> </property> <property name="debug"> <value>true</value> </property> </bean> </property> –> <!– Global access control list –> <!– Applied to all filesystems that do not have an accessControl property –> <property name="globalAccessControl"> <bean class="org.alfresco.filesys.config.acl.AccessControlListBean"> <!– Access type of 'none' will stop the filesystem from showing up for that user/address/protocol –> <property name="defaultAccessLevel"> <value>${filesystem.acl.global.defaultAccessLevel}</value> </property> <property name="domainAccessControls"> <ref bean="filesystem.acl.global.domainAccessControls" /> </property> <property name="protocolAccessControls"> <ref bean="filesystem.acl.global.protocolAccessControls" /> </property> <property name="userAccessControls"> <ref bean="filesystem.acl.global.userAccessControls" /> </property> </bean> </property> </bean> </beans>
come previsto in http://wiki.alfresco.com/wiki/File_Server_Subsystem#The_platforms_property (visto che ho la versione 4 di Alfresco) sto provando ad aggiungere "windows" nella proprietà "platforms" per i beans tcpipSMB e netBIOSSMB…stay tuned!
Per curiosità, prova a settare come nuovo dispositivo di rete Alfresco utilizzando WebDAV come protocollo impostando come indirizzo http://localnameorta/alfresco/webdav.Dovresti cmq ottenere lo stesso risultato a livello di utilizzo rispetto a CIFS su Windows… o quasi.
Dovresti vedere gli spazi di Alfresco su cui l'utente della sessione può avere accesso…
CIFS server configuration error, 10020000 CIFS server name must be unique
Come diceva il buon vecchio Freddie Mercury….[size=150]I'ts a Kind of magic![/size] ho installato la versione alfresco-community-4.0.c-installer-win-x32 ed il CIFS magicamente funziona (senza neanche inserire i parametri di configurazione nel file properties!).bah! :?
Come diceva il buon vecchio Freddie Mercury….[size=150]I'ts a Kind of magic![/size] ho installato la versione alfresco-community-4.0.c-installer-win-x32 ed il CIFS magicamente funziona (senza neanche inserire i parametri di configurazione nel file properties!).bah! :?Ciao valerio, dove hai trovato la 4.0.c che non è ancora uscita?