Permissions Issue

Status
Not open for further replies.

Eric Hamby

Dabbler
Joined
Nov 9, 2014
Messages
12
I have 13 imported volumes. All files show up and share fine until i go delete a file. and i get an error

0x80070032: The request is not supported.

I have tried guest login and root login with same result. Using W/7 to connect to server.

I also tried to change permissions of the drive but no settings will save. They just reset each time the window closes.
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,554
I have 13 imported volumes. All files show up and share fine until i go delete a file. and i get an error

0x80070032: The request is not supported.

I have tried guest login and root login with same result. Using W/7 to connect to server.

I also tried to change permissions of the drive but no settings will save. They just reset each time the window closes.
Version of FreeNAS?
Protocol?
FreeNAS hardware specs?
Error logs from FreeNAS server?
 

Eric Hamby

Dabbler
Joined
Nov 9, 2014
Messages
12
Version of FreeNAS: 9.2
Protocol: Windows Share NTFS
FreeNAS hardware specs: In my sig?
Error logs from FreeNAS server: Not sure how to get these.
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,554
Use putty / ssh to log in to your server. Type "cat /var/log/messages" and "cat /var/log/samba4/log.smbd" post interesting output here in code brackets or on pastbin.

Also post the output of "cat /usr/local/etc/smb4.conf" and "zpool status"
 
Last edited:

Eric Hamby

Dabbler
Joined
Nov 9, 2014
Messages
12
Trying to log in using putty but getting connection refused errors. :/
 

Eric Hamby

Dabbler
Joined
Nov 9, 2014
Messages
12
cat /var/log/messages
Code:
Nov 14 03:16:21 freenas smbd[14888]: [2014/11/14 03:16:21.801533,  0] ../source3/lib/util_sock.c:941(matchname)
Nov 14 03:16:21 freenas smbd[14888]:   matchname: host name/name mismatch: 192.168.0.4 != (NULL)
Nov 14 03:16:21 freenas smbd[14888]: [2014/11/14 03:16:21.801582,  0] ../source3/lib/util_sock.c:1199(get_remote_hostname)
Nov 14 03:16:21 freenas smbd[14888]:   matchname failed on 192.168.0.4
Nov 14 03:16:51 freenas smbd[14890]: [2014/11/14 03:16:51.835126,  0] ../source3/lib/util_sock.c:941(matchname)
Nov 14 03:16:51 freenas smbd[14890]:   matchname: host name/name mismatch: 192.168.0.4 != (NULL)
Nov 14 03:16:51 freenas smbd[14890]: [2014/11/14 03:16:51.835172,  0] ../source3/lib/util_sock.c:1199(get_remote_hostname)
Nov 14 03:16:51 freenas smbd[14890]:   matchname failed on 192.168.0.4


cat /var/log/samba4/log.smbd
Code:
[2014/11/14 03:18:51.857552,  1] ../source3/param/loadparm.c:3179(lp_do_parameter)
  WARNING: The "null passwords" option is deprecated
[2014/11/14 03:19:02.691799,  1] ../source3/smbd/process.c:487(receive_smb_talloc)
  receive_smb_raw_talloc failed for client ipv4:192.168.0.4:62964 read error = NT_STATUS_CONNECTION_RESET.
[2014/11/14 03:19:21.827774,  0] ../source3/lib/util_sock.c:941(matchname)
  matchname: host name/name mismatch: 192.168.0.4 != (NULL)
[2014/11/14 03:19:21.827819,  0] ../source3/lib/util_sock.c:1199(get_remote_hostname)
  matchname failed on 192.168.0.4
[2014/11/14 03:19:21.858103,  1] ../source3/param/loadparm.c:3179(lp_do_parameter)
  WARNING: The "null passwords" option is deprecated


cat /usr/local/etc/smb4.conf
Code:
[global]
    server max protocol = SMB2
    interfaces = 127.0.0.1 192.168.0.3
    bind interfaces only = yes
    encrypt passwords = yes
    dns proxy = no
    strict locking = no
    oplocks = yes
    deadtime = 15
    max log size = 51200
    max open files = 11070
    load printers = no
    printing = bsd
    printcap name = /dev/null
    disable spoolss = yes
    getwd cache = yes
    guest account = nobody
    map to guest = Bad User
    obey pam restrictions = Yes
    directory name cache size = 0
    kernel change notify = no
    panic action = /usr/local/libexec/samba/samba-backtrace
    server string = FreeNAS Server
    ea support = yes
    store dos attributes = yes
    hostname lookups = yes
    time server = yes
    null passwords = yes
    acl allow execute always = true
    local master = yes
    idmap config *:backend = tdb
    idmap config *:range = 90000000-100000000
    server role = standalone
    netbios name = D8000-PC
    workgroup = WORKGROUP
    security = user
    pid directory = /var/run/samba
    smb passwd file = /var/etc/private/smbpasswd
    private dir = /var/etc/private
    create mask = 0666
    directory mask = 0777
    client ntlmv2 auth = yes
    dos charset = CP437
    unix charset = UTF-8
    log level = 1


[Anubis]
    path = /mnt/Anubis
    printable = no
    veto files = /.snap/.windows/.zfs/
    writeable = yes
    browseable = yes
    recycle:repository = .recycle/%U
    recycle:keeptree = yes
    recycle:versions = yes
    recycle:touch = yes
    recycle:directory_mode = 0777
    recycle:subdir_mode = 0700
    vfs objects = streams_xattr aio_pthread
    hide dot files = no
    guest ok = no
    nfs4:mode = special
    nfs4:acedup = merge
    nfs4:chown = yes
    zfsacl:acesort = dontcare
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,554
Logs are inconclusive. Do the following:
0) set server max protocol to smb3
1) disable hostname lookups in your CIFS config

Post output of zpool list
 

Eric Hamby

Dabbler
Joined
Nov 9, 2014
Messages
12
I hate to ask again but... zpool list?
 

Eric Hamby

Dabbler
Joined
Nov 9, 2014
Messages
12
I did "/sbin# zpool list" "y" and got permission denied. if that's what your speaking of.
 

Eric Hamby

Dabbler
Joined
Nov 9, 2014
Messages
12
Said no pools available...
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
You said these are imported volumes. What format are the disks? If they're NTFS disks, IIRC FreeNAS only supports read-only access to NTFS disks. That would be your problem.
 
Status
Not open for further replies.
Top