File: krb5_parse_name.cat3

package info (click to toggle)
heimdal 7.1.0%2Bdfsg-13%2Bdeb9u3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 41,436 kB
  • sloc: ansic: 354,938; sh: 12,104; makefile: 4,353; yacc: 1,774; perl: 1,572; python: 748; lex: 732; java: 119; awk: 41
file content (30 lines) | stat: -rw-r--r-- 1,476 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
KRB5_PARSE_NAME(3)       BSD Library Functions Manual       KRB5_PARSE_NAME(3)

NNAAMMEE
     kkrrbb55__ppaarrssee__nnaammee -- string to principal conversion

LLIIBBRRAARRYY
     Kerberos 5 Library (libkrb5, -lkrb5)

SSYYNNOOPPSSIISS
     ##iinncclluuddee <<kkrrbb55..hh>>

     _k_r_b_5___e_r_r_o_r___c_o_d_e
     kkrrbb55__ppaarrssee__nnaammee(_k_r_b_5___c_o_n_t_e_x_t _c_o_n_t_e_x_t, _c_o_n_s_t _c_h_a_r _*_n_a_m_e,
         _k_r_b_5___p_r_i_n_c_i_p_a_l _*_p_r_i_n_c_i_p_a_l);

DDEESSCCRRIIPPTTIIOONN
     kkrrbb55__ppaarrssee__nnaammee() converts a string representation of a principal name to
     kkrrbb55__pprriinncciippaall.  The _p_r_i_n_c_i_p_a_l will point to allocated data that should
     be freed with kkrrbb55__ffrreeee__pprriinncciippaall().

     The string should consist of one or more name components separated with
     slashes (``/''), optionally followed with an ``@'' and a realm name. A
     slash or @ may be contained in a name component by quoting it with a
     backslash (``\'').  A realm should not contain slashes or colons.

SSEEEE AALLSSOO
     krb5_build_principal(3), krb5_free_principal(3),
     krb5_sname_to_principal(3), krb5_unparse_name(3)

HEIMDAL                           May 1, 2006                          HEIMDAL