pysmbd.c does not properly set up a connection_struct. For example it does not call the CONNECT method, which many modules depend upon
An attempt at this is in my vfs-connect branch. However it is harder than it looks (due to 'samba-tool ntacl' not operating on a specific share). Given that the AD support only supports posix ACLs (yes, a test for that is hard-coded in provision) I suggest removing this as a blocker for 4.0, in the interests of making a release.
(In reply to comment #1) > An attempt at this is in my vfs-connect branch. > > However it is harder than it looks (due to 'samba-tool ntacl' not operating on > a specific share). > > Given that the AD support only supports posix ACLs (yes, a test for that is > hard-coded in provision) I suggest removing this as a blocker for 4.0, in the > interests of making a release. Volker, do you agree on removing this as a blocker for 4.0?
(In reply to comment #2) > Volker, do you agree on removing this as a blocker for 4.0? Difficult. If we see ourselves as a Posix ACL only DC, then sure, it will work. But the pysmbd.c code is just wrong not taking a share name as an argument. If we leave that around more python code might end up using that flawed API, making a fix later on harder. So, if our goal is to release S4 as quickly as possible, even with the cost to take more technical debt (https://en.wikipedia.org/wiki/Technical_debt), then this is not a blocker anymore. In the end, I will not block a release over this.
Removing the release blocker by the consent in comment #3.
Reopening the bug, I guess the point volker made are valid I just don't think that this code will be really used outside so we still have an opportunity for 4.1 to make it right.
When a specific share is specified, this connection struct is now set up.