*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->NetBSD man pages -> krb5_parse_name (3)              
Title
Content
Arch
Section
 

KRB5_PARSE_NAME(3)

Contents


NAME    [Toc]    [Back]

     krb5_parse_name - string to principal conversion

LIBRARY    [Toc]    [Back]

     Kerberos 5 Library (libkrb5, -lkrb5)

SYNOPSIS    [Toc]    [Back]

     #include <krb5/krb5.h>

     krb5_error_code
     krb5_parse_name(krb5_context context, const char *name,
             krb5_principal *principal);

DESCRIPTION    [Toc]    [Back]

     krb5_parse_name() converts a string representation of a princpal name to
     krb5_principal.  The principal will point to allocated data that should
     be freed with krb5_free_principal().

     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
     back-slash (`` .'') A realm should not contain slashes or colons.

SEE ALSO    [Toc]    [Back]

      
      
     krb5_425_conv_principal(3), krb5_build_principal(3),
     krb5_free_principal(3), krb5_sname_to_principal(3), krb5_unparse_name(3)

BSD                             August 8, 1997                             BSD
[ Back ]
 Similar pages
Name OS Title
krb5_unparse_name NetBSD principal to string conversion
krb5_unparse_name FreeBSD principal to string conversion
krb5_unparse_name OpenBSD principal to string conversion
tmstring IRIX the string to XmString conversion
scan IRIX Parse string using conversion specifiers in the style of sscanf
scan IRIX Parse string using conversion specifiers in the style of sscanf
mbsinit Tru64 Determine whether a multibyte-character string is in the initial conversion state
krb5_principal_get_realm FreeBSD decompose a principal
krb5_principal_get_comp_string FreeBSD decompose a principal
krb5_build_principal FreeBSD principal creation functions
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service