Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 479604
Collapse All | Expand All

(-)file_not_specified_in_diff (-12 / +1 lines)
Line  Link Here
0
-- ucb/source/ucp/webdav-neon/NeonSession.cxx
0
++ ucb/source/ucp/webdav-neon/NeonSession.cxx
Lines 228-236 Link Here
228
}
228
}
229
229
230
extern "C" int NeonSession_NeonAuth( void *       inUserData,
230
extern "C" int NeonSession_NeonAuth( void *       inUserData,
231
#ifdef NE_FEATURE_SSPI
232
                                     const char * inAuthProtocol,
233
#endif
234
                                     const char * inRealm,
231
                                     const char * inRealm,
235
                                     int          attempt,
232
                                     int          attempt,
236
                                     char *       inoutUserName,
233
                                     char *       inoutUserName,
Lines 297-310 Link Here
297
294
298
    bool bCanUseSystemCreds = false;
295
    bool bCanUseSystemCreds = false;
299
296
300
#ifdef NE_FEATURE_SSPI
301
    bCanUseSystemCreds
302
        = (attempt == 0) && // avoid endless loops
303
          ne_has_support( NE_FEATURE_SSPI ) && // Windows-only feature.
304
          ( ( ne_strcasecmp( inAuthProtocol, "NTLM" ) == 0 ) ||
305
            ( ne_strcasecmp( inAuthProtocol, "Negotiate" ) == 0 ) );
306
#endif
307
308
    int theRetVal = pListener->authenticate(
297
    int theRetVal = pListener->authenticate(
309
                            OUString::createFromAscii( inRealm ),
298
                            OUString::createFromAscii( inRealm ),
310
                            theSession->getHostName(),
299
                            theSession->getHostName(),

Return to bug 479604