From fe70e8aa7a71a3d099591f677e43e39fcfe251f0 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 15 Sep 2004 13:02:16 +0000 Subject: r2346: fix some minor stuff metze (This used to be commit 56e21d0ce29b13808bbbd2a6c0464948886d317d) --- source4/libnet/libnet_passwd.c | 2 +- source4/libnet/libnet_rpc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source4/libnet/libnet_passwd.c b/source4/libnet/libnet_passwd.c index 0b84b269a8..94f48a049d 100644 --- a/source4/libnet/libnet_passwd.c +++ b/source4/libnet/libnet_passwd.c @@ -336,7 +336,7 @@ static NTSTATUS libnet_SetPassword_samr(struct libnet_context *ctx, TALLOC_CTX * /* prepare samr_Connect */ ZERO_STRUCT(p_handle); - sc.in.system_name = 0; + sc.in.system_name = NULL; sc.in.access_mask = SEC_RIGHTS_MAXIMUM_ALLOWED; sc.out.handle = &p_handle; diff --git a/source4/libnet/libnet_rpc.c b/source4/libnet/libnet_rpc.c index 01de99c167..14f0ba0ad0 100644 --- a/source4/libnet/libnet_rpc.c +++ b/source4/libnet/libnet_rpc.c @@ -116,7 +116,7 @@ static NTSTATUS libnet_rpc_connect_pdc(struct libnet_context *ctx, TALLOC_CTX *m /* connect to a dcerpc interface */ NTSTATUS libnet_rpc_connect(struct libnet_context *ctx, TALLOC_CTX *mem_ctx, union libnet_rpc_connect *r) { - switch (r->pdc.level) { + switch (r->standard.level) { case LIBNET_RPC_CONNECT_STANDARD: return libnet_rpc_connect_standard(ctx, mem_ctx, r); case LIBNET_RPC_CONNECT_PDC: -- cgit