From: Jeff Layton Date: Tue, 17 Jan 2012 21:09:15 +0000 (-0500) Subject: cifs: fetch credentials out of keyring for non-krb5 auth multiuser mounts X-Git-Tag: v3.3-rc2~48^2~3^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a8798a5ff90977d6459ce1d657cf8fe13a51e97;p=pandora-kernel.git 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:" or "cifs:d:". 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 Signed-off-by: Steve French --- Reading git-diff-tree failed