Lines Matching refs:ninfo
43 struct netr_NetworkInfo ninfo;
72 struct netr_NetworkInfo *ninfo;
88 ninfo = state->req->in.logon.network = talloc(state, struct netr_NetworkInfo);
89 if (ninfo == NULL) goto failed;
91 ninfo->identity_info.account_name.string = talloc_strdup(state, user);
92 ninfo->identity_info.domain_name.string = talloc_strdup(state, domain);
93 ninfo->identity_info.parameter_control = logon_parameters;
94 ninfo->identity_info.logon_id_low = 0;
95 ninfo->identity_info.logon_id_high = 0;
96 ninfo->identity_info.workstation.string = talloc_strdup(state, workstation);
98 SMB_ASSERT(chal.length == sizeof(ninfo->challenge));
99 memcpy(ninfo->challenge, chal.data,
100 sizeof(ninfo->challenge));
102 tmp_nt_resp = data_blob_talloc(ninfo, nt_resp.data, nt_resp.length);
106 tmp_lm_resp = data_blob_talloc(ninfo, lm_resp.data, lm_resp.length);
110 ninfo->nt.length = tmp_nt_resp.length;
111 ninfo->nt.data = tmp_nt_resp.data;
112 ninfo->lm.length = tmp_lm_resp.length;
113 ninfo->lm.data = tmp_lm_resp.data;