-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
cifs-utils mount.cifs fails if using kerberos auth #34638
Copy link
Copy link
Open
Labels
2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.mdhttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md
Description
Issue description
mount.cifs with sec=krb5 fails with
mount.cifs -o sec=krb5,user=test,domain=TEST.EXAMPLE.COM //server.test.example.com/test /mount/ch
mount error(2): No such file or directory
Steps to reproduce
Have cifs-utils package installed and try to mount a share with krb5 or krb5i security option.
To temporarily fix it you can create a symlink from wherever request-key is to /sbin/request-key
Technical details
This is happening because the linux kernel hardcodes the request_key binary it uses to "/sbin/request-key":
See: https://github.com/torvalds/linux/blob/master/security/keys/request_key.c#L98
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.mdhttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md