update OID for GSS_C_NT_HOSTBASED_SERVICE and other details from rfc2744
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8760 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 1997 Kungliga Tekniska H<>gskolan
|
* Copyright (c) 1997 - 2000 Kungliga Tekniska H<>gskolan
|
||||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
@@ -94,15 +94,38 @@ gss_OID GSS_C_NT_STRING_UID_NAME = &gss_c_nt_string_uid_name_oid_desc;
|
|||||||
* gss_OID_desc object containing the value
|
* gss_OID_desc object containing the value
|
||||||
* {6, (void *)"\x2b\x06\x01\x05\x06\x02"},
|
* {6, (void *)"\x2b\x06\x01\x05\x06\x02"},
|
||||||
* corresponding to an object-identifier value of
|
* corresponding to an object-identifier value of
|
||||||
* {1(iso), 3(org), 6(dod), 1(internet), 5(security),
|
* {iso(1) org(3) dod(6) internet(1) security(5)
|
||||||
* 6(nametypes), 2(gss-host-based-services)}. The constant
|
* nametypes(6) gss-host-based-services(2)). The constant
|
||||||
* GSS_C_NT_HOSTBASED_SERVICE should be initialized to point
|
* GSS_C_NT_HOSTBASED_SERVICE_X should be initialized to point
|
||||||
* to that gss_OID_desc.
|
* to that gss_OID_desc. This is a deprecated OID value, and
|
||||||
|
* implementations wishing to support hostbased-service names
|
||||||
|
* should instead use the GSS_C_NT_HOSTBASED_SERVICE OID,
|
||||||
|
* defined below, to identify such names;
|
||||||
|
* GSS_C_NT_HOSTBASED_SERVICE_X should be accepted a synonym
|
||||||
|
* for GSS_C_NT_HOSTBASED_SERVICE when presented as an input
|
||||||
|
* parameter, but should not be emitted by GSS-API
|
||||||
|
* implementations
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static gss_OID_desc gss_c_nt_hostbased_service_oid_desc =
|
static gss_OID_desc gss_c_nt_hostbased_service_x_oid_desc =
|
||||||
{6, (void *)"\x2b\x06\x01\x05\x06\x02"};
|
{6, (void *)"\x2b\x06\x01\x05\x06\x02"};
|
||||||
|
|
||||||
|
gss_OID GSS_C_NT_HOSTBASED_SERVICE_X = &gss_c_nt_hostbased_service_x_oid_desc;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* The implementation must reserve static storage for a
|
||||||
|
* gss_OID_desc object containing the value
|
||||||
|
* {10, (void *)"\x2a\x86\x48\x86\xf7\x12"
|
||||||
|
* "\x01\x02\x01\x04"}, corresponding to an
|
||||||
|
* object-identifier value of {iso(1) member-body(2)
|
||||||
|
* Unites States(840) mit(113554) infosys(1) gssapi(2)
|
||||||
|
* generic(1) service_name(4)}. The constant
|
||||||
|
* GSS_C_NT_HOSTBASED_SERVICE should be initialized
|
||||||
|
* to point to that gss_OID_desc.
|
||||||
|
*/
|
||||||
|
static gss_OID_desc gss_c_nt_hostbased_service_oid_desc =
|
||||||
|
{10, (void *)"\x2a\x86\x48\x86\xf7\x12" "\x01\x02\x01\x04"};
|
||||||
|
|
||||||
gss_OID GSS_C_NT_HOSTBASED_SERVICE = &gss_c_nt_hostbased_service_oid_desc;
|
gss_OID GSS_C_NT_HOSTBASED_SERVICE = &gss_c_nt_hostbased_service_oid_desc;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@@ -55,6 +55,8 @@
|
|||||||
|
|
||||||
typedef u_int32_t OM_uint32;
|
typedef u_int32_t OM_uint32;
|
||||||
|
|
||||||
|
typedef u_int32_t gss_uint32;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This is to avoid having to include <krb5.h>
|
* This is to avoid having to include <krb5.h>
|
||||||
*/
|
*/
|
||||||
@@ -256,10 +258,30 @@ extern gss_OID GSS_C_NT_STRING_UID_NAME;
|
|||||||
* gss_OID_desc object containing the value
|
* gss_OID_desc object containing the value
|
||||||
* {6, (void *)"\x2b\x06\x01\x05\x06\x02"},
|
* {6, (void *)"\x2b\x06\x01\x05\x06\x02"},
|
||||||
* corresponding to an object-identifier value of
|
* corresponding to an object-identifier value of
|
||||||
* {1(iso), 3(org), 6(dod), 1(internet), 5(security),
|
* {iso(1) org(3) dod(6) internet(1) security(5)
|
||||||
* 6(nametypes), 2(gss-host-based-services)}. The constant
|
* nametypes(6) gss-host-based-services(2)). The constant
|
||||||
* GSS_C_NT_HOSTBASED_SERVICE should be initialized to point
|
* GSS_C_NT_HOSTBASED_SERVICE_X should be initialized to point
|
||||||
* to that gss_OID_desc.
|
* to that gss_OID_desc. This is a deprecated OID value, and
|
||||||
|
* implementations wishing to support hostbased-service names
|
||||||
|
* should instead use the GSS_C_NT_HOSTBASED_SERVICE OID,
|
||||||
|
* defined below, to identify such names;
|
||||||
|
* GSS_C_NT_HOSTBASED_SERVICE_X should be accepted a synonym
|
||||||
|
* for GSS_C_NT_HOSTBASED_SERVICE when presented as an input
|
||||||
|
* parameter, but should not be emitted by GSS-API
|
||||||
|
* implementations
|
||||||
|
*/
|
||||||
|
extern gss_OID GSS_C_NT_HOSTBASED_SERVICE_X;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* The implementation must reserve static storage for a
|
||||||
|
* gss_OID_desc object containing the value
|
||||||
|
* {10, (void *)"\x2a\x86\x48\x86\xf7\x12"
|
||||||
|
* "\x01\x02\x01\x04"}, corresponding to an
|
||||||
|
* object-identifier value of {iso(1) member-body(2)
|
||||||
|
* Unites States(840) mit(113554) infosys(1) gssapi(2)
|
||||||
|
* generic(1) service_name(4)}. The constant
|
||||||
|
* GSS_C_NT_HOSTBASED_SERVICE should be initialized
|
||||||
|
* to point to that gss_OID_desc.
|
||||||
*/
|
*/
|
||||||
extern gss_OID GSS_C_NT_HOSTBASED_SERVICE;
|
extern gss_OID GSS_C_NT_HOSTBASED_SERVICE;
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 1997 Kungliga Tekniska H<>gskolan
|
* Copyright (c) 1997 - 2000 Kungliga Tekniska H<>gskolan
|
||||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
@@ -94,15 +94,38 @@ gss_OID GSS_C_NT_STRING_UID_NAME = &gss_c_nt_string_uid_name_oid_desc;
|
|||||||
* gss_OID_desc object containing the value
|
* gss_OID_desc object containing the value
|
||||||
* {6, (void *)"\x2b\x06\x01\x05\x06\x02"},
|
* {6, (void *)"\x2b\x06\x01\x05\x06\x02"},
|
||||||
* corresponding to an object-identifier value of
|
* corresponding to an object-identifier value of
|
||||||
* {1(iso), 3(org), 6(dod), 1(internet), 5(security),
|
* {iso(1) org(3) dod(6) internet(1) security(5)
|
||||||
* 6(nametypes), 2(gss-host-based-services)}. The constant
|
* nametypes(6) gss-host-based-services(2)). The constant
|
||||||
* GSS_C_NT_HOSTBASED_SERVICE should be initialized to point
|
* GSS_C_NT_HOSTBASED_SERVICE_X should be initialized to point
|
||||||
* to that gss_OID_desc.
|
* to that gss_OID_desc. This is a deprecated OID value, and
|
||||||
|
* implementations wishing to support hostbased-service names
|
||||||
|
* should instead use the GSS_C_NT_HOSTBASED_SERVICE OID,
|
||||||
|
* defined below, to identify such names;
|
||||||
|
* GSS_C_NT_HOSTBASED_SERVICE_X should be accepted a synonym
|
||||||
|
* for GSS_C_NT_HOSTBASED_SERVICE when presented as an input
|
||||||
|
* parameter, but should not be emitted by GSS-API
|
||||||
|
* implementations
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static gss_OID_desc gss_c_nt_hostbased_service_oid_desc =
|
static gss_OID_desc gss_c_nt_hostbased_service_x_oid_desc =
|
||||||
{6, (void *)"\x2b\x06\x01\x05\x06\x02"};
|
{6, (void *)"\x2b\x06\x01\x05\x06\x02"};
|
||||||
|
|
||||||
|
gss_OID GSS_C_NT_HOSTBASED_SERVICE_X = &gss_c_nt_hostbased_service_x_oid_desc;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* The implementation must reserve static storage for a
|
||||||
|
* gss_OID_desc object containing the value
|
||||||
|
* {10, (void *)"\x2a\x86\x48\x86\xf7\x12"
|
||||||
|
* "\x01\x02\x01\x04"}, corresponding to an
|
||||||
|
* object-identifier value of {iso(1) member-body(2)
|
||||||
|
* Unites States(840) mit(113554) infosys(1) gssapi(2)
|
||||||
|
* generic(1) service_name(4)}. The constant
|
||||||
|
* GSS_C_NT_HOSTBASED_SERVICE should be initialized
|
||||||
|
* to point to that gss_OID_desc.
|
||||||
|
*/
|
||||||
|
static gss_OID_desc gss_c_nt_hostbased_service_oid_desc =
|
||||||
|
{10, (void *)"\x2a\x86\x48\x86\xf7\x12" "\x01\x02\x01\x04"};
|
||||||
|
|
||||||
gss_OID GSS_C_NT_HOSTBASED_SERVICE = &gss_c_nt_hostbased_service_oid_desc;
|
gss_OID GSS_C_NT_HOSTBASED_SERVICE = &gss_c_nt_hostbased_service_oid_desc;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@@ -55,6 +55,8 @@
|
|||||||
|
|
||||||
typedef u_int32_t OM_uint32;
|
typedef u_int32_t OM_uint32;
|
||||||
|
|
||||||
|
typedef u_int32_t gss_uint32;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This is to avoid having to include <krb5.h>
|
* This is to avoid having to include <krb5.h>
|
||||||
*/
|
*/
|
||||||
@@ -256,10 +258,30 @@ extern gss_OID GSS_C_NT_STRING_UID_NAME;
|
|||||||
* gss_OID_desc object containing the value
|
* gss_OID_desc object containing the value
|
||||||
* {6, (void *)"\x2b\x06\x01\x05\x06\x02"},
|
* {6, (void *)"\x2b\x06\x01\x05\x06\x02"},
|
||||||
* corresponding to an object-identifier value of
|
* corresponding to an object-identifier value of
|
||||||
* {1(iso), 3(org), 6(dod), 1(internet), 5(security),
|
* {iso(1) org(3) dod(6) internet(1) security(5)
|
||||||
* 6(nametypes), 2(gss-host-based-services)}. The constant
|
* nametypes(6) gss-host-based-services(2)). The constant
|
||||||
* GSS_C_NT_HOSTBASED_SERVICE should be initialized to point
|
* GSS_C_NT_HOSTBASED_SERVICE_X should be initialized to point
|
||||||
* to that gss_OID_desc.
|
* to that gss_OID_desc. This is a deprecated OID value, and
|
||||||
|
* implementations wishing to support hostbased-service names
|
||||||
|
* should instead use the GSS_C_NT_HOSTBASED_SERVICE OID,
|
||||||
|
* defined below, to identify such names;
|
||||||
|
* GSS_C_NT_HOSTBASED_SERVICE_X should be accepted a synonym
|
||||||
|
* for GSS_C_NT_HOSTBASED_SERVICE when presented as an input
|
||||||
|
* parameter, but should not be emitted by GSS-API
|
||||||
|
* implementations
|
||||||
|
*/
|
||||||
|
extern gss_OID GSS_C_NT_HOSTBASED_SERVICE_X;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* The implementation must reserve static storage for a
|
||||||
|
* gss_OID_desc object containing the value
|
||||||
|
* {10, (void *)"\x2a\x86\x48\x86\xf7\x12"
|
||||||
|
* "\x01\x02\x01\x04"}, corresponding to an
|
||||||
|
* object-identifier value of {iso(1) member-body(2)
|
||||||
|
* Unites States(840) mit(113554) infosys(1) gssapi(2)
|
||||||
|
* generic(1) service_name(4)}. The constant
|
||||||
|
* GSS_C_NT_HOSTBASED_SERVICE should be initialized
|
||||||
|
* to point to that gss_OID_desc.
|
||||||
*/
|
*/
|
||||||
extern gss_OID GSS_C_NT_HOSTBASED_SERVICE;
|
extern gss_OID GSS_C_NT_HOSTBASED_SERVICE;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user