linamh/app-office/libreoffice/files/neon-remove-SSPI-support.diff

26 lines
1.1 KiB
Diff
Raw Normal View History

--- ucb/source/ucp/webdav/NeonSession.cxx
+++ ucb/source/ucp/webdav/NeonSession.cxx
@@ -257,9 +257,6 @@
// -------------------------------------------------------------------
extern "C" int NeonSession_NeonAuth( void * inUserData,
-#ifdef NE_FEATURE_SSPI
- const char * inAuthProtocol,
-#endif
const char * inRealm,
int attempt,
char * inoutUserName,
@@ -334,12 +331,6 @@
bool bCanUseSystemCreds = false;
-#ifdef NE_FEATURE_SSPI
- bCanUseSystemCreds = (attempt == 0) && // avoid endless loops
- ne_has_support( NE_FEATURE_SSPI ) && // Windows-only feature.
- ( ne_strcasecmp( inAuthProtocol, "NTLM" ) == 0 ) ||
- ( ne_strcasecmp( inAuthProtocol, "Negotiate" ) == 0 );
-#endif
// #i97003# (tkr): Ask XMasterPasswordHandling if we should store the
// credentials persistently and give this information to the auth listener