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)
committerKarolin Seeger <kseeger@samba.org>
Fri, 29 Apr 2016 10:06:26 +0000 (12:06 +0200)
commit40c1d53a983f943798f6f689eeeca18d7751fa63
tree7c0368521d1bbb7510763d8132ff863131ccb9de
parent0eebd689c51bddc140b0c00fb10242bace07de2d
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>
(cherry picked from commit e72ad193a53e20b769f798d02c0610f91859bd38)
source3/libsmb/cliconnect.c