From 72209db1a1f76a1ded0e77a9ab4619836f78b529 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 26 May 2006 04:35:37 +0000 Subject: r15898: use d_printf() in some more places to fix more torture seg faults on solaris (This used to be commit dd1ef82560c62c8c10e9d43b8d1d68512fe0aae5) --- source4/torture/rpc/netlogon.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'source4/torture/rpc') diff --git a/source4/torture/rpc/netlogon.c b/source4/torture/rpc/netlogon.c index b66ea719cc..71bd8b097f 100644 --- a/source4/torture/rpc/netlogon.c +++ b/source4/torture/rpc/netlogon.c @@ -305,7 +305,7 @@ static BOOL test_SetPassword(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx) creds_des_encrypt(creds, &r.in.new_password); printf("Testing ServerPasswordSet on machine account\n"); - printf("Changing machine account password to '%s'\n", password); + d_printf("Changing machine account password to '%s'\n", password); creds_client_authenticator(creds, &r.in.credential); @@ -324,7 +324,7 @@ static BOOL test_SetPassword(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx) allows the password to be set to the same value twice in a row (match win2k3) */ printf("Testing a second ServerPasswordSet on machine account\n"); - printf("Changing machine account password to '%s' (same as previous run)\n", password); + d_printf("Changing machine account password to '%s' (same as previous run)\n", password); creds_client_authenticator(creds, &r.in.credential); @@ -377,7 +377,7 @@ static BOOL test_SetPassword2(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx) r.in.new_password.length = IVAL(password_buf.data, 512); printf("Testing ServerPasswordSet2 on machine account\n"); - printf("Changing machine account password to '%s'\n", password); + d_printf("Changing machine account password to '%s'\n", password); creds_client_authenticator(creds, &r.in.credential); @@ -409,7 +409,7 @@ static BOOL test_SetPassword2(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx) r.in.new_password.length = IVAL(password_buf.data, 512); printf("Testing ServerPasswordSet2 on machine account\n"); - printf("Changing machine account password to '%s'\n", password); + d_printf("Changing machine account password to '%s'\n", password); creds_client_authenticator(creds, &r.in.credential); @@ -440,7 +440,7 @@ static BOOL test_SetPassword2(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx) r.in.new_password.length = IVAL(password_buf.data, 512); printf("Testing second ServerPasswordSet2 on machine account\n"); - printf("Changing machine account password to '%s'\n", password); + d_printf("Changing machine account password to '%s'\n", password); creds_client_authenticator(creds, &r.in.credential); @@ -459,7 +459,7 @@ static BOOL test_SetPassword2(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx) allows the password to be set to the same value twice in a row (match win2k3) */ printf("Testing a second ServerPasswordSet2 on machine account\n"); - printf("Changing machine account password to '%s' (same as previous run)\n", password); + d_printf("Changing machine account password to '%s' (same as previous run)\n", password); creds_client_authenticator(creds, &r.in.credential); @@ -548,7 +548,7 @@ BOOL test_netlogon_ops(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, r.in.logon_level = 2; r.in.logon.network = &ninfo; - printf("Testing LogonSamLogon with name %s\n", ninfo.identity_info.account_name.string); + d_printf("Testing LogonSamLogon with name %s\n", ninfo.identity_info.account_name.string); for (i=2;i<3;i++) { ZERO_STRUCT(auth2); -- cgit