Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CIFS improvements #20691

Merged
merged 3 commits into from
Dec 9, 2016
Merged

CIFS improvements #20691

merged 3 commits into from
Dec 9, 2016

Conversation

bjornfor
Copy link
Contributor

Motivation for this change

Kernel CIFS+DFS mounts are not working on NixOS. This branch started out with the intention of fully fixing it, but my priorities have changed and now I don't have concrete plans to continue working on it. But I think the current set of changes are good and I hope the NixOS community agrees (so we can merge it).

Things done
  • Tested using sandboxing
    (nix.useSandbox on NixOS,
    or option build-use-sandbox in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

Fixes this ./configure symptom:

  configure: WARNING: talloc.h not found, consider installing libtalloc-devel. Disabling cifs.upcall.

and is needed to (eventually) fix CIFS + DFS kernel mount on NixOS.
The plan is to fix mounting DFS shares on NixOS (for which some of these
options are needed), but I figured it might be a good idea to enable all
CONFIG_CIFS_* like Fedora 24 and Ubuntu 16.04 while at it. Ubuntu even
has CONFIG_CIFS_SMB311, but as Fedora do not, I left it out.

Mounting DFS shares still doesn't work; need to configure cifs.upcall
and /etc/request-key.conf. Until then, using GVFS as a workaround.
It was useful in tracking down CIFS + DFS issue, and it's apparently
enabled by default in two major distros.
@mention-bot
Copy link

@bjornfor, thanks for your PR! By analyzing the history of the files in this pull request, we identified @wkennington, @edolstra and @zohl to be potential reviewers.

@bjornfor
Copy link
Contributor Author

bjornfor commented Dec 2, 2016

I'll merge once I get to re-test this on top of latest master.

@vcunat
Copy link
Member

vcunat commented Dec 9, 2016

@bjornfor: ping?

@bjornfor
Copy link
Contributor Author

bjornfor commented Dec 9, 2016

I've been busy with other things. I don't mind if you merge if you don't want to wait for me.

@vcunat
Copy link
Member

vcunat commented Dec 9, 2016

I see two good reviews, so if some of you tested it, I don't think there's any reason to wait. I personally don't truly care; I was just passing tickets without any change for several days.

@dezgeg dezgeg merged commit 2077385 into NixOS:master Dec 9, 2016
@bjornfor bjornfor deleted the cifs-fixes branch December 10, 2016 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants