diff options
author | Rafal Szczesniak <mimir@samba.org> | 2005-06-18 22:10:32 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:18:27 -0500 |
commit | 204722b86859da5e2addce51054323b6ad49a658 (patch) | |
tree | 862fa64ea1b6a7916a0cd0a4aed9aa114edb81f1 /source4/libnet/libnet_user.c | |
parent | d52ce8ff0c0546b681f3787728f739c1bb6a71e2 (diff) | |
download | samba-204722b86859da5e2addce51054323b6ad49a658.tar.gz samba-204722b86859da5e2addce51054323b6ad49a658.tar.xz samba-204722b86859da5e2addce51054323b6ad49a658.zip |
r7732: Implementation of very basic lookup function (to be used in more
specific routines like resolving a pdc).
Also, couple of formatting fixes.
rafal
(This used to be commit b9deaa995da3a732514d5ceab0010adb58be5fe0)
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 14d4a4feb4d..dc049b12618 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; |