133f12199SDoug Rabson /*- 2*1de7b4b8SPedro F. Giffuni * SPDX-License-Identifier: BSD-2-Clause-FreeBSD 3*1de7b4b8SPedro F. Giffuni * 433f12199SDoug Rabson * Copyright (c) 2008 Doug Rabson 533f12199SDoug Rabson * All rights reserved. 633f12199SDoug Rabson * 733f12199SDoug Rabson * Redistribution and use in source and binary forms, with or without 833f12199SDoug Rabson * modification, are permitted provided that the following conditions 933f12199SDoug Rabson * are met: 1033f12199SDoug Rabson * 1. Redistributions of source code must retain the above copyright 1133f12199SDoug Rabson * notice, this list of conditions and the following disclaimer. 1233f12199SDoug Rabson * 2. Redistributions in binary form must reproduce the above copyright 1333f12199SDoug Rabson * notice, this list of conditions and the following disclaimer in the 1433f12199SDoug Rabson * documentation and/or other materials provided with the distribution. 1533f12199SDoug Rabson * 1633f12199SDoug Rabson * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 1733f12199SDoug Rabson * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1833f12199SDoug Rabson * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1933f12199SDoug Rabson * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 2033f12199SDoug Rabson * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2133f12199SDoug Rabson * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2233f12199SDoug Rabson * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2333f12199SDoug Rabson * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2433f12199SDoug Rabson * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2533f12199SDoug Rabson * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2633f12199SDoug Rabson * SUCH DAMAGE. 2733f12199SDoug Rabson * 2833f12199SDoug Rabson * $FreeBSD$ 2933f12199SDoug Rabson */ 3033f12199SDoug Rabson 31ae771770SStanislav Sedov #include <gssapi/gssapi.h> 32ae771770SStanislav Sedov 33ae771770SStanislav Sedov gss_OID_desc __gss_c_nt_user_name_oid_desc = 34ae771770SStanislav Sedov {10, (void *)("\x2a\x86\x48\x86\xf7\x12" "\x01\x02\x01\x01")}; 35ae771770SStanislav Sedov gss_OID_desc __gss_c_nt_hostbased_service_oid_desc = 36ae771770SStanislav Sedov {10, (void *)("\x2a\x86\x48\x86\xf7\x12" "\x01\x02\x01\x04")}; 37ae771770SStanislav Sedov 3833f12199SDoug Rabson const char * 3933f12199SDoug Rabson _gss_name_prefix(void) 4033f12199SDoug Rabson { 4133f12199SDoug Rabson return "_gss_ntlm"; 4233f12199SDoug Rabson } 43