FreeRDP
sspicli.c File Reference
#include <winpr/sspicli.h>
#include <winpr/crt.h>
#include <pthread.h>
#include <pwd.h>
#include <grp.h>
#include "../handle/handle.h"
#include "../security/security.h"

Functions

static BOOL LogonUserCloseHandle (HANDLE handle)
 
static BOOL LogonUserIsHandled (HANDLE handle)
 
static int LogonUserGetFd (HANDLE handle)
 
BOOL LogonUserA (LPCSTR lpszUsername, LPCSTR lpszDomain, LPCSTR lpszPassword, DWORD dwLogonType, DWORD dwLogonProvider, PHANDLE phToken)
 
BOOL LogonUserW (LPCWSTR lpszUsername, LPCWSTR lpszDomain, LPCWSTR lpszPassword, DWORD dwLogonType, DWORD dwLogonProvider, PHANDLE phToken)
 
BOOL LogonUserExA (LPCSTR lpszUsername, LPCSTR lpszDomain, LPCSTR lpszPassword, DWORD dwLogonType, DWORD dwLogonProvider, PHANDLE phToken, PSID *ppLogonSid, PVOID *ppProfileBuffer, LPDWORD pdwProfileLength, PQUOTA_LIMITS pQuotaLimits)
 
BOOL LogonUserExW (LPCWSTR lpszUsername, LPCWSTR lpszDomain, LPCWSTR lpszPassword, DWORD dwLogonType, DWORD dwLogonProvider, PHANDLE phToken, PSID *ppLogonSid, PVOID *ppProfileBuffer, LPDWORD pdwProfileLength, PQUOTA_LIMITS pQuotaLimits)
 
BOOL GetUserNameExA (EXTENDED_NAME_FORMAT NameFormat, LPSTR lpNameBuffer, PULONG nSize)
 
BOOL GetUserNameExW (EXTENDED_NAME_FORMAT NameFormat, LPWSTR lpNameBuffer, PULONG nSize)
 

Variables

static HANDLE_OPS ops
 

Function Documentation

BOOL GetUserNameExA ( EXTENDED_NAME_FORMAT  NameFormat,
LPSTR  lpNameBuffer,
PULONG  nSize 
)
BOOL GetUserNameExW ( EXTENDED_NAME_FORMAT  NameFormat,
LPWSTR  lpNameBuffer,
PULONG  nSize 
)
BOOL LogonUserA ( LPCSTR  lpszUsername,
LPCSTR  lpszDomain,
LPCSTR  lpszPassword,
DWORD  dwLogonType,
DWORD  dwLogonProvider,
PHANDLE  phToken 
)

Here is the call graph for this function:

BOOL LogonUserCloseHandle ( HANDLE  handle)
static

WinPR: Windows Portable Runtime Security Support Provider Interface

Copyright 2012 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. sspicli.dll:

EnumerateSecurityPackagesA EnumerateSecurityPackagesW GetUserNameExW ImportSecurityContextA LogonUser LogonUserEx LogonUserExExW SspiCompareAuthIdentities SspiCopyAuthIdentity SspiDecryptAuthIdentity SspiEncodeAuthIdentityAsStrings SspiEncodeStringsAsAuthIdentity SspiEncryptAuthIdentity SspiExcludePackage SspiFreeAuthIdentity SspiGetTargetHostName SspiIsAuthIdentityEncrypted SspiLocalFree SspiMarshalAuthIdentity SspiPrepareForCredRead SspiPrepareForCredWrite SspiUnmarshalAuthIdentity SspiValidateAuthIdentity SspiZeroAuthIdentity

Here is the call graph for this function:

BOOL LogonUserExA ( LPCSTR  lpszUsername,
LPCSTR  lpszDomain,
LPCSTR  lpszPassword,
DWORD  dwLogonType,
DWORD  dwLogonProvider,
PHANDLE  phToken,
PSID *  ppLogonSid,
PVOID *  ppProfileBuffer,
LPDWORD  pdwProfileLength,
PQUOTA_LIMITS  pQuotaLimits 
)
BOOL LogonUserExW ( LPCWSTR  lpszUsername,
LPCWSTR  lpszDomain,
LPCWSTR  lpszPassword,
DWORD  dwLogonType,
DWORD  dwLogonProvider,
PHANDLE  phToken,
PSID *  ppLogonSid,
PVOID *  ppProfileBuffer,
LPDWORD  pdwProfileLength,
PQUOTA_LIMITS  pQuotaLimits 
)
static int LogonUserGetFd ( HANDLE  handle)
static

Here is the call graph for this function:

static BOOL LogonUserIsHandled ( HANDLE  handle)
static

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LogonUserW ( LPCWSTR  lpszUsername,
LPCWSTR  lpszDomain,
LPCWSTR  lpszPassword,
DWORD  dwLogonType,
DWORD  dwLogonProvider,
PHANDLE  phToken 
)

Variable Documentation

HANDLE_OPS ops
static
Initial value:
=
{
NULL,
NULL
}
static BOOL LogonUserCloseHandle(HANDLE handle)
Definition: sspicli.c:99
static int LogonUserGetFd(HANDLE handle)
Definition: sspicli.c:87
if availableBytes return NULL
Definition: TPCircularBuffer.h:104
static BOOL LogonUserIsHandled(HANDLE handle)
Definition: sspicli.c:74