cancel
Showing results for 
Search instead for 
Did you mean: 

CIFS on Windows 7 doesn't work

leonard
Champ in-the-making
Champ in-the-making
Hi Guys
recently i installed alfresco on my windows system and i installed alfresco version  4.x
and i got some issue i try to find the best answer on the web but it doesn't work out too
the case is when i tried to map network using cifs it always asking username and password
authentication but return failed

i've tried on my ftp it works but when i try cifs
it didn't work

here is my alfresco-global.properties
### CIFS CONFIG ###
  cifs.enabled=true
  cifs.domain=LEONARDOGINTING
  cifs.serverName=alfresco
  cifs.hostannounce=true
  cifs.sessionTimeout=500
  cifs.broadcast=255.255.255.255
cifs.bindto=
cifs.ipv6.enabled=false
cifs.tcpipSMB.port=445
cifs.netBIOSSMB.namePort=135
cifs.netBIOSSMB.datagramPort=138
cifs.netBIOSSMB.sessionPort=139
cifs.WINS.autoDetectEnabled=true



file-server.properties
### CIFS Server Configuration ###
cifs.enabled=true
cifs.serverName=${alfresco}A
cifs.domain=
cifs.broadcast=255.255.255.255
# An empty value indicates bind to all available network adapters
cifs.bindto=
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
# Maximum virtual circuits per session
# Should only be changed when using Terminal Server clients
cifs.maximumVirtualCircuitsPerSession=16


Did i miss something?

because when i try to map using network drive
\\alfresco\Alfresco

it didn't work


thanks

any help appreciated

5 REPLIES 5

mrogers
Star Contributor
Star Contributor
Please note that Windows 7 is not a supported server platform.   It works but requires some kludges.    Howeverl all you should need to change in alfresco is "cifs.enabled"

Yes you missed that windows already has a cifs service of its own.    That's why you want cifs.serverName=alfrescoA   note the A at the end it is important.

You also need to force windows to use netbios.   I do that by putting a dummy entry in the "hosts" file.    You can also do it with firewall rules.

tearalong
Champ in-the-making
Champ in-the-making
Just to clarify what is meant by a "dummy entry" in the hosts file. it needs to be in the client computer.
I have an entry of 13.13.13.13 AlfrescoA in mine.

mrogers
Star Contributor
Star Contributor
Yes that's a dummy entry.

102020
Champ on-the-rise
Champ on-the-rise
I know I keep posting this everywhere, and seriously, an Alfresco MOD needs to sticky this to save on so many repeat posts.
http://forums.alfresco.com/forum/installation-upgrades-configuration-integration/installation-upgrad...

Gives full instructions, including CIFS for windows 7. We've been running stable on the above doc that I created for nearly a year.

mrogers
Star Contributor
Star Contributor
Can I repeat what bisana said.  It would be great if you could put your doc and knowledge into the wiki,  that's the place for it rather than forums.