I hate to make another Samba permission related thread, but this has been driving me insane for HOURS. Can't sleep....
Public works fine on my WIndows 8.1 machine. Cannot get private to work correctly. Windows just keeps saying it's not accessible, you might not have permission to access this network resource yada yada. Right after I put in my user:pass.
I've looked EVERYWHERE for similar cases and help tracking down the issue. Total overload. There is just way too much information with way too many ways of diagnosing. MAN pages are great when you need something specific, but 50 pages of parameters that you don't need is overwhelming.
Lets start with this:
root@NAS-OMV:/media/95cc7417-ca5c-4041-85bc-5d67e76f0da8# ls -al
total 40
drwxr-xr-x 6 root users 4096 Aug 15 10:24 .
drwxr-xr-x 7 root root 4096 Aug 15 11:36 ..
drwxrwsr-x+ 7 nobody users 4096 Aug 15 10:25 cloud
drwxr-xr-x 2 root root 16384 Aug 14 20:53 lost+found
-rwxr-xr-x 1 root root 412 Aug 14 22:44 mount.json
drwxr-sr-x 3 openmediavault openmediavault 4096 Aug 14 22:44 owncloud
drwxr-xr-x 2 root root 4096 Aug 14 22:57 tmp
"cloud" is the one I'm trying to share. Works fine if I set it to public.
smb.conf:
#======================= Global Settings =======================
[global]
workgroup = kmcollier
server string = %h server
include = /etc/samba/dhcp.conf
dns proxy = no
log level = 2
syslog = 2
log file = /var/log/samba/log.%m
max log size = 1000
syslog only = yes
panic action = /usr/share/samba/panic-action %d
encrypt passwords = true
passdb backend = tdbsam
obey pam restrictions = yes
unix password sync = no
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
pam password change = yes
socket options = TCP_NODELAY IPTOS_LOWDELAY
guest account = nobody
load printers = no
disable spoolss = yes
printing = bsd
printcap name = /dev/null
unix extensions = yes
wide links = no
create mask = 0777
directory mask = 0777
map to guest = Bad User
use sendfile = yes
aio read size = 16384
aio write size = 16384
null passwords = no
local master = yes
time server = no
wins support = yes
domain master = yes
#======================= Share Definitions =======================
[cloud]
path = /media/95cc7417-ca5c-4041-85bc-5d67e76f0da8//cloud
guest ok = no
read only = no
browseable = yes
inherit acls = yes
inherit permissions = no
ea support = no
store dos attributes = no
printable = no
create mask = 0755
force create mode = 0644
directory mask = 0755
force directory mode = 0755
hide dot files = yes
valid users = "klay","megan"
invalid users =
read list =
write list = "klay","megan"
Alles anzeigen
stat:
root@NAS-OMV:/media/95cc7417-ca5c-4041-85bc-5d67e76f0da8# stat cloud
File: `cloud'
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: 811h/2065d Inode: 46006273 Links: 7
Access: (2775/drwxrwsr-x) Uid: (65534/ nobody) Gid: ( 100/ users)
Access: 2014-08-15 22:29:13.864207246 -0700
Modify: 2014-08-15 10:25:31.907985486 -0700
Change: 2014-08-15 22:46:17.632181188 -0700
Now excuse me while I take a break with a bottle of Jack Daniels and cry my frustration away