Skip to content

POSIX SMB3.11 extensions unsupported with current Samba package?

I'm trying to get POSIX extensions working in a pure Arch environment.

On the server I've got the following in smb.conf:

[global]
server max protocol = SMB3_11
(...)

(seems to be default anyway)

When I try to mount a share on the client using

$ mount -t cifs //server/share /tmp/test -o vers=3.1.1,posix,iocharset=utf8

it fails and claims POSIX extensions are not supported by the server:

[ 2640.871114] CIFS VFS: Server does not support mounting with posix SMB3.11 extensions.
[ 2640.871117] CIFS VFS: cifs_mount failed w/return code = -95

This article mentions an option smb2 unix extensions = yes for the server but it isn't recognized. So does the Arch Samba package lack this feature or is it just not released yet?

2 points3 comments
Open on Reddit
About this post
Posted
Archived
Score
2 · 100% up
Kind
Text
ID
fx33rc

Author

15
posts
38
comments
0
media
View profile

6 comments

It doesn't work in Samba 4.11 (from extra) nor 4.12 (which is in testing). SMB 3.1.1 POSIX is still in experimental and you probably have to wait until Samba 4.18 and Linux 5.7 is in the repos.

1 points

Well, that explains a lot. Thanks!

Running NFSv4 with MAC filtering via iptables as pseudo-authentication for now.

1 points

To add, I was then browsing around an hour on git.samba.org and lists.samba.org and found some interesting posts. Linus Torvalds submitted some patches to be released in 5.7-rc1 and the french Samba developer stated they would complete POSIX support in later Samba releases.

1 points

I know this thread is a little old, but the Samba team has made some progress here. Basic posix extensions are now in Samba master (which will be 4.18). It currently only is available if you build with developer mode. The global parameter to enable them is `smb3 unix extensions = yes`.

Also IIUC, the smb3 posix extensions are fully implemented in the cifs kernel module now.

1 points

I'm so glad I stumbled over your comment! Do you know where one should look to see what version will/has enable(d) posix extensions? I am having a hard time searching for how this progress is going..

I am currently running 4.19.2 with "smb3 unix extensions = yes" which testparam does not complain about, but still: "Server does not support mounting with posix SMB3.11 extensions".. Does it need to be compiled with developer mode? I assume they are not stable yet then?

1 points

Yes, you still need to build in developer mode. We're still actively working on these. You can ask on the Samba technical mailing list if you want to know more about when we'll release.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.