I want to share a folder from 14.04.01 to a windows network. Not a problem so far.
I want to share my folders video
and pictures
for everyone. public but read only.
I want to share a folder admin
, hidden + secured with authentication and rw.
This is my attempt to solve my problem.
[global]
workgroup = XXX
follow symlinks = yes
wide links = on
unix extensions = no
guest account = foo
security = user
map to guest = Bad Password
public = yes
writable = no
interfaces = lo eth0
bind interfaces only = true
[Admin]
path = /foo/bar/my_share
guest ok = no
public = no
writable = yes
browseable = no
[Video]
path = /foo/bar/my_videos
[Picutres]
path = /foo/bar/my_pictures
This is working for the public r/o folders.
The admin folder is not accesible from windows computers when the windows user name != the allowed smb account.
Means:
Windows Account: Bar; SMB Account: Bar => working / no auth at all
Windows Account: Foo; SMB Account: Bar => not working at all
So my question is: How to configure SMB to allow user/pass authentication from windows without an AD?
Note: I'm using the server version - I only have SSH access to configure samba