No NTLM-authentication with GnuTLS

Kai Sommerfeld Kai.Sommerfeld at Sun.COM
Mon Nov 23 07:07:46 EST 2009


Hi,

On 21.11.2009 14:45 Uhr, Werner Baumann wrote:
> Hello,
> 
> when handling a support request for davfs2 I noticed that NTLM
> authentication is not supported when compiling against GnuTLS. This is
> due to neon.m4:
> 
> case $with_ssl in
> /*)
>    ...
>    ;;
> yes|openssl)
>    ...
>    AC_DEFINE([HAVE_OPENSSL], 1, [Define if OpenSSL support is enabled])
>    NEON_EXTRAOBJS="$NEON_EXTRAOBJS ne_openssl"
> 
>    AC_DEFINE([HAVE_NTLM], 1, [Define if NTLM is supported])
>    ;;
> gnutls)
>    ...
>    NEON_EXTRAOBJS="$NEON_EXTRAOBJS ne_gnutls"
>    AC_DEFINE([HAVE_GNUTLS], 1, [Define if GnuTLS support is enabled])
> 
>    ...
>    ;;
> *) ...
>    ;;
> esac
> 
> There is no "AC_DEFINE([HAVE_NTLM], ..." in the gnutls-branch.
> 
> Is this intended or is it a bug?
> If it is intentional, what is the reason?
> 
  The platform-independent NTLM implementation (I do not mean the 
SSPI-based implementation, that is only avail on Window) does currently 
only work with OpenSSL, not GnuTLS. The respective code in ne_ntlm.c 
would need to be ported to the neon SSL API in order to get GnuTLS work 
as well. Thus, config is correct, unfortunately.

  Cheers,
Kai.






More information about the neon mailing list