diff options
author | Stefan Metzmacher <metze@samba.org> | 2005-03-01 16:08:36 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:10:55 -0500 |
commit | 4a3ca96fb44a62867ef565d1eeb6c0a16418e505 (patch) | |
tree | b5c37a846d03bc3fb6e36f02c4ca34b45dfdee5c /source4/torture/rpc | |
parent | 70f7c56168056c025c6931ce6e934203a5c2c9dc (diff) | |
download | samba-4a3ca96fb44a62867ef565d1eeb6c0a16418e505.tar.gz samba-4a3ca96fb44a62867ef565d1eeb6c0a16418e505.tar.xz samba-4a3ca96fb44a62867ef565d1eeb6c0a16418e505.zip |
r5603: add "authservice()" property to the interface property list
so we can specify allowed target service names in the idl file
the default is "host"
metze
(This used to be commit bf40d5321f3257bf9354a42d31265f1a9b0d53ad)
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r-- | source4/torture/rpc/bind.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/source4/torture/rpc/bind.c b/source4/torture/rpc/bind.c index d6265361696..10ffa502899 100644 --- a/source4/torture/rpc/bind.c +++ b/source4/torture/rpc/bind.c @@ -53,7 +53,7 @@ BOOL torture_multi_bind(void) status = dcerpc_parse_binding(mem_ctx, binding_string, &b); if (!NT_STATUS_IS_OK(status)) { - DEBUG(0,("Failed to parse dcerpc binding '%s'\n", binding_string)); + printf("Failed to parse dcerpc binding '%s'\n", binding_string); talloc_free(mem_ctx); return False; } @@ -82,21 +82,21 @@ BOOL torture_multi_bind(void) status = dcerpc_bind_auth_password(p, pipe_uuid, pipe_version, domain, username, password, - auth_type); - } else { + auth_type, + binding->authservice); + } else { status = dcerpc_bind_auth_none(p, pipe_uuid, pipe_version); } if (NT_STATUS_IS_OK(status)) { - DEBUG(0,("(incorrectly) allowed re-bind to uuid %s - %s\n", - pipe_uuid, nt_errstr(status))); + printf("(incorrectly) allowed re-bind to uuid %s - %s\n", + pipe_uuid, nt_errstr(status)); ret = False; } else { + printf("\n"); ret = True; } - printf("\n"); - talloc_free(mem_ctx); torture_rpc_close(p); |