summaryrefslogtreecommitdiffstats
path: root/source/rpc_parse/parse_net.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-05-24 13:36:43 +0000
committerLuke Leighton <lkcl@samba.org>1998-05-24 13:36:43 +0000
commitbd825f1ef15c4bf12aeba945f8bfdc7fd0e14d25 (patch)
tree431c6acb4418522e265ae5db9363032a17ba2cf1 /source/rpc_parse/parse_net.c
parent26c0176e104f7345f16f7fdb1115f32e6b0cfcdb (diff)
downloadsamba-bd825f1ef15c4bf12aeba945f8bfdc7fd0e14d25.tar.gz
samba-bd825f1ef15c4bf12aeba945f8bfdc7fd0e14d25.tar.xz
samba-bd825f1ef15c4bf12aeba945f8bfdc7fd0e14d25.zip
- created pdb_sethexpwd(), to be called from all pwd apis that need to
store passwords in ascii format - dealt with lots of signed/unsigned char thingies spotted by Tim Winders.
Diffstat (limited to 'source/rpc_parse/parse_net.c')
-rw-r--r--source/rpc_parse/parse_net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/rpc_parse/parse_net.c b/source/rpc_parse/parse_net.c
index fd9f7255dea..9b126681845 100644
--- a/source/rpc_parse/parse_net.c
+++ b/source/rpc_parse/parse_net.c
@@ -736,7 +736,7 @@ void make_id_info2(NET_ID_INFO_2 *id, char *domain_name,
lm_chal_resp = lm_owf;
}
- memcpy(&(id->lm_chal), lm_challenge, sizeof(id->lm_chal));
+ memcpy(id->lm_chal, lm_challenge, sizeof(id->lm_chal));
make_str_hdr(&(id->hdr_nt_chal_resp), 24, 24, nt_chal_resp != NULL ? 1 : 0);
make_str_hdr(&(id->hdr_lm_chal_resp), 24, 24, lm_chal_resp != NULL ? 1 : 0);