From cdabee2bb45f51f49a0c7148fe5b761d1c13658c Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 16 Jul 2008 17:27:05 -0700 Subject: This patchset comprises a number of cleanups for the cifs upcall binary. The biggest change is that it renames it from cifs.spnego to cifs.upcall since the cifs.spnego name really isn't applicable anymore. It also fixes a segfault when the program is run without any args and adds a manpage. Comments and/or suggestions appreciated. This set should apply cleanly to the 3.3 test branch. Signed-off-by: Jeff Layton Jeremy. (This used to be commit c633f10d9e78327664e6bca51f66756bcf0505a6) --- docs-xml/manpages-3/cifs.upcall.8.xml | 115 ++++++++++++++++++++++++++++++++++ 1 file changed, 115 insertions(+) create mode 100644 docs-xml/manpages-3/cifs.upcall.8.xml (limited to 'docs-xml') diff --git a/docs-xml/manpages-3/cifs.upcall.8.xml b/docs-xml/manpages-3/cifs.upcall.8.xml new file mode 100644 index 0000000000..8df776bbd4 --- /dev/null +++ b/docs-xml/manpages-3/cifs.upcall.8.xml @@ -0,0 +1,115 @@ + + + + + + + cifs.upcall + 8 + Samba + System Administration tools + 3.2 + + + + cifs.upcall + Userspace upcall helper for Common Internet File System (CIFS) + + + + + cifs.upcall + -c + -v + keyid + + + + + + DESCRIPTION + + This tool is part of the samba + 7 suite. + +cifs.upcall is a userspace helper program for the linux CIFS client +filesystem. There are a number of activities that the kernel cannot easily +do itself. This program is a callout program that does these things for the +kernel and then returns the result. + +cifs.upcall is generally intended to be run when the kernel calls +request-key8 for a particular key type. While it +can be run directly from the command-line, it's not generally intended +to be run that way. + + + + OPTIONS + + + -c + When handling a kerberos upcall, use a service principal that starts with "cifs/". The default is to use the "host/" service principal. + + + + + -v + Print version number and exit. + + + + + + + CONFIGURATION FOR KEYCTL + cifs.upcall is designed to be called from the kernel via the request-key callout program. This requres that request-key be told where and how to call this program. The current cifs.upcall program handles two different key types: + + + + cifs.spnego + This keytype is for retrieving kerberos session keys + + + + + cifs.resolve + This key type is for resolving hostnames into IP addresses + + + + + To make this program useful for CIFS, you'll need to set up entries for them in request-key.conf5. Here's an example of an entry for each key type: + +#OPERATION TYPE D C PROGRAM ARG1 ARG2... +#========= ============= = = ========================================== +create cifs.spnego * * /usr/local/sbin/cifs.upcall -c %k +create cifs.resolver * * /usr/local/sbin/cifs.upcall %k + + +See request-key.conf5 for more info on each field. + + + + + SEE ALSO + + request-key.conf + 5, + mount.cifs + 8 + + + + + AUTHOR + + Igor Mammedov wrote the cifs.upcall program. + Jeff Layton authored this manpage. + The maintainer of the Linux CIFS VFS is Steve French. + The Linux + CIFS Mailing list is the preferred place to ask + questions regarding these programs. + + + + -- cgit