summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-02-13 13:35:19 +0100
committerStefan Metzmacher <metze@samba.org>2009-02-13 13:36:11 +0100
commitabb96e202b93f044d39b4ed17422248e8c721811 (patch)
tree109e32e79e3737b7fd85753404ce9295018a4442 /source4/torture/rpc
parentc6f82b525913856c9b483c8df43e5eecd896203b (diff)
downloadsamba-abb96e202b93f044d39b4ed17422248e8c721811.tar.gz
samba-abb96e202b93f044d39b4ed17422248e8c721811.tar.bz2
samba-abb96e202b93f044d39b4ed17422248e8c721811.zip
s4:torture/samba3rpc: fix the build after get_myname() changes
metze
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r--source4/torture/rpc/samba3rpc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/torture/rpc/samba3rpc.c b/source4/torture/rpc/samba3rpc.c
index 5f803b07d3..9cb36fc6cc 100644
--- a/source4/torture/rpc/samba3rpc.c
+++ b/source4/torture/rpc/samba3rpc.c
@@ -1249,7 +1249,7 @@ bool torture_netlogon_samba3(struct torture_context *torture)
wks_name = torture_setting_string(torture, "wksname", NULL);
if (wks_name == NULL) {
- wks_name = get_myname();
+ wks_name = get_myname(torture);
}
mem_ctx = talloc_init("torture_netlogon_samba3");
@@ -1426,7 +1426,7 @@ bool torture_samba3_sessionkey(struct torture_context *torture)
struct cli_credentials *anon_creds;
const char *wks_name;
- wks_name = torture_setting_string(torture, "wksname", get_myname());
+ wks_name = torture_setting_string(torture, "wksname", get_myname(torture));
if (!(anon_creds = cli_credentials_init_anon(torture))) {
d_printf("create_anon_creds failed\n");
@@ -3024,7 +3024,7 @@ static NTSTATUS enumvalues(struct dcerpc_pipe *p, struct policy_handle *handle,
while (1) {
struct winreg_EnumValue r;
- struct winreg_StringBuf name;
+ struct winreg_ValNameBuf name;
enum winreg_Type type = 0;
uint8_t buf8[1024];
NTSTATUS status;