Re: [PATCH 2/2] cifs.upcall: use pid value from kernel to determine KRB5CCNAME to use
Jeff Layton <[email protected]>
| Newsgroups | gmane.linux.file-systems.cifs,gmane.network.samba.internals |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 2009-07-08 at 09:00 -0400, Jeff Layton wrote: > 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 > environment variable out of it. Then use that credcache name when > getting the service ticket. > > Signed-off-by: Jeff Layton <[email protected]> Patch committed to samba master branch. -- Jeff Layton <[email protected]>