Freenas & CIFS

Man of Honour
Joined
13 Nov 2009
Posts
11,632
Location
Northampton
Im having a play around with freenas through virtualbox as I'm conteplating setting up a little NAS box.

Ive got it configured with 5 drives in 2 different Software RAID arrays perfectly fine.

These are then share through SMB/CIFS as follows

Code:
Path 	Name 	Comment 	Browseable 	
/mnt/Raid0/  	Raid0  	Raid0  	Yes 
/mnt/Raid5/  	Raid5  	Raid5  	Yes

This allows me to browse, create, delete and edit files fine with Authentication set to Anonymous, however when I configure it for local user, the Windows 7 machine doesnt prompt for a username or password
 
Is there a smb.conf file somewhere under freenas that you could post? It's hard to guess whats going wrong without the configuration file.

On my nas (which runs debian, not freenas as the gui did my head in) I've set, in the above config file:
security = share

[data]
path = /mnt/shared/
browseable = yes
writable = no
public = yes
guest ok = yes

The alternative is to create users on the nas for each windows account that I'd like to be able to access it, and possibly have the passwords match too. That's far too much maintenance so I've flagged it read only and let anyone on the small lan see it.

How complicated a system do you want to set up? The above works for me, as the only computers I want to access more directories (or /mnt/shared read-write) have ssh access, and so use sshfs.
 
Back
Top Bottom