winbindd: introduce a cm_connect_netlogon_secure() which gives a valid netlogon_creds_ctx
authorStefan Metzmacher <metze@samba.org>
Fri, 2 Feb 2018 14:24:00 +0000 (15:24 +0100)
committerRalph Boehme <slow@samba.org>
Sat, 10 Feb 2018 07:35:17 +0000 (08:35 +0100)
commitb60c634123ee00021efc5b5aaa03e1663474d3da
tree426cf076402d8f80093341ee031bff04c2c14702
parentd76bcdb0854cff9b08010d47469fd48324d902bc
winbindd: introduce a cm_connect_netlogon_secure() which gives a valid netlogon_creds_ctx

At lot of callers require a valid schannel connection.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=13259

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