s3: Use the right credentials in check_netlogond_security
authorVolker Lendecke <vl@samba.org>
Sun, 6 Feb 2011 18:56:22 +0000 (19:56 +0100)
committerVolker Lendecke <vlendec@samba.org>
Sun, 6 Feb 2011 19:43:03 +0000 (20:43 +0100)
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Feb  6 20:43:03 CET 2011 on sn-devel-104

source3/auth/auth_netlogond.c

index 854060b75d41501d330b23fad0481d78c3ae65eb..9c367e6b8df041f5c78e730c3ad707ed9f0bce4c 100644 (file)
@@ -390,7 +390,7 @@ static NTSTATUS check_netlogond_security(const struct auth_context *auth_context
         */
 
        status = netlogond_validate(talloc_tos(), auth_context, ncalrpcsock,
-                                   creds, user_info, &info3,
+                                   p->dc, user_info, &info3,
                                    &schannel_bind_result);
 
        TALLOC_FREE(p);