s3:libsmb: use anonymous authentication via spnego if possible
authorStefan Metzmacher <metze@samba.org>
Tue, 19 Apr 2016 05:33:03 +0000 (07:33 +0200)
committerStefan Metzmacher <metze@samba.org>
Thu, 28 Apr 2016 14:51:16 +0000 (16:51 +0200)
commite72ad193a53e20b769f798d02c0610f91859bd38
tree3fb6a0c47cb0dc4c33adefa20c5f40a12bc21e65
parentfa5799207e55ee8e329f36f784d027845eaf0e34
s3:libsmb: use anonymous authentication via spnego if possible

This makes the authentication consistent between
SMB1 with CAP_EXTENDED_SECURITY (introduced in Windows 2000)
and SNB2.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11841

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
source3/libsmb/cliconnect.c