summaryrefslogtreecommitdiffstats
path: root/utils/showmount
diff options
context:
space:
mode:
authorOlga Kornievskaia <aglo@citi.umich.edu>2009-11-16 09:44:03 -0500
committerSteve Dickson <steved@redhat.com>2009-11-16 09:44:03 -0500
commitdd31301d485b4244b1b35049f6917df907997da9 (patch)
tree7d6dbc4ada3bb8f3e713d05a5981c0ee9522f729 /utils/showmount
parent421406ee159fa27cca1a150600cfc321bbbe33f5 (diff)
downloadnfs-utils-dd31301d485b4244b1b35049f6917df907997da9.tar.gz
nfs-utils-dd31301d485b4244b1b35049f6917df907997da9.tar.xz
nfs-utils-dd31301d485b4244b1b35049f6917df907997da9.zip
gssd: process service= attribute in new upcall
Add processing of the "service=" attribute in the new gssd upcall. If "service" is specified, then the kernel is indicating that we must use machine credentials for this request. (Regardless of the uid value or the setting of root_uses_machine_creds.) If the service value is "*", then any service name can be used. Otherwise, it specifies the service name that should be used. (For now, the values of service will only be "*" or "nfs".) Restricting gssd to use "nfs" service name is needed for when the NFS server is doing a callback to the NFS client. In this case, the NFS server has to authenticate itself as "nfs" -- even if there are other service keys such as "host" or "root" in the keytab. Another case when the kernel may specify the service attribute is when gssd is being asked to create the context for a SETCLIENT_ID operation. In this case, machine credentials must be used for the authentication. However, the service name used for this case is not important. Signed-off-by: Olga Kornievskaia <aglo@citi.umich.edu> Signed-off-by: Kevin Coffman <kwc@citi.umich.edu> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/showmount')
0 files changed, 0 insertions, 0 deletions