Jeff Layton <[email protected]> wrote: > Many distros do not call into pam_keyinit to set up the session keyring > properly at login time. When cifscreds add is used in such a session, > the kernel will spawn a new session keyring in which to install the > credentials. That keyring will then go away once the cifscreds process > exits. > > Check for this situation by looking to see if the session and > user-session keyrings are the same. Throw a warning if so, and add some > verbiage to the cifscreds manpage that explains the issue. Also, if > the session keyring can't be queried for any reason, then cause the > program to error out. > > Cc: David Howells <[email protected]> > Reported-by: Milan Knížek <[email protected]> > Signed-off-by: Jeff Layton <[email protected]>
Acked-by: David Howells <[email protected]> -- To unsubscribe from this list: send the line "unsubscribe linux-cifs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
