netlogond3: make use of make_auth3_context_for_netlogon()
authorStefan Metzmacher <metze@samba.org>
Fri, 17 Mar 2017 08:18:25 +0000 (09:18 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 24 Mar 2017 10:57:09 +0000 (11:57 +0100)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=2976

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/rpc_server/netlogon/srv_netlog_nt.c

index 088ffe12d4edbeb5d6ebe02ada9dbd2cc29ea1d0..4c438022fc02ad3e746bfc801cfaeee9ec322d1d 100644 (file)
@@ -1580,8 +1580,7 @@ static NTSTATUS _netr_LogonSamLogon_base(struct pipes_struct *p,
                                              r->in.logon_level,
                                              logon);
 
-       status = make_auth_context_subsystem(talloc_tos(),
-                                            &auth_context);
+       status = make_auth3_context_for_netlogon(talloc_tos(), &auth_context);
        if (!NT_STATUS_IS_OK(status)) {
                return status;
        }