Author: vlendec Date: 2005-10-17 15:08:52 +0000 (Mon, 17 Oct 2005) New Revision: 11120
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=11120 Log: calling_name is used later in sesssetup_nt1, so hang the names to the right talloc context. Volker Modified: branches/SAMBA_4_0/source/smb_server/reply.c Changeset: Modified: branches/SAMBA_4_0/source/smb_server/reply.c =================================================================== --- branches/SAMBA_4_0/source/smb_server/reply.c 2005-10-17 14:32:16 UTC (rev 11119) +++ branches/SAMBA_4_0/source/smb_server/reply.c 2005-10-17 15:08:52 UTC (rev 11120) @@ -2392,14 +2392,16 @@ return NT_STATUS_NO_MEMORY; } - status = nbt_name_from_blob(req, &blob, req->smb_conn->negotiate.called_name); + status = nbt_name_from_blob(req->smb_conn, &blob, + req->smb_conn->negotiate.called_name); NT_STATUS_NOT_OK_RETURN(status); blob.data += blob.length; blob.length = ascii_len_n(blob.data, req->in.size - PTR_DIFF(blob.data, req->in.buffer)); if (blob.length == 0) return NT_STATUS_BAD_NETWORK_NAME; - status = nbt_name_from_blob(req, &blob, req->smb_conn->negotiate.calling_name); + status = nbt_name_from_blob(req->smb_conn, &blob, + req->smb_conn->negotiate.calling_name); NT_STATUS_NOT_OK_RETURN(status); req->smb_conn->negotiate.done_nbt_session = True;
