s3:libsmb: use anonymous authentication via spnego if possible
commitbc2331bc8c208713ff4ca11b37b10c6ee714190b
authorStefan Metzmacher <metze@samba.org>
Tue, 19 Apr 2016 05:33:03 +0000 (19 07:33 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 29 Apr 2016 07:39:28 +0000 (29 09:39 +0200)
tree3fe1f88cd54ae19f628cc06181cd8b5c773e50a4
parent702d846d6f2f31027ba3fc2016c3c5ee5a3be57a
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