1a9148abdSDoug Rabson.\" Copyright (c) 2008 Isilon Inc http://www.isilon.com/ 2a9148abdSDoug Rabson.\" Authors: Doug Rabson <dfr@rabson.org> 362486687SUlrich Spörlein.\" Developed with Red Inc: Alfred Perlstein <alfred@FreeBSD.org> 4a9148abdSDoug Rabson.\" 5a9148abdSDoug Rabson.\" Redistribution and use in source and binary forms, with or without 6a9148abdSDoug Rabson.\" modification, are permitted provided that the following conditions 7a9148abdSDoug Rabson.\" are met: 8a9148abdSDoug Rabson.\" 1. Redistributions of source code must retain the above copyright 9a9148abdSDoug Rabson.\" notice, this list of conditions and the following disclaimer. 10a9148abdSDoug Rabson.\" 2. Redistributions in binary form must reproduce the above copyright 11a9148abdSDoug Rabson.\" notice, this list of conditions and the following disclaimer in the 12a9148abdSDoug Rabson.\" documentation and/or other materials provided with the distribution. 13a9148abdSDoug Rabson.\" 14a9148abdSDoug Rabson.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15a9148abdSDoug Rabson.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16a9148abdSDoug Rabson.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17a9148abdSDoug Rabson.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18a9148abdSDoug Rabson.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19a9148abdSDoug Rabson.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20a9148abdSDoug Rabson.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21a9148abdSDoug Rabson.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22a9148abdSDoug Rabson.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23a9148abdSDoug Rabson.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24a9148abdSDoug Rabson.\" SUCH DAMAGE. 25a9148abdSDoug Rabson.\" 26*b74aaa1aSGraham Percival.Dd April 10, 2020 27a9148abdSDoug Rabson.Dt GSSD 8 28a9148abdSDoug Rabson.Os 29a9148abdSDoug Rabson.Sh NAME 30a9148abdSDoug Rabson.Nm gssd 31a9148abdSDoug Rabson.Nd "Generic Security Services Daemon" 32a9148abdSDoug Rabson.Sh SYNOPSIS 33a9148abdSDoug Rabson.Nm 34a9148abdSDoug Rabson.Op Fl d 35b91cd7daSRick Macklem.Op Fl h 36d15f63f2SRick Macklem.Op Fl v 3709e3247eSRick Macklem.Op Fl s Ar dir-list 3809e3247eSRick Macklem.Op Fl c Ar file-substring 3909e3247eSRick Macklem.Op Fl r Ar preferred-realm 40a9148abdSDoug Rabson.Sh DESCRIPTION 41a9148abdSDoug RabsonThe 42a9148abdSDoug Rabson.Nm 43a9148abdSDoug Rabsonprogram provides support for the kernel GSS-API implementation. 44a9148abdSDoug Rabson.Pp 45a9148abdSDoug RabsonThe options are as follows: 46e1656a88SJoel Dahl.Bl -tag -width indent 47a9148abdSDoug Rabson.It Fl d 48a9148abdSDoug RabsonRun in debug mode. 49a9148abdSDoug RabsonIn this mode, 50a9148abdSDoug Rabson.Nm 51831cbaf1SGiorgos Keramidaswill not fork when it starts. 52b91cd7daSRick Macklem.It Fl h 539ed4e72aSRick MacklemEnable support for host-based initiator credentials. 54b91cd7daSRick MacklemThis permits a kerberized NFS mount to use a service principal in 55b91cd7daSRick Macklemthe default Kerberos 5 keytab file for access. 56b91cd7daSRick MacklemSuch access is enabled via the 57b91cd7daSRick Macklemgssname 58b91cd7daSRick Macklemoption for the 59b91cd7daSRick Macklem.Xr mount_nfs 8 60b91cd7daSRick Macklemcommand. 61d15f63f2SRick Macklem.It Fl v 62d15f63f2SRick MacklemRun in verbose mode. 63d15f63f2SRick MacklemIn this mode, 64d15f63f2SRick Macklem.Nm 65d15f63f2SRick Macklemwill log activity messages to syslog using LOG_INFO | LOG_DAEMON or to 66d15f63f2SRick Macklemstderr, if the 67d15f63f2SRick Macklem.Fl d 68d15f63f2SRick Macklemoption has also been specified. 69d15f63f2SRick MacklemThe minor status is logged as a decimal number, since it is actually a 70d15f63f2SRick MacklemKerberos return status, which is signed. 7109e3247eSRick Macklem.It Fl s Ar dir-list 7209e3247eSRick MacklemLook for an appropriate credential cache file in this list of directories. 7309e3247eSRick MacklemThe list should be full pathnames from root, separated by ':' characters. 7409e3247eSRick MacklemUsually this list will simply be "/tmp". 75e8ab2920SBenjamin KadukWithout this option, 7609e3247eSRick Macklem.Nm 77e8ab2920SBenjamin Kadukassumes that the credential cache file is called /tmp/krb5cc_<uid>, 7809e3247eSRick Macklemwhere <uid> is the effective uid for the RPC caller. 7909e3247eSRick Macklem.It Fl c Ar file-substring 8009e3247eSRick MacklemSet a file-substring for the credential cache file names. 8109e3247eSRick MacklemOnly files with this substring embedded in their names will be 82e8ab2920SBenjamin Kadukselected as candidates when 8309e3247eSRick Macklem.Fl s 8409e3247eSRick Macklemhas been specified. 8509e3247eSRick MacklemIf not specified, it defaults to "krb5cc_". 8609e3247eSRick Macklem.It Fl r Ar preferred-realm 87e8ab2920SBenjamin KadukUse Kerberos credentials for this realm when searching for 88e8ab2920SBenjamin Kadukcredentials in directories specified with 89e8ab2920SBenjamin Kaduk.Fl s . 90e8ab2920SBenjamin KadukIf not specified, the default Kerberos realm will be used. 91a9148abdSDoug Rabson.El 92a9148abdSDoug Rabson.Sh FILES 93a9148abdSDoug Rabson.Bl -tag -width ".Pa /etc/krb5.keytab" -compact 94a9148abdSDoug Rabson.It Pa /etc/krb5.keytab 95a9148abdSDoug RabsonContains Kerberos service principals which may be used as credentials 96a9148abdSDoug Rabsonby kernel GSS-API services. 97a9148abdSDoug Rabson.El 98a9148abdSDoug Rabson.Sh EXIT STATUS 99a9148abdSDoug Rabson.Ex -std 100a9148abdSDoug Rabson.Sh SEE ALSO 101d15f63f2SRick Macklem.Xr gssapi 3 , 102914f6e62SJoel Dahl.Xr syslog 3 , 103914f6e62SJoel Dahl.Xr mount_nfs 8 104a9148abdSDoug Rabson.Sh HISTORY 105a9148abdSDoug RabsonThe 106a9148abdSDoug Rabson.Nm 107831cbaf1SGiorgos Keramidasmanual page first appeared in 108a9148abdSDoug Rabson.Fx 8.0 . 109a9148abdSDoug Rabson.Sh AUTHORS 110a9148abdSDoug RabsonThis 111a9148abdSDoug Rabsonmanual page was written by 11201c2b8acSBaptiste Daroussin.An Doug Rabson Aq Mt dfr@FreeBSD.org . 113