source: heimdal/trunk/lib/krb5/krb5_parse_name.cat3

Last change on this file was 1, checked in by Paul Smedley, 10 years ago

Initial commit of Heimdal 1.5.3

File size: 1.5 KB
Line 
1
2KRB5_PARSE_NAME(3) BSD Library Functions Manual KRB5_PARSE_NAME(3)
3
4NNAAMMEE
5 kkrrbb55__ppaarrssee__nnaammee -- string to principal conversion
6
7LLIIBBRRAARRYY
8 Kerberos 5 Library (libkrb5, -lkrb5)
9
10SSYYNNOOPPSSIISS
11 ##iinncclluuddee <<kkrrbb55..hh>>
12
13 _k_r_b_5___e_r_r_o_r___c_o_d_e
14 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,
15 _k_r_b_5___p_r_i_n_c_i_p_a_l _*_p_r_i_n_c_i_p_a_l);
16
17DDEESSCCRRIIPPTTIIOONN
18 kkrrbb55__ppaarrssee__nnaammee() converts a string representation of a principal name to
19 kkrrbb55__pprriinncciippaall. The _p_r_i_n_c_i_p_a_l will point to allocated data that should
20 be freed with kkrrbb55__ffrreeee__pprriinncciippaall().
21
22 The string should consist of one or more name components separated with
23 slashes (``/''), optionally followed with an ``@'' and a realm name. A
24 slash or @ may be contained in a name component by quoting it with a
25 backslash (``\''). A realm should not contain slashes or colons.
26
27SSEEEE AALLSSOO
28 krb5_425_conv_principal(3), krb5_build_principal(3),
29 krb5_free_principal(3), krb5_sname_to_principal(3), krb5_unparse_name(3)
30
31HEIMDAL May 1, 2006 HEIMDAL
Note: See TracBrowser for help on using the repository browser.