source: branches/samba-3.3.x/docs/manpages/cifs.upcall.8@ 368

Last change on this file since 368 was 368, checked in by Herwig Bauernfeind, 16 years ago

Update Samba 3.3 to 3.3.10 (docs)

File size: 3.7 KB
Line 
1'\" t
2.\" Title: cifs.upcall
3.\" Author: [see the "AUTHOR" section]
4.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
5.\" Date: 01/14/2010
6.\" Manual: System Administration tools
7.\" Source: Samba 3.3
8.\" Language: English
9.\"
10.TH "CIFS\&.UPCALL" "8" "01/14/2010" "Samba 3\&.3" "System Administration tools"
11.\" -----------------------------------------------------------------
12.\" * set default formatting
13.\" -----------------------------------------------------------------
14.\" disable hyphenation
15.nh
16.\" disable justification (adjust text to left margin only)
17.ad l
18.\" -----------------------------------------------------------------
19.\" * MAIN CONTENT STARTS HERE *
20.\" -----------------------------------------------------------------
21.SH "NAME"
22cifs.upcall \- Userspace upcall helper for Common Internet File System (CIFS)
23.SH "SYNOPSIS"
24.HP \w'\ 'u
25cifs\&.upcall [\-\-trust\-dns|\-t] [\-\-version|\-v] {keyid}
26.SH "DESCRIPTION"
27.PP
28This tool is part of the
29\fBsamba\fR(7)
30suite\&.
31.PP
32cifs\&.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\&.
33.PP
34cifs\&.upcall is generally intended to be run when the kernel calls request\-key(8)
35for a particular key type\&. While it can be run directly from the command\-line, it\'s not generally intended to be run that way\&.
36.SH "OPTIONS"
37.PP
38\-c
39.RS 4
40This option is deprecated and is currently ignored\&.
41.RE
42.PP
43\-\-trust\-dns|\-t
44.RS 4
45With krb5 upcalls, the name used as the host portion of the service principal defaults to the hostname portion of the UNC\&. This option allows the upcall program to reverse resolve the network address of the server in order to get the hostname\&.
46.sp
47This is less secure than not trusting DNS\&. When using this option, it\'s possible that an attacker could get control of DNS and trick the client into mounting a different server altogether\&. It\'s preferable to instead add server principals to the KDC for every possible hostname, but this option exists for cases where that isn\'t possible\&. The default is to not trust reverse hostname lookups in this fashion\&.
48.RE
49.PP
50\-\-version|\-v
51.RS 4
52Print version number and exit\&.
53.RE
54.SH "CONFIGURATION FOR KEYCTL"
55.PP
56cifs\&.upcall is designed to be called from the kernel via the request\-key callout program\&. This requires that request\-key be told where and how to call this program\&. The current cifs\&.upcall program handles two different key types:
57.PP
58cifs\&.spnego
59.RS 4
60This keytype is for retrieving kerberos session keys
61.RE
62.PP
63dns_resolver
64.RS 4
65This key type is for resolving hostnames into IP addresses
66.RE
67.PP
68To make this program useful for CIFS, you\'ll need to set up entries for them in request\-key\&.conf(5)\&. Here\'s an example of an entry for each key type:
69.sp
70.if n \{\
71.RS 4
72.\}
73.nf
74#OPERATION TYPE D C PROGRAM ARG1 ARG2\&.\&.\&.
75#========= ============= = = ================================
76create cifs\&.spnego * * /usr/local/sbin/cifs\&.upcall %k
77create dns_resolver * * /usr/local/sbin/cifs\&.upcall %k
78.fi
79.if n \{\
80.RE
81.\}
82.PP
83See
84\fBrequest-key.conf5\fR()
85for more info on each field\&.
86.SH "SEE ALSO"
87.PP
88
89\fBrequest-key.conf\fR(5),
90\fBmount.cifs\fR(8)
91.SH "AUTHOR"
92.PP
93Igor Mammedov wrote the cifs\&.upcall program\&.
94.PP
95Jeff Layton authored this manpage\&.
96.PP
97The maintainer of the Linux CIFS VFS is Steve French\&.
98.PP
99The
100Linux CIFS Mailing list
101is the preferred place to ask questions regarding these programs\&.
Note: See TracBrowser for help on using the repository browser.