From abb96e202b93f044d39b4ed17422248e8c721811 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 13 Feb 2009 13:35:19 +0100 Subject: s4:torture/samba3rpc: fix the build after get_myname() changes metze --- source4/torture/rpc/samba3rpc.c | 6 +++--- 1 file 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; -- cgit