support NTLM authentication
This commit is contained in:
parent
b014936769
commit
47db2ada78
@ -3,7 +3,9 @@ ChangeLog for davfs2
|
|||||||
|
|
||||||
2009-10-14 Werner Baumann (werner.baumann@onlinehome.de)
|
2009-10-14 Werner Baumann (werner.baumann@onlinehome.de)
|
||||||
* configure.ac:
|
* configure.ac:
|
||||||
add support for neon 0.29.
|
Add support for neon 0.29.
|
||||||
|
* webdav.c, dav_init_webdav:
|
||||||
|
Support NTLM authentication.
|
||||||
|
|
||||||
2009-10-10 Werner Baumann (werner.baumann@onlinehome.de)
|
2009-10-10 Werner Baumann (werner.baumann@onlinehome.de)
|
||||||
* webdav.c, dav_head:
|
* webdav.c, dav_head:
|
||||||
|
1
THANKS
1
THANKS
@ -58,6 +58,7 @@ Jan Ortgies <design@mediaworldgmbh.de>
|
|||||||
Joe Orton <joe@manyfish.co.uk>
|
Joe Orton <joe@manyfish.co.uk>
|
||||||
Panu Outinen <poutinen@users.sourceforge.net>
|
Panu Outinen <poutinen@users.sourceforge.net>
|
||||||
Tero Pelander <tpeland2@users.sourceforge.net>
|
Tero Pelander <tpeland2@users.sourceforge.net>
|
||||||
|
Ruediger Pluem <ruediger.pluem@vodafone.com>
|
||||||
Gauvain Pocentek <gauvain@ulteo.com>
|
Gauvain Pocentek <gauvain@ulteo.com>
|
||||||
David Popeck <dpopeck@users.sourceforge.net>
|
David Popeck <dpopeck@users.sourceforge.net>
|
||||||
Sean Reifschneider <jafo@users.sourceforge.net>
|
Sean Reifschneider <jafo@users.sourceforge.net>
|
||||||
|
@ -370,7 +370,11 @@ dav_init_webdav(const dav_args *args)
|
|||||||
username = ne_strdup(args->username);
|
username = ne_strdup(args->username);
|
||||||
if (args->password)
|
if (args->password)
|
||||||
password = ne_strdup(args->password);
|
password = ne_strdup(args->password);
|
||||||
|
#if NE_VERSION_MINOR < 26
|
||||||
ne_set_server_auth(session, auth, "server");
|
ne_set_server_auth(session, auth, "server");
|
||||||
|
#else /* NE_VERSION_MINOR >= 26 */
|
||||||
|
ne_add_server_auth(session, NE_AUTH_ALL, auth, "server");
|
||||||
|
#endif /* NE_VERSION_MINOR >= 26 */
|
||||||
|
|
||||||
if (args->useproxy && args->p_host) {
|
if (args->useproxy && args->p_host) {
|
||||||
ne_session_proxy(session, args->p_host, args->p_port);
|
ne_session_proxy(session, args->p_host, args->p_port);
|
||||||
@ -378,7 +382,11 @@ dav_init_webdav(const dav_args *args)
|
|||||||
p_username = ne_strdup(args->p_user);
|
p_username = ne_strdup(args->p_user);
|
||||||
if (args->p_passwd)
|
if (args->p_passwd)
|
||||||
p_password = ne_strdup(args->p_passwd);
|
p_password = ne_strdup(args->p_passwd);
|
||||||
|
#if NE_VERSION_MINOR < 26
|
||||||
ne_set_proxy_auth(session, auth, "proxy");
|
ne_set_proxy_auth(session, auth, "proxy");
|
||||||
|
#else /* NE_VERSION_MINOR >= 26 */
|
||||||
|
ne_add_proxy_auth(session, NE_AUTH_ALL, auth, "proxy");
|
||||||
|
#endif /* NE_VERSION_MINOR >= 26 */
|
||||||
}
|
}
|
||||||
|
|
||||||
if (strcmp(args->scheme, "https") == 0) {
|
if (strcmp(args->scheme, "https") == 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user