09-23-2016 06:47 PM
Hello, I have Alfresco Cumminity 201605 installed. Kerberos auth to AD. I am trying to access it via CIFS. It's on a CentOS 7 install on a system with a hostname of vm604. The domain has been changed, but lets assume it's domain.com.
DNS is setup for a CName so that alfrescotest and alfrescotest.domain.com point to vm604.domain.com and vm604.domain.com is an A records to the IP address.
From the browser, all the domain names work fine.
It's when I try to access it over CIFS.
\\vm604\ works fine
\\vm406.domain.com\ works fine.
\\alfrescotest.domain.com\ works fine.
\\alfrescotest\ fails with error 0.80070002, The system cannot find the file specified.
A packet capture shows an "NetShareEnumAll response, Error; WERR_BADFILE packet sent from Alfresco.
I have the below settings in the alfresco-global.properties file.
### CIFS/SMB Server Configuration ###
cifs.enabled=true
cifs.serverName="alfrescotest"
cifs.hostannounce=true
cifs.domain=DOMAIN.COM
cifs.pseudoFiles.enabled=false
cifs.pseudoFiles.explorerURL.enabled=false
cifs.pseudoFiles.shareURL.enabled=false
Any idea?
10-03-2016 12:14 PM
Here are some ideas:
1. Are you running as a non-root user (like "alfresco")? If so, that user cannot bind to the default CIFS port because it is privileged. If this is happening you should see an error fairly early in the log. To fix this you can use a port forwarding rule to map the CIFS port to a higher, non-privileged port.
2. Do an smbclient --list to see if you can see the SMB share Alfresco is exposing.
3. Check to see if Alfresco is listening on the CIFS/SMB ports
4. You should be able to mount a local drive to Alfresco via CIFS/SMB from the command line.
5. Make sure the firewall is allowing inbound connections to the CIFS/SMB port
10-04-2016 04:29 PM
I see that your configuration has double quotes in cifs.serverName value (cifs.serverName="alfrescotest"). Has it been on server properties file? If yes please try to remove it
10-04-2016 06:57 PM
CIFS works great when I use the full hostname and domain. alfrescotest.domain.com So it's not a firewall or port issue.
I removed the quotes, but it didn't fix the issue. Good eye tho.
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.