cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco 5 Cifs

jakepens71
Champ in-the-making
Champ in-the-making
Hello,

I the company that I worked for before had a Alfresco server running 4.0.d. It was an enterprise version and had CIFS set up correctly. I am a programmer and not a network person.

The configuration they had before was as follows in Alferso-global.properties:


   ###############################
## Common Alfresco Properties #
## Enterprise overlay         #
###############################

dir.root=C:/ALFRES~1.E/alf_data

alfresco.context=alfresco
alfresco.host=alfresco
alfresco.port=80
alfresco.protocol=http

share.context=share
share.host=alfresco
share.port=80
share.protocol=http

### database connection properties ###
db.driver=org.postgresql.Driver
db.username=alfresco
db.password=********
db.name=alfresco
db.url=jdbc:postgresql://localhost:5432/${db.name}

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

#
# IMAP Configuration
#
#imap.server.enabled=true
#imap.server.port=143
#imap.server.host=alfresco

### CIFS Configuration  ###
cifs.enabled=true
cifs.domain=domain.com
cifs.serverName=alfrescoA
cifs.hostannounce=true
cifs.sessionDebug=NEGOTIATE.SOCKET
cifs.disableNativeCode=false

#cifs.ipv6.enabled=false       
#cifs.tcpipSMB.port=445         
cifs.netBIOSSMB.namePort=137
cifs.netBIOSSMB.datagramPort=138
cifs.netBIOSSMB.sessionPort=139

### PUT AD Authenication ###
# 20110420-worked-with ASM changes - #authentication.chain=alfrescoNtlm1:alfrescoNtlm,ldap1:ldap-ad,passthru1:passthru
#authentication.chain=alfrescoNtlm1:alfrescoNtlm,passthru1:passthru
#authentication.chain=alfrescoNtlm1:alfrescoNtlm
#authentication.chain=alfrescoNtlm1:alfrescoNtlm,passthru1:passthru,ldap1:ldap-ad
#authentication.chain=alfrescoNtlm1:alfrescoNtlm,ldap1:ldap-ad,passthru1:passthru
authentication.chain=passthru1:passthru,ldap1:ldap-ad,alfrescoNtlm1:alfrescoNtlm

alfresco.authentication.authenticateCIFS=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=false
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=true
jodconverter.officeHome=C:/Alfresco/openoffice/App/openoffice
#jodconverter.portNumbers=8100
jodconverter.portNumbers=8100,8101,8102,8103,8104

### Initial admin password ###
alfresco_user_store.adminpassword=******************

### 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

### Replication ###
replication.enabled=true

# PUT settings
mail.host=172.16.1.2
mail.port=25
#mail.username=
#mail.password=xxxxxxxx
mail.protocol=smtp
mail.smtps.starttls.enable=false
mail.smtps.auth=true


# Test email
mail.testmessage.send=true
#mail.testmessage.to=
mail.testmessage.to=
mail.testmessage.subject=Outbound SMTP alfresco-PUT
mail.testmessage.text=The Outbound SMTP email subsystem is working at PUT Production.

#Turn off preview
#system.thumbnail.generate=false


We had a third party set up the application and no know took notes or watched exactly how they did it. I am trying to get this working on a virtual machine set up of Windows Server 2012.

I mapped the network drive that they were using that contains all of our sites on it that was used on the previous server. It is called AlfrescoA.

If i go into my web browser and go to //alfrescoA/alfresco I can then get right to it. However, when i go to localhost:8080/share I do not see any of the sites or the files that are in them.

I have also tried disabling windows firewall completely, disabling all the 445 nonsense that Windows Server has along with it (but I couldn't completely disable it.) I have also tried other install of Alfresco namely 4.2.e and 4.0.d again but both community.



Any ideas?
2 REPLIES 2

102020
Champ on-the-rise
Champ on-the-rise
This is all you need for CIFS to work (been using this since v4, currently running on v5)

### CIFS ###
cifs.enabled=true
cifs.serverName=yourhostnamegoeshereA
cifs.hostannounce=true
cifs.domain=yourdomainnamegoeshere.com
cifs.broadcast=xxx.xxx.xxx.xxx
cifs.localname=${localname}A
cifs.urlfile.prefix=https://${localname}:8443/alfresco/

### HIDE ICONS ###
cifs.pseudoFiles.enabled=false
cifs.pseudoFiles.explorerURL.enabled=false
cifs.pseudoFiles.explorerURL.fileName=__Alfresco.url
cifs.pseudoFiles.shareURL.enabled=false
cifs.pseudoFiles.shareURL.fileName=__Share.url


The bottom section you don't need, only top part to have it working. Keep in mind I'm using SSL, only difference.

mrogers
Star Contributor
Star Contributor
Not sure what you meant by "However, when i go to localhost:8080/share I do not see any of the sites or the files that are in them."
That's HTTP not CIFS.

And I note from your alfresco-global.properties you are running alfresco on alfresco:80.   You probably have Share on the same server in which case it will be on alfresco:80/share.   You don't need to specify 80 since its the default value.