Skip to content

cifs-utils mount.cifs fails if using kerberos auth #34638

@mlieberman85

Description

@mlieberman85

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions