[PATCH 0/5] cifs.upcall: add keytab support for unattended mounts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patchset is based on one originally proposed by Igor Mammedov back
in 2008. For some reason (maybe my fault?) his patch was never committed
and cifs.upcall has been unable to use keytabs for mounting since then.

The first few patches in the series clean up the key description parser
and some of the other code. The last patch adds the actual keytab
support. For now, the code is only able to use the systemwide default
keytab. Eventually, we could extend that to point to other keytabs, but
we need to think about the right way to pass that location to the upcall
program.

Also, I've only tested this against MIT kerberos. If Heimdal or other
krb5 implementations need special casing, I'd appreciate review that
points that out.

Lightly tested on my own test rig and it seems to work correctly.

Jeff Layton (5):
  cifs.upcall: consolidate find_krb5_cc calls
  cifs.upcall: clean up key description decoding routine
  cifs.upcall: save off username field from key description
  cifs.upcall: debug logging for the key description parser
  cifs.upcall: add keytab support for unattended mounts

 cifs.upcall.c |  161 ++++++++++++++++++++++++++++++++++++++++++++++----------
 1 files changed, 132 insertions(+), 29 deletions(-)

-- 
1.7.3.4

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux