|
Line
Link Here
|
| 0 |
-- ucb/source/ucp/webdav/NeonSession.cxx |
0 |
++ ucb/source/ucp/webdav/NeonSession.cxx |
|
Lines 257-265
Link Here
|
| 257 |
|
257 |
|
| 258 |
// ------------------------------------------------------------------- |
258 |
// ------------------------------------------------------------------- |
| 259 |
extern "C" int NeonSession_NeonAuth( void * inUserData, |
259 |
extern "C" int NeonSession_NeonAuth( void * inUserData, |
| 260 |
#ifdef NE_FEATURE_SSPI |
|
|
| 261 |
const char * inAuthProtocol, |
| 262 |
#endif |
| 263 |
const char * inRealm, |
260 |
const char * inRealm, |
| 264 |
int attempt, |
261 |
int attempt, |
| 265 |
char * inoutUserName, |
262 |
char * inoutUserName, |
|
Lines 334-345
Link Here
|
| 334 |
|
331 |
|
| 335 |
bool bCanUseSystemCreds = false; |
332 |
bool bCanUseSystemCreds = false; |
| 336 |
|
333 |
|
| 337 |
#ifdef NE_FEATURE_SSPI |
|
|
| 338 |
bCanUseSystemCreds = (attempt == 0) && // avoid endless loops |
| 339 |
ne_has_support( NE_FEATURE_SSPI ) && // Windows-only feature. |
| 340 |
( ne_strcasecmp( inAuthProtocol, "NTLM" ) == 0 ) || |
| 341 |
( ne_strcasecmp( inAuthProtocol, "Negotiate" ) == 0 ); |
| 342 |
#endif |
| 343 |
|
334 |
|
| 344 |
// #i97003# (tkr): Ask XMasterPasswordHandling if we should store the |
335 |
// #i97003# (tkr): Ask XMasterPasswordHandling if we should store the |
| 345 |
// credentials persistently and give this information to the auth listener |
336 |
// credentials persistently and give this information to the auth listener |