summaryrefslogtreecommitdiff
path: root/src/ne_auth.c
diff options
context:
space:
mode:
authorkso <kso@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845>2009-11-19 22:36:08 +0000
committerkso <kso@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845>2009-11-19 22:36:08 +0000
commit00ed929610e27104575b8f6c63debe78556b9556 (patch)
treeb7c57ea79e0d5e5d32db39dbb2a9f589d37fb6b4 /src/ne_auth.c
parent62f0b90b05dd43ec1ede9c88b4b40396b7bdcec7 (diff)
downloadneon-00ed929610e27104575b8f6c63debe78556b9556.tar.gz
* src/ne_ntlm.c (ne__ntlm_authenticate)
* src/ne_auth.c (ntlm_challenge) - in case of session timeout, do not call auth callback; use existing credentials. git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1746 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
Diffstat (limited to 'src/ne_auth.c')
-rw-r--r--src/ne_auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ne_auth.c b/src/ne_auth.c
index bd2a5fe..d32d52e 100644
--- a/src/ne_auth.c
+++ b/src/ne_auth.c
@@ -725,7 +725,7 @@ static int ntlm_challenge(auth_session *sess, int attempt,
NE_DEBUG(NE_DBG_HTTPAUTH, "auth: NTLM challenge.\n");
- if (!parms->opaque) {
+ if (!parms->opaque && (!sess->ntlm_context || (attempt > 1))) {
char password[NE_ABUFSIZ];
if (get_credentials(sess, errmsg, attempt, parms, password)) {