diff options
author | Jeff Layton <jlayton@redhat.com> | 2012-01-17 21:09:15 (GMT) |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2012-01-18 04:40:28 (GMT) |
commit | 8a8798a5ff90977d6459ce1d657cf8fe13a51e97 (patch) | |
tree | 42708337792bc20295faed2c78f4dca89e009ffa /scripts/ksymoops | |
parent | 04febabcf55beeffb8794a0d8c539e571bd2ae29 (diff) | |
download | linux-8a8798a5ff90977d6459ce1d657cf8fe13a51e97.tar.xz |
cifs: fetch credentials out of keyring for non-krb5 auth multiuser mounts
Fix up multiuser mounts to set the secType and set the username and
password from the key payload in the vol info for non-krb5 auth types.
Look for a key of type "secret" with a description of
"cifs:a:<server address>" or "cifs:d:<domainname>". If that's found,
then scrape the username and password out of the key payload and use
that to create a new user session.
Finally, don't have the code enforce krb5 auth on multiuser mounts,
but do require a kernel with keys support.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'scripts/ksymoops')
0 files changed, 0 insertions, 0 deletions