--- ucb/source/ucp/webdav-neon/NeonSession.cxx +++ ucb/source/ucp/webdav-neon/NeonSession.cxx @@ -228,9 +228,6 @@ } extern "C" int NeonSession_NeonAuth( void * inUserData, -#ifdef NE_FEATURE_SSPI - const char * inAuthProtocol, -#endif const char * inRealm, int attempt, char * inoutUserName, @@ -297,14 +294,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 - int theRetVal = pListener->authenticate( OUString::createFromAscii( inRealm ), theSession->getHostName(),