Hello Andreas,Many thanks for the fast reply!I also had to set "client min protocol = NT1" and to start smbclient with "-m NT1", but it actually works exactly the way you said. I would never have found the solution without your kind help. Again, many thanks!!Maybe the fact that unix extensions are coupled to the protocol level should be mentioned in the samba documentation (man page of smb.conf). I did a fair amount of research on the net and could not find any hint about that.One last question: Is it possible to share files with correct file permissions under the current SMB3 protocol? I know the SMB protocol comes from the windows realm, but I think it is not completely unreasonable to use it to share files between linux boxes.Regards,Malte Kleemeier -------- Ursprüngliche Nachricht --------Von: Andreas Hasenack <[email protected]> Datum: 12.06.20 14:15 (GMT+01:00) An: [email protected] Betreff: [Bug 1883234] Re: unix extensions not working? Unix extensions only work for the SMB1 protocol, which has beendeprecated and is no longer used by default. Development is ongoing tosupport them in SMB3.You can re-enable SMB1 by adding this to [global] in the server'ssmb.conf:server min protocol = NT1Can you please try again with the above setting and report back?** Changed in: samba (Ubuntu) Status: New => Incomplete-- You received this bug notification because you are subscribed to the bugreport.https://bugs.launchpad.net/bugs/1883234Title: unix extensions not working?Status in samba package in Ubuntu: IncompleteBug 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.6+dfsg-0ubuntu1.2To manage notifications about this bug go to:https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1883234/+subscriptions
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1883234 Title: unix extensions not working? To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1883234/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
