more about difference between comparing IN and MN
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12151 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -479,6 +479,24 @@ name with
|
|||||||
and then compare with
|
and then compare with
|
||||||
.Xr memcmp 3 .
|
.Xr memcmp 3 .
|
||||||
.Pp
|
.Pp
|
||||||
|
Note that there are might be a difference between the two methods of
|
||||||
|
comparing names.
|
||||||
|
The first (using
|
||||||
|
.Fn gss_compare_name )
|
||||||
|
will compare to (unauthenticated) names are the same.
|
||||||
|
The second will compare if a mechanism will authenticate them as the
|
||||||
|
same principal.
|
||||||
|
.Pp
|
||||||
|
For example, if
|
||||||
|
.Fn gss_import_name
|
||||||
|
name was used with
|
||||||
|
.Dv GSS_C_NO_OID
|
||||||
|
the default syntax is used for all mechanism the GSS-API
|
||||||
|
implementation supports.
|
||||||
|
When compare the imported name of
|
||||||
|
.Dv GSS_C_NO_OID
|
||||||
|
it may match serveral mechanism names (MN).
|
||||||
|
.Pp
|
||||||
The resulting name from
|
The resulting name from
|
||||||
.Fn gss_display_name
|
.Fn gss_display_name
|
||||||
must not be used for acccess control.
|
must not be used for acccess control.
|
||||||
|
@@ -479,6 +479,24 @@ name with
|
|||||||
and then compare with
|
and then compare with
|
||||||
.Xr memcmp 3 .
|
.Xr memcmp 3 .
|
||||||
.Pp
|
.Pp
|
||||||
|
Note that there are might be a difference between the two methods of
|
||||||
|
comparing names.
|
||||||
|
The first (using
|
||||||
|
.Fn gss_compare_name )
|
||||||
|
will compare to (unauthenticated) names are the same.
|
||||||
|
The second will compare if a mechanism will authenticate them as the
|
||||||
|
same principal.
|
||||||
|
.Pp
|
||||||
|
For example, if
|
||||||
|
.Fn gss_import_name
|
||||||
|
name was used with
|
||||||
|
.Dv GSS_C_NO_OID
|
||||||
|
the default syntax is used for all mechanism the GSS-API
|
||||||
|
implementation supports.
|
||||||
|
When compare the imported name of
|
||||||
|
.Dv GSS_C_NO_OID
|
||||||
|
it may match serveral mechanism names (MN).
|
||||||
|
.Pp
|
||||||
The resulting name from
|
The resulting name from
|
||||||
.Fn gss_display_name
|
.Fn gss_display_name
|
||||||
must not be used for acccess control.
|
must not be used for acccess control.
|
||||||
|
Reference in New Issue
Block a user