Hi all,
I made this work 2 days ago but then I had to reinstall and create a new 6 TB ZFS mirror for my NAS backup. But Samba refuses to let me connect to the share (stupid I did not take notes on what I did previously). FreeBSD 10.1.
I can see shares on all other machines and they work fine, I can create a public share on my machine and access it but I want one user to access the backup share which in on the mirrored drives (\backups). That user will responsible for the backups from the NAS drive, but it refused to let me in.
Here is my smb.conf, really simple:
I added the user daria (who is a FreeBSD user and also a member of the "wheel" group) via pdbedit and all looks fine
Here is the directory which 2x 3TB ZFS simple mirror.
and the backup directory is inside
I tried chown for daria, and other stuff nothing seems to work (but it did 2 days ago ).
Using smbclient here is the output (all on the same workgroup):
Any help is much appreciated...
I made this work 2 days ago but then I had to reinstall and create a new 6 TB ZFS mirror for my NAS backup. But Samba refuses to let me connect to the share (stupid I did not take notes on what I did previously). FreeBSD 10.1.
I can see shares on all other machines and they work fine, I can create a public share on my machine and access it but I want one user to access the backup share which in on the mirrored drives (\backups). That user will responsible for the backups from the NAS drive, but it refused to let me in.
Here is my smb.conf, really simple:
Code:
********************************************************
# Global parameters
[global]
workgroup = MOONBASE
realm = MOONBASE
netbios name = MOONWALKER
server role = standalone server
passdb backend = samba_dsdb
dns forwarder = 192.168.1.1
nsupdate command = /usr/local/bin/samba_nsupdate -g
security = user
[wdbackups]
write list = daria
path = /backups/mycloudbackups
writeable = yes
valid users = daria,@daria
create mode = 775
comment = WDMycloud backups
directory mode = 775
force group = daria
[Public]
comment = Public
path = /Public
public = yes
guest ok = yes
********************************************************
Here is the directory which 2x 3TB ZFS simple mirror.
Code:
drwxr-x--x 3 root wheel uarch 3 Mar 17 22:32 backups/
Code:
drwxr-x--x 3 root wheel uarch 3 Mar 17 22:32 ./
drwxr-xr-x 20 root wheel uarch 27 Mar 17 21:41 ../
drwxrwx--- 2 root daria uarch 2 Mar 17 22:32 mycloudbackups/
Using smbclient here is the output (all on the same workgroup):
Code:
$ smbclient \\\\moonwalker\\wdbackups -U daria
Enter daria's password:
session setup failed: NT_STATUS_UNSUCCESSFUL
Last edited by a moderator: