diff options
author | Luke Leighton <lkcl@samba.org> | 1998-05-24 13:36:43 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1998-05-24 13:36:43 +0000 |
commit | 684edc9fcd73d9c2059d018c4b5eb599888cfd8b (patch) | |
tree | 56e99e6905c79a889d82630fc1e6d22f625f79ad /source3/rpc_parse/parse_net.c | |
parent | 0f9d24f083acb5bb17d220ac6bcac833625e1f74 (diff) | |
download | samba-684edc9fcd73d9c2059d018c4b5eb599888cfd8b.tar.gz samba-684edc9fcd73d9c2059d018c4b5eb599888cfd8b.tar.bz2 samba-684edc9fcd73d9c2059d018c4b5eb599888cfd8b.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.
(This used to be commit bd825f1ef15c4bf12aeba945f8bfdc7fd0e14d25)
Diffstat (limited to 'source3/rpc_parse/parse_net.c')
-rw-r--r-- | source3/rpc_parse/parse_net.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_parse/parse_net.c b/source3/rpc_parse/parse_net.c index fd9f7255de..9b12668184 100644 --- a/source3/rpc_parse/parse_net.c +++ b/source3/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); |