[linux-cifs-client] Re: DFS fails to follow remote links

Steve French smfrench at gmail.com
Tue Nov 18 20:36:05 GMT 2008


>Trying to get cifs DFS working...
>If I try ls again, I get the following oops:
>
> Oct 22 16:37:34 linux-kocf kernel: BUG: unable to handle kernel NULL pointer dereference at 0000000000000004
> Oct 22 16:37:34 linux-kocf kernel: IP: [<ffffffff803206a4>] call_sbin_request_key+0x16d/0x28d

Isn't the oops addressed by the following fix:

commit 1f8f5cf6e4f038552a3e47b66085452c08556d71
Author: David Howells <dhowells at redhat.com>
Date:   Mon Nov 10 19:00:05 2008 +0000

    KEYS: Make request key instantiate the per-user keyrings

    Make request_key() instantiate the per-user keyrings so that it doesn't oops
    if it needs to get hold of the user session keyring because there isn't a
    session keyring in place.

    Signed-off-by: David Howells <dhowells at redhat.com>
    Tested-by: Steve French <smfrench at gmail.com>
    Tested-by: Rutger Nijlunsing <rutger.nijlunsing at gmail.com>
    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>

We had reported it months ago and the patch which fixes the
security/keys subsystem has been floating around for a while.  This is
one that might be good to backport ...

Debugging cifs.spnego is a little tricky since you have to log to a
different file or fix the initialization of the samba logging in order
to debug through the dynamically instantiated cifs.upcall executable.
-- 
Thanks,

Steve


More information about the linux-cifs-client mailing list