Home
last modified time | relevance | path

Searched +full:- +full:- +full:with +full:- +full:gssapi (Results 1 – 25 of 75) sorted by relevance

123

/external/libcups/config-scripts/
Dcups-gssapi.m42 dnl GSSAPI/Kerberos library detection for CUPS.
4 dnl Copyright 2007-2017 by Apple Inc.
5 dnl Copyright 2006-2007 by Easy Software Products.
13 AC_ARG_ENABLE(gssapi, [ --disable-gssapi disable GSSAPI support]) optenable
19 AC_PATH_TOOL(KRB5CONFIG, krb5-config)
23 # macOS weak-links to the Kerberos framework...
24 LIBGSSAPI="-weak_framework Kerberos"
26 if test -d /System/Library/Frameworks/GSS.framework; then
28 LIBGSSAPI="$LIBGSSAPI -weak_framework GSS"
34 # Solaris has a non-standard krb5-config, don't use it!
[all …]
/external/cronet/net/http/
Dhttp_auth_gssapi_posix.h2 // Use of this source code is governed by a BSD-style license that can be
22 #include <GSS/gssapi.h>
24 #include <gssapi/gssapi.h>
26 #include <gssapi.h>
33 // Mechanism OID for GSSAPI. We always use SPNEGO.
36 // GSSAPILibrary is introduced so unit tests can mock the calls to the GSSAPI
38 // GSSAPI library implementations, then simply passes the arguments on to
49 // These methods match the ones in the GSSAPI library.
114 // If |gssapi_library_name| is empty, hard-coded default library names are
176 // Finds a usable dynamic library for GSSAPI and loads it. The criteria are:
[all …]
Dhttp_auth_gssapi_posix_unittest.cc2 // Use of this source code is governed by a BSD-style license that can be
32 dest->length = 0; in ClearBuffer()
33 delete [] reinterpret_cast<char*>(dest->value); in ClearBuffer()
34 dest->value = nullptr; in ClearBuffer()
43 dest->length = length; in SetBuffer()
45 dest->value = new char[length]; in SetBuffer()
46 memcpy(dest->value, src, length); in SetBuffer()
56 SetBuffer(dest, src->value, src->length); in CopyBuffer()
73 library->ExpectSecurityContext( in EstablishInitialContext()
83 // At present getting tokens from gssapi is fully synchronous, so the callback in UnexpectedCallback()
[all …]
Dmock_gssapi_library_posix.h2 // Use of this source code is governed by a BSD-style license that can be
43 // the system GSSAPI library calls.
74 // value associated with the |target_name| argument to |init_sec_context()|
118 // These methods match the ones in the GSSAPI library.
150 // Returns a message that's invalid UTF-8.
Dhttp_auth_gssapi_posix.cc2 // Use of this source code is governed by a BSD-style license that can be
38 // Exported mechanism for GSSAPI. We always use SPNEGO:
75 gssapi_lib_->release_buffer(&minor_status, buffer_); in ~ScopedBuffer()
102 OM_uint32 major_status = gssapi_lib_->release_name(&minor_status, &name_); in ~ScopedName()
119 if (left->length != right->length) in OidEquals()
121 return 0 == memcmp(left->elements, right->elements, right->length); in OidEquals()
139 // the context is set to a non-zero value that should be passed as a message in GetGssStatusCodeValue()
151 // |kMaxMsgLength|. There's no real documented limit to work with here. in GetGssStatusCodeValue()
160 OM_uint32 major_status = gssapi_lib->display_status( in GetGssStatusCodeValue()
201 if (!oid || oid->length == 0) { in OidToValue()
[all …]
Dhttp_auth_handler_negotiate.cc2 // Use of this source code is governed by a BSD-style license that can be
84 return auth_library_->GetLibraryNameForTesting(); in GetLibraryNameForTesting()
111 http_auth_preferences()->AuthAndroidNegotiateAccountType().empty() || in CreateAuthHandler()
128 !http_auth_preferences()->AllowGssapiLibraryLoad()) { in CreateAuthHandler()
132 if (!auth_library_->Init(net_log)) { in CreateAuthHandler()
144 if (!tmp_handler->InitFromChallenge(challenge, target, ssl_info, in CreateAuthHandler()
149 handler->swap(tmp_handler); in CreateAuthHandler()
165 return auth_system_->NeedsIdentity(); in NeedsIdentity()
173 return http_auth_preferences_->CanUseDefaultCredentials(scheme_host_port_); in AllowsDefaultCredentials()
177 return auth_system_->AllowsExplicitCredentials(); in AllowsExplicitCredentials()
[all …]
/external/curl/docs/cmdline-opts/
Dsocks5-gssapi-nec.md1 ---
3 SPDX-License-Identifier: curl
4 Long: socks5-gssapi-nec
5 Help: Compatibility with NEC SOCKS5 server
9 See-also:
10 - socks5
12 - --socks5-gssapi-nec --socks5 hostname:4096 $URL
13 ---
15 # `--socks5-gssapi-nec`
17 As part of the GSS-API negotiation a protection mode is negotiated. RFC 1961
[all …]
Dsocks5-gssapi.md1 ---
3 SPDX-License-Identifier: curl
4 Long: socks5-gssapi
5 Help: Enable GSS-API auth for SOCKS5 proxies
9 See-also:
10 - socks5
12 - --socks5-gssapi --socks5 hostname:4096 $URL
13 ---
15 # `--socks5-gssapi`
17 Use GSS-API authentication when connecting to a SOCKS5 proxy. The GSS-API
[all …]
DMakefile.inc21 # SPDX-License-Identifier: curl
48 abstract-unix-socket.md \
49 alt-svc.md \
52 aws-sigv4.md \
54 ca-native.md \
57 cert-status.md \
58 cert-type.md \
61 compressed-ssh.md \
64 connect-timeout.md \
65 connect-to.md \
[all …]
/external/curl/CMake/
DFindGSS.cmake21 # SPDX-License-Identifier: curl
24 # - Try to find the GSS Kerberos library
27 # GSS_ROOT_DIR - Set this variable to the root installation of GSS
29 # Read-Only variables:
30 # GSS_FOUND - system has the Heimdal library
31 # GSS_FLAVOUR - "MIT" or "Heimdal" if anything found.
32 # GSS_INCLUDE_DIR - the Heimdal include directory
33 # GSS_LIBRARIES - The libraries needed to use GSS
34 # GSS_LINK_DIRECTORIES - Directories to add to linker search path
35 # GSS_LINKER_FLAGS - Additional linker flags
[all …]
/external/curl/lib/vauth/
Dkrb5_gssapi.c22 * SPDX-License-Identifier: curl
24 * RFC4752 The Kerberos V5 ("GSSAPI") SASL Mechanism
48 * This is used to evaluate if GSSAPI (Kerberos V5) is supported.
52 * Returns TRUE if Kerberos V5 is supported by the GSS-API library.
62 * This is used to generate an already encoded GSSAPI (Kerberos V5) user token
67 * data [in] - The session handle.
68 * userp [in] - The user name.
69 * passwdp [in] - The user's password.
70 * service [in] - The service type such as http, smtp, pop or imap.
71 * host [in[ - The host name.
[all …]
Dkrb5_sspi.c21 * SPDX-License-Identifier: curl
23 * RFC4752 The Kerberos V5 ("GSSAPI") SASL Mechanism
46 * This is used to evaluate if GSSAPI (Kerberos V5) is supported.
58 status = s_pSecFn->QuerySecurityPackageInfo((TCHAR *) in Curl_auth_is_gssapi_supported()
64 s_pSecFn->FreeContextBuffer(SecurityPackage); in Curl_auth_is_gssapi_supported()
73 * This is used to generate an already encoded GSSAPI (Kerberos V5) user token
78 * data [in] - The session handle.
79 * userp [in] - The user name in the format User or Domain\User.
80 * passwdp [in] - The user's password.
81 * service [in] - The service type such as http, smtp, pop or imap.
[all …]
/external/cronet/net/tools/gssapi/
Dgss_types.h2 // Use of this source code is governed by a BSD-style license that can be
12 // GSSAPI library. The bindings follow RFC 2744. The code follows the RFC
13 // faithfully with the possible exception of `const` qualifiers for some
16 // Note that //net/http/http_auth_gssapi_posix* functions depend on the gssapi.h
18 // system gssapi.h in order to reduce sensitivity to the host environment.
20 // These declarations follow RFC 2744 Appendix A with the exception of using
49 // Following structures are defined as <implementation-specific>.
/external/cronet/net/android/
Ddummy_spnego_authenticator.h2 // Use of this source code is governed by a BSD-style license that can be
18 // This includes a basic stub of the Mock GSSAPI library, so that OS independent
22 // These constant values are arbitrary, and different from the real GSSAPI
31 // #global-scope
39 // Copy of class in Mock GSSAPI library.
88 // Note that many of these fields only exist for compatibility with the
89 // non-Android version of the tests. Only the response_code and tokens are
/external/curl/lib/
Dcurl_config.h.cmake21 * SPDX-License-Identifier: curl
29 /* define "1" to use built-in ca store of TLS backend */
38 /* disables alt-svc */
59 /* disables AWS-SIG4 */
65 /* disables DNS-over-HTTPS */
83 /* disables headers-api support */
101 /* disables --libcurl option from the curl tool */
125 /* disables built-in progress meter */
286 /* Define to 1 if you have a working glibc-style strerror_r function. */
292 /* if you have the gssapi libraries */
[all …]
Dcurl_sasl.h23 * SPDX-License-Identifier: curl
55 #define SASL_MECH_STRING_CRAM_MD5 "CRAM-MD5"
56 #define SASL_MECH_STRING_DIGEST_MD5 "DIGEST-MD5"
57 #define SASL_MECH_STRING_GSSAPI "GSSAPI"
62 #define SASL_MECH_STRING_SCRAM_SHA_1 "SCRAM-SHA-1"
63 #define SASL_MECH_STRING_SCRAM_SHA_256 "SCRAM-SHA-256"
66 #define SASL_FLAG_BASE64 0x0001 /* Messages are base64-encoded */
112 command length - other characters count.
113 This has to be zero for non-base64 protocols. */
120 /* Per-connection parameters */
[all …]
/external/libcups/cups/
Dhttp-private.h4 * Copyright 2007-2018 by Apple Inc.
5 * Copyright 1997-2007 by Easy Software Products, all rights reserved.
42 # include <GSS/gssapi.h>
44 # include <gssapi/gssapi.h>
46 # include <gssapi.h>
67 # include "ipp-private.h"
120 # define _HTTP_RESOLVE_DEFAULT 0 /* Just resolve with default options */
171 BYTE *decryptBuffer; /* Data pre-decryption*/
174 BYTE *readBuffer; /* Data post-decryption */
177 BYTE *writeBuffer; /* Data pre-encryption */
[all …]
/external/libcups/doc/help/
Dkerberos.html2 <!-- SECTION: Getting Started -->
5 <LINK REL="STYLESHEET" TYPE="text/css" HREF="../cups-printable.css">
16 <p>The following are required to use Kerberos with CUPS:</p>
23 …<li>DNS server(s) with static IP addresses for all CUPS servers or configured to allow DHCP update…
30 …<li>LDAP-based user accounts - both OpenDirectory and ActiveDirectory provide this with the KDC, a…
40with CUPS, you will need to configure Kerberos on your system and setup a system as a KDC. Because…
46 <LI><A HREF="http://web.mit.edu/macdev/KfM/Common/Documentation/faq-osx.html">Kerberos
55 <LI><A HREF="http://tldp.org/HOWTO/html_single/Kerberos-Infrastructure-HOWTO/">Kerberos
75 … enabled Kerberos authentication, use the built-in "authenticated" policy or your own custom polic…
80GSSAPI and the service/principal names "host/server.example.com" for command-line access and "HTTP…
[all …]
/external/curl/
Dconfigure.ac21 # SPDX-License-Identifier: curl
24 dnl Process this file with autoconf to produce a configure script.
29 AC_INIT([curl], [-], [a suitable curl mailing list: https://curl.se/mail/])
67 if test -z "$SED"; then
71 if test -z "$SED" || test "$SED" = "not_found"; then
79 if test -z "$GREP"; then
83 if test -z "$GREP" || test "$GREP" = "not_found"; then
89 dnl 'grep -E' is mandatory for configure process and libtool.
91 if test -z "$EGREP"; then
93 AC_MSG_CHECKING([that grep -E works])
[all …]
DCMakeLists.txt21 # SPDX-License-Identifier: curl
29 # sub-projects in a larger build using `FetchContent`. To support
32 # https://cmake.org/cmake/help/latest/module/FetchContent.html#integrating-with-find-package
61 string(REGEX MATCH "#define LIBCURL_VERSION_NUM 0x[0-9a-fA-F]+"
66 # Setup package meta-data
71 # SET(PACKAGE_VERSION "-")
72 # SET(PACKAGE_STRING "curl-")
90 option(BUILD_STATIC_CURL "Build curl executable with static libcurl" OFF)
91 option(ENABLE_ARES "Set to ON to enable c-ares support" OFF)
95 option(CURL_STATIC_CRT "Set to ON to build libcurl with static CRT on Windows (/MT)." OFF)
[all …]
/external/curl/docs/
DKNOWN_BUGS16 1.5 Expect-100 meets 417
19 2.1 IMAPS connection fails with rustls error
20 2.3 Unable to use PKCS12 certificate with Secure Transport
22 2.5 Client cert handling with Issuer DN differs between backends
23 2.7 Client cert (MTLS) issues with Schannel
25 2.13 CURLOPT_CERTINFO results in CURLE_OUT_OF_MEMORY with Schannel
30 3.3 POP3 expects "CRLF.CRLF" eob for some single-line responses
39 5.2 curl-config --libs contains private details
40 5.3 building for old macOS fails with gcc
41 5.5 cannot handle Unicode arguments in non-Unicode builds on Windows
[all …]
Doptions-in-versions7 This document lists all command line options present in curl, together with
13 --abstract-unix-socket 7.53.0
14 --alt-svc 7.64.1
15 --anyauth 7.10.6
16 --append (-a) 4.8
17 --aws-sigv4 7.75.0
18 --basic 7.10.6
19 --ca-native 8.2.0
20 --cacert 7.5
21 --capath 7.9.8
[all …]
DTODO27 1.10 auto-detect proxy
28 1.11 minimize dependencies with dynamically loaded modules
30 1.13 c-ares and CURLOPT_OPENSOCKETFUNCTION
48 2. libcurl - multi interface
49 2.1 More non-blocking
51 2.3 Non-blocking curl_multi_remove_handle()
53 2.5 Edge-triggered sockets should work
60 3.2 Provide cmake config-file
68 4.6 GSSAPI via Windows SSPI
74 5.2 Obey Retry-After in redirects
[all …]
/external/curl/packages/vms/
Dgnv_curl_configure.sh9 # purpose with or without fee is hereby granted, provided that the above
13 # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
18 # OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
20 # SPDX-License-Identifier: ISC
33 # Override configure adding -std1 which is too strict for what curl
41 ./configure --prefix=/usr --exec-prefix=/usr --disable-dependency-tracking \
42 --disable-libtool-lock --with-gssapi --disable-ntlm-wb \
43 --with-ca-path=gnv\$curl_ca_path
/external/curl/.github/workflows/
Dlinux.yml3 # SPDX-License-Identifier: curl
10 - master
11 - '*/ci'
12 paths-ignore:
13 - '**/*.md'
14 - '.azure-pipelines.yml'
15 - '.circleci/**'
16 - '.cirrus.yml'
17 - 'appveyor.*'
18 - 'packages/**'
[all …]

123