cifs.upcall: use pid value from kernel to determine KRB5CCNAME to use
commit416f92e3ae739d6ba6593c8e9c43192e4671fc77
authorJeff Layton <jlayton@redhat.com>
Wed, 14 Oct 2009 14:42:28 +0000 (14 10:42 -0400)
committerKarolin Seeger <kseeger@samba.org>
Fri, 16 Oct 2009 13:02:51 +0000 (16 15:02 +0200)
treed45b77ab17be9f0790f7882caccc4c78d166749e
parent85ee2971db36455d908066eae2630925081792c9
cifs.upcall: use pid value from kernel to determine KRB5CCNAME to use

If the kernel sends the upcall a pid of the requesting process, we can
open that process' /proc/<pid>/environ file and scrape the KRB5CCNAME
value out of it.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
source3/client/cifs.upcall.c