1gss_duplicate_namGee(n3eGrSiSc)Security Services API Library Fgusnsc_tdiuopnlsicate_name(3GSS)
2
3
4

NAME

6       gss_duplicate_name - create a copy of an internal name
7

SYNOPSIS

9       cc [flag ...]  file... -lgss [library ...]
10       #include <gssapi/gssapi.h>
11
12       OM_uint32 gss_duplicate_name(OM_uint32 *minor_status,
13            const gss_name_t src_name,gss_name_t *dest_name);
14
15

DESCRIPTION

17       The  gss_duplicate_name()  function  creates  an exact duplicate of the
18       existing internal name src_name.  The new dest_name will be independent
19       of  the src_name. The src_name and dest_name must both be released, and
20       the release of one does not affect the validity of the other.
21

PARAMETERS

23       The parameter descriptions for gss_duplicate_name() follow:
24
25       minor_status    A mechanism-specific status code.
26
27
28       src_name        Internal name to be duplicated.
29
30
31       dest_name       The resultant copy  of  src_name.   Storage  associated
32                       with  this  name must be freed by the application after
33                       use with a call to gss_release_name(3GSS).
34
35

ERRORS

37       The gss_duplicate_name()  function  may  return  the  following  status
38       codes:
39
40       GSS_S_COMPLETE    Successful completion.
41
42
43       GSS_S_BAD_NAME    The src_name parameter was ill-formed.
44
45
46       GSS_S_FAILURE     The  underlying mechanism detected an error for which
47                         no specific GSS status code is defined.   The  mecha‐
48                         nism-specific  status  code  reported by means of the
49                         minor_status parameter details the error condition.
50
51

ATTRIBUTES

53       See attributes(5) for descriptions of the following attributes:
54
55
56
57
58       ┌─────────────────────────────┬─────────────────────────────┐
59       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
60       ├─────────────────────────────┼─────────────────────────────┤
61       │Availability                 │SUNWgss (32-bit)             │
62       ├─────────────────────────────┼─────────────────────────────┤
63       │                             │SUNWgssx (64-bit)            │
64       ├─────────────────────────────┼─────────────────────────────┤
65       │MT-Level                     │Safe                         │
66       └─────────────────────────────┴─────────────────────────────┘
67

SEE ALSO

69       gss_release_name(3GSS), attributes(5)
70
71
72       Solaris Security for Developers Guide
73
74
75
76SunOS 5.11                        14 Jan 2003         gss_duplicate_name(3GSS)
Impressum