 c50c15a4a5
			
		
	
	c50c15a4a5
	
	
	
		
			
			git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2967 ec53bebd-3082-4978-b11e-865c3cabbd6b
		
			
				
	
	
		
			40 lines
		
	
	
		
			983 B
		
	
	
	
		
			Groff
		
	
	
	
	
	
			
		
		
	
	
			40 lines
		
	
	
		
			983 B
		
	
	
	
		
			Groff
		
	
	
	
	
	
| .\" Copyright (c) 1997 Kungliga Tekniska Högskolan
 | |
| .\" $Id$
 | |
| .Dd August 8, 1997
 | |
| .Dt KRB5_PARSE_NAME 3
 | |
| .Os HEIMDAL
 | |
| .Sh NAME
 | |
| .Nm krb5_parse_name
 | |
| .Nd String to principal conversion
 | |
| 
 | |
| .Sh SYNOPSIS
 | |
| .Fd #include <krb5.h>
 | |
| 
 | |
| .Ft krb5_error_code
 | |
| .Fn krb5_parse_name "krb5_context context" "const char *name" "krb5_principal *principal"
 | |
| 
 | |
| .Sh DESCRIPTION
 | |
| 
 | |
| .Fn krb5_parse_name
 | |
| converts a string representation of a princpal name to
 | |
| .Nm krb5_principal .
 | |
| The
 | |
| .Fa principal 
 | |
| will point to allocated data that should be freed with
 | |
| .Fn krb5_free_principal .
 | |
| .Pp
 | |
| The string should consist of one or more name components separated with slashes
 | |
| .Pq Dq / , 
 | |
| optionally followed with an
 | |
| .Dq @
 | |
| and a realm name. A slash or @ may be contained in a name component by
 | |
| quoting it with a back-slash
 | |
| .Pq Dq \ .
 | |
| A realm should not contain slashes or colons.
 | |
| .Sh SEE ALSO
 | |
| .Xr krb5_425_conv_principal 3 ,
 | |
| .Xr krb5_build_principal 3 ,
 | |
| .Xr krb5_free_principal 3 ,
 | |
| .Xr krb5_sname_to_principal 3 ,
 | |
| .Xr krb5_unparse_name 3
 |