svcadm(8)을 검색하려면 섹션에서 8 을 선택하고, 맨 페이지 이름에 svcadm을 입력하고 검색을 누른다.
rpc_gss_set_defaults(3c)
Standard C Library Functions rpc_gss_set_defaults(3C)
NAME
rpc_gss_set_defaults - change service, QOP for a session
SYNOPSIS
#include <rpc/rpcsec_gss.h>
bool_t rpc_gss_set_defaults(AUTH *auth, rpc_gss_service_t service, char *qop);
DESCRIPTION
rpc_gss_set_defaults() allows an application to change the service
(privacy, integrity, authentication, or none) and Quality of Protection
(QOP) for a transfer session. New values apply to the rest of the ses‐
sion (unless changed again).
PARAMETERS
Information on RPCSEC_GSS data types for parameters may be found on the
rpcsec_gss(3C) man page.
auth An RPC authentication handle returned by rpc_gss_seccre‐
ate()).
service An enum of type rpc_gss_service_t, representing one of the
following types of security service: authentication, pri‐
vacy, integrity, or none.
qop A string representing Quality of Protection. Valid strings
may be found in the file /etc/gss/qop or by using
rpc_gss_get_mech_info().
RETURN VALUES
rpc_gss_set_svc_name() returns TRUE if it is successful; otherwise, use
rpc_gss_get_error() to get the error associated with the failure.
FILES
/etc/gss/qop File containing valid QOPs
ATTRIBUTES
See attributes(7) for descriptions of the following attributes:
tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) ATTRIBUTE TYPEAT‐
TRIBUTE VALUE _ Availabilitysystem/library/security/rpcsec _ MT-Lev‐
elMT-Safe
SEE ALSO
rpc(3C), rpc_gss_get_mech_info(3C), rpcsec_gss(3C), qop(5),
attributes(7)
ONC+ RPC Developer's Guide
Linn, J. RFC 2078, Generic Security Service Application Program Inter‐
face, Version 2. Network Working Group. January 1997.
Oracle Solaris 11.4 22 Aug 2011 rpc_gss_set_defaults(3C)