diff options
author | kso <kso@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845> | 2009-11-19 22:36:08 +0000 |
---|---|---|
committer | kso <kso@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845> | 2009-11-19 22:36:08 +0000 |
commit | 00ed929610e27104575b8f6c63debe78556b9556 (patch) | |
tree | b7c57ea79e0d5e5d32db39dbb2a9f589d37fb6b4 /src/ne_auth.c | |
parent | 62f0b90b05dd43ec1ede9c88b4b40396b7bdcec7 (diff) | |
download | neon-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.c | 2 |
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)) { |