tmueko
Explorer
- Joined
- Jun 5, 2012
- Messages
- 82
I migrated from core to scale.
SMB has no aux-parameter.
Files are created 700:
found error in log.smbd:
I found thas sid in # strings /var/run/samba-lock/gencache.tdb | head
where "MUENAS" is the name od the truenas-server
when I create a Folder, gid changes:
I tested with zfs aclmode=restricted and aclmode=passthrough
Any Idea?
SMB has no aux-parameter.
Files are created 700:
found error in log.smbd:
Code:
[2022/11/15 11:18:12.338406, 1] ../../source3/modules/nfs4_acls.c:846(nfs4_acl_add_sec_ace) nfs4_acl_add_sec_ace: Could not convert S-1-5-21-3113428329-1446845165-1804209226-513 to uid or gid.
I found thas sid in # strings /var/run/samba-lock/gencache.tdb | head
Code:
TDB file TDB file &NAME2SID/MUENAS\NONE K[sc S-1-5-21-3113428329-1446845165-1804209226-513 &SID2NAME/S-1-5-21-3113428329-1446845165-1804209226-513 K[sc MUENAS None
where "MUENAS" is the name od the truenas-server
Code:
# midclt call filesystem.getacl /mnt/data/freigaben/Mueko {"acl": [{"tag": "owner@", "id": -1, "perms": {"BASIC": "MODIFY"}, "flags": {"BASIC": "INHERIT"}, "type": "ALLOW"}, {"tag": "group@", "id": -1, "perms": {"BASIC": "MODIFY"}, "flags": {"BASIC": "INHERIT"}, "type": "ALLOW"}, {"tag": "GROUP", "id": 983, "perms": {"BASIC": "MODIFY"}, "flags": {"BASIC": "INHERIT"}, "type": "ALLOW"}, {"tag": "everyone@", "id": -1, "perms": {"READ_DATA": false, "WRITE_DATA": false, "EXECUTE": false, "APPEND_DATA": false, "DELETE_CHILD": false, "DELETE": false, "READ_ATTRIBUTES": false, "WRITE_ATTRIBUTES": false, "READ_NAMED_ATTRS": false, "WRITE_NAMED_ATTRS": false, "READ_ACL": false, "WRITE_ACL": false, "WRITE_OWNER": false, "SYNCHRONIZE": false}, "flags": {"BASIC": "INHERIT"}, "type": "ALLOW"}], "trivial": false, "uid": 0, "gid": 1001, "path": "/mnt/data/freigaben/Mueko", "nfs41_flags": {"protected": false, "autoinherit": true}, "acltype": "NFS4"}
Code:
root@truenas[/var/log/samba4]# nfs4xdr_getfacl /mnt/data/freigaben/Mueko # File: /mnt/data/freigaben/Mueko # owner: 0 # group: 1001 # mode: 0o40770 # trivial_acl: false # ACL flags: auto-inherit: owner@:rwxpDdaARWc--s:fd-----:allow group@:rwxpDdaARWc--s:fd-----:allow group:983:rwxpDdaARWc--s:fd-----:allow everyone@:--------------:fd-----:allow
when I create a Folder, gid changes:
Code:
root@truenas[/var/log/samba4]# nfs4xdr_getfacl /mnt/data/freigaben/Mueko/Neuer\ Ordner # File: /mnt/data/freigaben/Mueko/Neuer Ordner # owner: 1001 # group: 1000 # mode: 0o40700 # trivial_acl: false # ACL flags: auto-inherit: owner@:rwxpDdaARWc--s:------I:allow owner@:rwxpDdaARWc--s:fdi---I:allow group@:rwxpDdaARWc--s:fdi---I:allow group:983:rwxpDdaARWc--s:fd----I:allow everyone@:-------------s:fd----I:allow
I tested with zfs aclmode=restricted and aclmode=passthrough
Any Idea?