s3:winbindd: fix the valid usage anonymous smb authentication
authorStefan Metzmacher <metze@samba.org>
Wed, 22 Feb 2017 18:18:04 +0000 (19:18 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 24 Feb 2017 17:40:14 +0000 (18:40 +0100)
commitc97a29bdfdc0020ec0113073580da56f2d35edc1
treede04f4e2203779f9f79a27453e557690861b428f
parentb845f16d3ca02dd27cc40bbf722426d6f81bb4b7
s3:winbindd: fix the valid usage anonymous smb authentication

If we are in a situation where we don't have credentials to contact the
remote domain or against an NT4 with the following settings:

  workgroup = NT4DOM
  security = domain
  require strong key = no
  client use spnego = no
  client ipc signing = auto

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/winbindd/winbindd_cm.c