unix extensions not working?
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I was trying to share home directories between two linux machines, so I set-up a samba server (using the default the smb.conf, just uncommenting things in the [homes] section, see attached smb.conf).
That worked nicely, except for one thing:
When mounting the shared home directory all files are marked as executable.
If is obviously due to the fact that unix permissions are not correctly send from server to client.
smbclient reports the following error:
smbclient //server/user
Enter WORKGROUP\users's password:
Try "help" to get a list of possible commands.
smb: \> stat testparm_v.log
Server doesn't support UNIX CIFS calls.
According to the samba docu support for unix permissions is controlled by "unix extensions" in the [global] section of smb.conf. If no value is supplied is is turned on by default. As can been been from the output of "testparm -v" ("unix extensions = Yes") that unix extensions are indeed enabled for my set-up.
So the expected behaviour is that file permissions are correctly exported from the server when mounting the homes share.
Maybe I misunderstood something (samba configuration is quite complex), but I think I found an error in the samba package. Any advice is welcome. Many thanks in advance!
Additional Information
1) Description: Ubuntu 20.04 LTS
Release: 20.04
2) samba:
Installed: 2:4.11.
Unix extensions only work for the SMB1 protocol, which has been deprecated and is no longer used by default. Development is ongoing to support them in SMB3.
You can re-enable SMB1 by adding this to [global] in the server's smb.conf:
server min protocol = NT1
Can you please try again with the above setting and report back?