summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/libnet/libnet.h3
-rw-r--r--source4/libnet/libnet_rpc.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/source4/libnet/libnet.h b/source4/libnet/libnet.h
index 7f42461496..a9a6ca1653 100644
--- a/source4/libnet/libnet.h
+++ b/source4/libnet/libnet.h
@@ -25,9 +25,10 @@ struct libnet_context {
* a client env context
* a user env context
*/
- struct cli_credentials *credentials;
+ struct cli_credentials *cred;
};
+
#include "libnet/libnet_passwd.h"
#include "libnet/libnet_time.h"
#include "libnet/libnet_rpc.h"
diff --git a/source4/libnet/libnet_rpc.c b/source4/libnet/libnet_rpc.c
index 82dc06a0f6..30f7784361 100644
--- a/source4/libnet/libnet_rpc.c
+++ b/source4/libnet/libnet_rpc.c
@@ -100,7 +100,8 @@ static NTSTATUS libnet_rpc_connect_standard(struct libnet_context *ctx, TALLOC_C
binding,
r->standard.in.dcerpc_iface_uuid,
r->standard.in.dcerpc_iface_version,
- ctx->credentials);
+ ctx->cred);
+
if (!NT_STATUS_IS_OK(status)) {
r->standard.out.error_string = talloc_asprintf(mem_ctx,
"dcerpc_pipe_connect to pipe %s failed with %s\n",