Unable to see or access CIFS shares

Status
Not open for further replies.
Joined
Apr 23, 2014
Messages
6
After following many guides, I am still unable to see or access my CIFS shares from my Windows 8.1 laptop. Though my laptop is on my work's domain, accessing the shares via \\192.168.0.8\tim or \\freenas does not work.

Build: FreeNAS-9.2.1.4-RELEASE-x64 (a688538)
Storage: UFS - UNIX permissions
Folder: drwxr-xr-x 6 tim tim 512 Apr 21 14:11 tim/

Capture.PNG
Capture1.PNG
Capture2.PNG


Is CIFS broken in 9.2.1.4 or am I missing something?
Any/all ideas appreciated.
 
D

dlavigne

Guest
Don't use Unix permissions. If that doesn't fix it, try upgrading to 9.2.1.5.
 
Joined
Apr 23, 2014
Messages
6
Thanks for your suggestion, unfortunately nether of these solutions have helped.
Previously I was able to stop the CIFS service but now I get
Code:
The service could not be stopped.

Are there any logs I can look for errors in?
 

glotzer

Dabbler
Joined
Mar 3, 2014
Messages
19
got exactly the same problem here, it worked until i changed some premissions, now it doesn't work even if i change them back. As well as i can not restart the service too.

edit:

I deleted the pool and removed all shares. then i recreated the pool and created a single share.
Everything worked fine, until i removed the execution rights. As long as group and owner can "execute" on the dataset, everything works fine (at least here). I still can not stop the service.
 
J

John Hixson

Guest
Can those of you who are unable to access your cifs shares, please attach your smb4.conf files and for each share you have, do this from the command line on the share path: getfacl /path/to/share and post the results in this thread?
 
Joined
Apr 23, 2014
Messages
6
The work around enables CIFS to be stopped but I still cant access my shares.
Code:
[root@freenas] ~# getfacl /mnt/data0/tim/
# file: /mnt/data0/tim/
# owner: tim
# group: tim
            owner@:rwxpDdaARWcCos:fd----:allow
            group@:rwxpDdaARWcCos:fd----:allow
        everyone@:r-x-D-a-R-c---:fd----:allow
[root@freenas] ~# getfacl /mnt/data0/films/
# file: /mnt/data0/films/
# owner: root
# group: wheel
            owner@:rwxpDdaARWcCos:fd----:allow
            group@:rwxpDdaARWcCos:fd----:allow
         everyone@:r-x-D-a-R-c---:fd----:allow
[root@freenas] ~# getfacl /mnt/data0/torrents
# file: /mnt/data0/torrents
# owner: root
# group: transmission
            owner@:rwxpDdaARWcCos:fd----:allow
            group@:rwxpDdaARWcCos:fd----:allow
         everyone@:r-x-D-a-R-c---:fd----:allow
[root@freenas] ~# getfacl /mnt/data1/tv_shows
# file: /mnt/data1/tv_shows
# owner: root
# group: wheel
            owner@:rwxpDdaARWcCos:fd----:allow
            group@:rwxpDdaARWcCos:fd----:allow
         everyone@:r-x-D-a-R-c---:fd----:allow
 

Attachments

  • smb4.conf.txt
    3 KB · Views: 302

Engineerpeter

Dabbler
Joined
Apr 25, 2014
Messages
22
@timblackwell Did you get this sorted??
I'm having exactly the same problems. Have spent most of yesterday trying to get this to work! the only access I can get to work is FTP!
 
Joined
Apr 23, 2014
Messages
6
I am afraid I was not able to find a solution.
I have a linux vm on my windows computer, so have resorted to access the files using afp from the vm. (Already had afp set up for apple computers).

If I have any breakthroughs, I'll post here.
If you find a solution let me know.
 

clincha

Dabbler
Joined
May 10, 2014
Messages
15
I am having this problem too. Exactly the same. It let's me turn the service on and off with the workaround but cannot access my shares.
 

hidden72

Dabbler
Joined
Aug 8, 2011
Messages
22
Also running 9.2.1.5 and unable to disable CIFS. The fixup.sh script helped being able to turn off the CIFS service. I was unable to start the service again, though.

For me, my System/Settings/Advanced "System dataset pool" was set to "tank2" but the link to /var/log was stale/pointed to the wrong pool. Once I got that fixed, I was able to re-start the CIFS service and things are working properly now.
 

clincha

Dabbler
Joined
May 10, 2014
Messages
15
Also running 9.2.1.5 and unable to disable CIFS. The fixup.sh script helped being able to turn off the CIFS service. I was unable to start the service again, though.

For me, my System/Settings/Advanced "System dataset pool" was set to "tank2" but the link to /var/log was stale/pointed to the wrong pool. Once I got that fixed, I was able to re-start the CIFS service and things are working properly now.


I tried to change to a different volume and restart and it didn't work for me. Thanks though.
 

clincha

Dabbler
Joined
May 10, 2014
Messages
15
Okay, I have the folders now. Maybe I had a different problem, but what I did was...

-Changed the name of the server in Network/Hostname to Server.
-Rebooted the device
-Refreshed my computer till it found the new name
-Done.

Sorry if this isn't the real problem, haven't fiddled with NAS' before.

Thanks for all the help guys.

clincha
 
Status
Not open for further replies.
Top