summaryrefslogtreecommitdiff
path: root/source3/rpc_parse
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-11-20 20:44:21 +0000
committerJeremy Allison <jra@samba.org>1998-11-20 20:44:21 +0000
commitf22b817d3fdac2c6a98b3297f758aea554785513 (patch)
tree2fb60321e6643da478751475bda7f6032d3baf49 /source3/rpc_parse
parent4af961f0101bf2e9a6fd3fe26068cd0296c1b618 (diff)
downloadsamba-f22b817d3fdac2c6a98b3297f758aea554785513.tar.gz
samba-f22b817d3fdac2c6a98b3297f758aea554785513.tar.bz2
samba-f22b817d3fdac2c6a98b3297f758aea554785513.zip
acconfig.h configure configure.in include/config.h.in: Added -lsec and -lsecurity checks
in a more sane way. rpc_client/cli_netlogon.c: Removed correct bits check to see if this works with an NT3.51 PDC. rpc_parse/parse_samr.c: Fixed compile warnings. Jeremy. (This used to be commit 34d8f4b1c4d59ab3c009360fc67eef9361dd859b)
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r--source3/rpc_parse/parse_samr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_parse/parse_samr.c b/source3/rpc_parse/parse_samr.c
index e7f4f0547c..6e0eaaaa6a 100644
--- a/source3/rpc_parse/parse_samr.c
+++ b/source3/rpc_parse/parse_samr.c
@@ -2986,7 +2986,7 @@ void make_enc_passwd(SAMR_ENC_PASSWD *pwd, char pass[512])
if (pwd == NULL) return;
pwd->ptr = 1;
- memcpy(&(pwd->pass), pass, sizeof(pwd->pass));
+ memcpy(pwd->pass, pass, sizeof(pwd->pass));
}
/*******************************************************************
@@ -3013,7 +3013,7 @@ void make_enc_hash(SAMR_ENC_HASH *hsh, uchar hash[16])
if (hsh == NULL) return;
hsh->ptr = 1;
- memcpy(&(hsh->hash), hash, sizeof(hsh->hash));
+ memcpy(hsh->hash, hash, sizeof(hsh->hash));
}
/*******************************************************************