X-Git-Url: http://git.samba.org/samba.git/?p=nivanova%2Fsamba-autobuild%2F.git;a=blobdiff_plain;f=source3%2Futils%2Fnet_util.c;h=2f031c412386f9d2b777f4d652aca481c410d800;hp=11ef42cd61c7ac09f35bce730efd0051694b97c3;hb=d096de56b16c50c7cc22df08895dc29567ee15d7;hpb=c136b84f0d28d1a88c5918b06f81766a271a3780 diff --git a/source3/utils/net_util.c b/source3/utils/net_util.c index 11ef42cd61c..2f031c41238 100644 --- a/source3/utils/net_util.c +++ b/source3/utils/net_util.c @@ -25,6 +25,7 @@ #include "rpc_client/cli_lsarpc.h" #include "../librpc/gen_ndr/cli_dssetup.h" #include "secrets.h" +#include "../libcli/security/security.h" NTSTATUS net_rpc_lookup_name(struct net_context *c, TALLOC_CTX *mem_ctx, struct cli_state *cli, @@ -119,7 +120,7 @@ NTSTATUS connect_to_service(struct net_context *c, server_ss, c->opt_port, service_name, service_type, c->opt_user_name, c->opt_workgroup, - c->opt_password, flags, Undefined, NULL); + c->opt_password, flags, Undefined); if (!NT_STATUS_IS_OK(nt_status)) { d_fprintf(stderr, _("Could not connect to server %s\n"), server_name); @@ -203,7 +204,7 @@ NTSTATUS connect_to_ipc_anonymous(struct net_context *c, server_name, server_ss, c->opt_port, "IPC$", "IPC", "", "", - "", 0, Undefined, NULL); + "", 0, Undefined); if (NT_STATUS_IS_OK(nt_status)) { return nt_status; @@ -263,7 +264,7 @@ NTSTATUS connect_to_ipc_krb5(struct net_context *c, user_and_realm, c->opt_workgroup, c->opt_password, CLI_FULL_CONNECTION_USE_KERBEROS, - Undefined, NULL); + Undefined); SAFE_FREE(user_and_realm);