s3: auth: Change make_server_info_info3() to take a const struct netr_SamInfo3 pointe...
[samba.git] / source3 / auth / auth_generic.c
index a2ba4e32573d2a1aca2a2bb02b78b3c100aa4701..2880bc9e019060f74bad7e7b4bfa62f28998fc91 100644 (file)
@@ -112,7 +112,7 @@ static NTSTATUS auth3_generate_session_info_pac(struct auth4_context *auth_ctx,
 
        status = make_session_info_krb5(mem_ctx,
                                        ntuser, ntdomain, username, pw,
-                                       logon_info, is_guest, is_mapped, NULL /* No session key for now, caller will sort it out */,
+                                       &logon_info->info3, is_guest, is_mapped, NULL /* No session key for now, caller will sort it out */,
                                        session_info);
        if (!NT_STATUS_IS_OK(status)) {
                DEBUG(1, ("Failed to map kerberos pac to server info (%s)\n",