diff options
Diffstat (limited to 'source4/libnet/libnet_user.c')
-rw-r--r-- | source4/libnet/libnet_user.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/libnet/libnet_user.c b/source4/libnet/libnet_user.c index 14d4a4feb4..dc049b1261 100644 --- a/source4/libnet/libnet_user.c +++ b/source4/libnet/libnet_user.c @@ -22,7 +22,6 @@ #include "includes.h" #include "libnet/libnet.h" #include "libnet/composite.h" -#include "librpc/gen_ndr/ndr_samr.h" NTSTATUS libnet_CreateUser(struct libnet_context *ctx, TALLOC_CTX *mem_ctx, struct libnet_CreateUser *r) @@ -41,7 +40,7 @@ NTSTATUS libnet_CreateUser(struct libnet_context *ctx, TALLOC_CTX *mem_ctx, stru if (!NT_STATUS_IS_OK(status)) return status; /* connect rpc service of remote server */ - cn.standard.level = LIBNET_RPC_CONNECT_STANDARD; + cn.standard.level = LIBNET_RPC_CONNECT_PDC; cn.standard.in.server_name = fp.generic.out.pdc_name; cn.standard.in.dcerpc_iface_name = DCERPC_SAMR_NAME; cn.standard.in.dcerpc_iface_uuid = DCERPC_SAMR_UUID; |