David Fort
0435b5a65d
Implement smartcard logon
2022-02-24 08:52:25 +01:00
David Fort
310f2047bf
fix build with mingw 7
2022-02-24 08:52:25 +01:00
David Fort
c90074d10c
fix leaks in ncrypt
2022-02-24 08:52:25 +01:00
David Fort
19453883f8
winpr gss: wire gss_acquire_cred_from
2022-02-24 08:52:25 +01:00
Armin Novak
99d63ea89e
Fixed missing static and WINPR_API
2022-02-24 08:52:25 +01:00
David Fort
cb351a099d
Enable smartcard NLA logon
2022-02-24 08:52:25 +01:00
David Fort
a563a6836b
winpr: ncrypt add a property to retrieve the PKCS11 slotId
2022-02-24 08:52:25 +01:00
Armin Novak
ceaff16f8c
Added quoted argument support to CommandLineParseCommaSeparatedValuesEx
...
* Argument quoting support
* Empty list element detection
* Unit test for argument parser
2022-02-24 08:26:30 +01:00
Armin Novak
3bb36f4caa
Fixed clang-scanbuild warnings
2022-02-22 16:15:05 +01:00
Armin Novak
c0a39c2db8
Fixed TestUnicodeConversion warning
2022-02-22 12:21:21 +01:00
Armin Novak
1b71bba2a0
Fixed compilation warnings
2022-02-22 11:29:56 +01:00
akallabeth
f568d70d52
Fixed guards
2022-02-18 08:38:28 +01:00
Armin Novak
bf9f1eccc1
Fixed issued with mingw build
2022-02-18 08:38:28 +01:00
akallabeth
c1a1e4f1d2
Force WITH_GSS_NO_NTLM_FALLBACK to OFF
2022-02-17 09:53:52 +00:00
akallabeth
3c61a31f65
Fixed ICU include directories
2022-02-17 09:53:52 +00:00
Armin Novak
5f8ab14f3f
Cleaned up registry value reading, added warnings
2022-02-15 13:43:36 +00:00
Armin Novak
8231a7e7a7
Added runtime configuration option for kerberos/NTLM fallback
2022-02-15 13:43:36 +00:00
Armin Novak
3f39c19709
Fixed wrong assert and memory leaks
2022-02-15 10:51:03 +01:00
Armin Novak
4492c834cd
Fixed uninitialized warnings
2022-02-15 10:51:03 +01:00
Armin Novak
89e4cf33e3
Fix NCryptOpenP11StorageProviderEx
...
* Allow NULL paths, fall back to default (or direct link)
2022-02-15 10:51:03 +01:00
Armin Novak
7d92e9c809
Option to link against opensc-pkcs11
2022-02-15 10:51:03 +01:00
Armin Novak
a229c1672d
Warning fixes and assert
2022-02-15 10:51:03 +01:00
Armin Novak
aac28aaeab
Fixed NCryptOpenP11StorageProviderEx
2022-02-15 10:51:03 +01:00
akallabeth
2d2627deab
Fixed SSPI fallback to NTLM ( #7642 )
...
* Fixed SSPI fallback to NTLM
* Fixed wide/ansi mixup
* WITH_GSS fixes
* Move to WinPR as this is not related to FreeRDP
* Add option WITH_GSS_NO_NTLM_FALLBACK to disable NTLM fallback
* Abort NLA if status is SEC_E_NO_CREDENTIALS
* Properly invalidate sspi::SubContext
2022-02-15 09:04:17 +01:00
akallabeth
8cc6582044
Unify struct definitions ( #7633 )
...
* Unified enum/struct definitions, fixed include issues
* Fixed mac compilation issues
* Added missing include
* Fixed windows server build warnings
* Fixed VS2010 build issue
* Removed unnecessary library linking
* Fixed ThreadPool WinXP compatibility
* Fixed pr review remarks
2022-02-14 14:59:22 +01:00
Armin Novak
1947629b8e
Fixed possible leaks in TestSynchMultipleThreads
2022-02-14 08:36:55 +00:00
Armin Novak
77580466ae
Removed cached wlog pointer
2022-02-01 11:04:32 +00:00
Armin Novak
1c2bf9f031
Made HRESULT_FROM_WIN32 a static inline
2022-02-01 11:04:32 +00:00
Armin Novak
ccaf3c938c
Added Stream_ConstPointer
2022-02-01 10:25:37 +00:00
Armin Novak
10e40147fb
Fixed various const warnings
2022-02-01 10:25:37 +00:00
Armin Novak
a40467b3b0
Added Stream_ConstBuffer function
2022-02-01 10:25:37 +00:00
Armin Novak
02896b0656
Fixed warnings from WLOG_ASSERT
2022-02-01 08:48:21 +01:00
Armin Novak
ca30e749e9
Fixed unused-but-set-variable and reserved identifier warnings
2022-02-01 08:48:21 +01:00
Armin Novak
bc08ebc01c
Corrected const arguments for wStream functions
...
Functions only extracting values now use const for wStream argument
2022-01-31 16:13:06 +01:00
Armin Novak
6fc260b285
Fixed integer range warnings, added tests
2022-01-31 16:13:06 +01:00
Armin Novak
d4e557122b
Fixed constant definitions
...
Define signed values instead of raw values
2022-01-31 16:13:06 +01:00
Armin Novak
92c3fd5d59
Fixed unnecessary cast in headers
2022-01-31 16:13:06 +01:00
Armin Novak
0feee85952
Fixed cast warnings due to defines
2022-01-31 16:13:06 +01:00
Armin Novak
03e454d7d0
Fixed missing brace
2022-01-31 15:55:10 +01:00
Armin Novak
e7913b4720
Fixed some reserved names
2022-01-31 15:55:10 +01:00
akallabeth
b698041d9f
Fixed return value of GetUserNameExA
2022-01-25 15:33:04 +01:00
akallabeth
9570c349ac
Added missing CMake include
2022-01-25 15:33:04 +01:00
akallabeth
7dedfbb0b0
Added support for getpwuid_r, replaced duplicate code
...
* Use GetUserNameExA to get current user name when required.
* Add support for getpwuid_r if available
2022-01-25 15:33:04 +01:00
akallabeth
a337031b24
Cache Emulate_IsConfigured result ( #7569 )
...
* Cache Emulate_IsConfigured result
The check is used very often, so this caching reduces necessary
allocations.
* Fix winpr_HexLogDump
Abort function early if the log message is to be discarded due to
the log level being inactive.
* Use common logger for rdpdr message
Co-authored-by: Martin Fleisz <martin.fleisz@thincast.com>
2022-01-21 13:24:20 +01:00
David Fort
02535ea200
winpr: fix a crash when kerberos fails during negociation
2022-01-19 18:03:52 +01:00
David Fort
968416ce95
kerberos: fix encode/decode functions
2022-01-19 18:03:52 +01:00
akallabeth
e6e6ed5dbd
Cleaned up PubSub
...
* Callback arguments now const
* Fixed missing includes
2022-01-19 09:24:57 +01:00
akallabeth
1326134cdf
Fixed warnings in BufferPool
2022-01-19 09:24:57 +01:00
David Fort
82eee65daf
winpr: fix ncrypt on Mac and updated tests
2022-01-17 16:27:53 +01:00
David Fort
06cb610207
smartcard: start implementing SCardListCards
...
This basic implementation tries to emulate the corresponding function by using a
predefined list of name for a given ATR.
2022-01-17 16:27:53 +01:00