summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-07-08 09:00:15 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:19:23 -0500
commite81eb91e003f5eab18d6e6ed86d85c540660de85 (patch)
treed73a56e7bb7c10ac9afe75a39c98b3594d674df4 /source4
parent82251eddee06e44a96640ca540ba002c11dcedf5 (diff)
downloadsamba-e81eb91e003f5eab18d6e6ed86d85c540660de85.tar.gz
samba-e81eb91e003f5eab18d6e6ed86d85c540660de85.tar.bz2
samba-e81eb91e003f5eab18d6e6ed86d85c540660de85.zip
r8235: fix the build
metze (This used to be commit 5933b00461e6e7c7f0ab60d61f9be215aa68c317)
Diffstat (limited to 'source4')
-rw-r--r--source4/libnet/libnet_passwd.c2
-rw-r--r--source4/torture/rpc/samr.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/libnet/libnet_passwd.c b/source4/libnet/libnet_passwd.c
index e8412553cf..cdd5043cb8 100644
--- a/source4/libnet/libnet_passwd.c
+++ b/source4/libnet/libnet_passwd.c
@@ -45,7 +45,7 @@ static NTSTATUS libnet_ChangePassword_samr(struct libnet_context *ctx, TALLOC_CT
struct samr_ChangePasswordUser2 pw2;
struct samr_ChangePasswordUser3 pw3;
struct lsa_String server, account;
- struct samr_AsciiName a_server, a_account;
+ struct lsa_AsciiString a_server, a_account;
struct samr_CryptPassword nt_pass, lm_pass;
struct samr_Password nt_verifier, lm_verifier;
uint8_t old_nt_hash[16], new_nt_hash[16];
diff --git a/source4/torture/rpc/samr.c b/source4/torture/rpc/samr.c
index 4ec7e867c0..e728e3e8bf 100644
--- a/source4/torture/rpc/samr.c
+++ b/source4/torture/rpc/samr.c
@@ -967,7 +967,7 @@ static BOOL test_OemChangePasswordUser2(struct dcerpc_pipe *p, TALLOC_CTX *mem_c
BOOL ret = True;
struct samr_Password lm_verifier;
struct samr_CryptPassword lm_pass;
- struct samr_AsciiName server, account;
+ struct lsa_AsciiString server, account;
char *oldpass = *password;
char *newpass;
uint8_t old_lm_hash[16], new_lm_hash[16];