1 .\" Copyright (c) 1997 Kungliga Tekniska Högskolan
2 .\" $Id: krb5_parse_name.3,v 1.6 2002/09/02 12:42:00 joda Exp $
8 .Nd string to principal conversion
10 Kerberos 5 Library (libkrb5, -lkrb5)
14 .Fn krb5_parse_name "krb5_context context" "const char *name" "krb5_principal *principal"
17 converts a string representation of a principal name to
21 will point to allocated data that should be freed with
22 .Fn krb5_free_principal .
24 The string should consist of one or more name components separated with slashes
26 optionally followed with an
28 and a realm name. A slash or @ may be contained in a name component by
29 quoting it with a back-slash
31 A realm should not contain slashes or colons.
33 .Xr krb5_425_conv_principal 3 ,
34 .Xr krb5_build_principal 3 ,
35 .Xr krb5_free_principal 3 ,
36 .Xr krb5_sname_to_principal 3 ,
37 .Xr krb5_unparse_name 3