1rpc_gss_set_defaults(3NNeStLw)orking Services Library Funcrtpico_ngsss_set_defaults(3NSL)
2
3
4
6 rpc_gss_set_defaults - change service, QOP for a session
7
9 #include <rpc/rpcsec_gss.h>
10
11 bool_t rpc_gss_set_defaults(AUTH *auth, rpc_gss_service_t service, char *qop);
12
13
15 rpc_gss_set_defaults() allows an application to change the service
16 (privacy, integrity, authentication, or none) and Quality of Protection
17 (QOP) for a transfer session. New values apply to the rest of the ses‐
18 sion (unless changed again).
19
21 Information on RPCSEC_GSS data types for parameters may be found on the
22 rpcsec_gss(3NSL) man page.
23
24 auth An RPC authentication handle returned by rpc_gss_seccre‐
25 ate()).
26
27
28 service An enum of type rpc_gss_service_t, representing one of the
29 following types of security service: authentication, pri‐
30 vacy, integrity, or none.
31
32
33 qop A string representing Quality of Protection. Valid strings
34 may be found in the file /etc/gss/qop or by using
35 rpc_gss_get_mech_info().
36
37
39 rpc_gss_set_svc_name() returns TRUE if it is successful; otherwise,
40 use rpc_gss_get_error() to get the error associated with the failure.
41
43 /etc/gss/qop File containing valid QOPs
44
45
47 See attributes(5) for descriptions of the following attributes:
48
49
50
51
52 ┌─────────────────────────────┬─────────────────────────────┐
53 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
54 ├─────────────────────────────┼─────────────────────────────┤
55 │MT-Level │MT-Safe │
56 ├─────────────────────────────┼─────────────────────────────┤
57 │Availability │SUNWrsg (32-bit) │
58 ├─────────────────────────────┼─────────────────────────────┤
59 │ │SUNWrsgx (64-bit) │
60 └─────────────────────────────┴─────────────────────────────┘
61
63 rpc(3NSL), rpc_gss_get_mech_info(3NSL), rpcsec_gss(3NSL), qop(4),
64 attributes(5)
65
66
67 ONC+ Developer's Guide
68
69
70 Linn, J. RFC 2078, Generic Security Service Application Program Inter‐
71 face, Version 2. Network Working Group. January 1997.
72
73
74
75SunOS 5.11 5 Feb 2002 rpc_gss_set_defaults(3NSL)