summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-09-15 13:02:16 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:58:45 -0500
commitfe70e8aa7a71a3d099591f677e43e39fcfe251f0 (patch)
tree5024dc7e101b2dc2ce2145ec6c8e06985263e193 /source4
parent3791d88b87c490c5093c964ec71989ee62b1faa4 (diff)
downloadsamba-fe70e8aa7a71a3d099591f677e43e39fcfe251f0.tar.gz
samba-fe70e8aa7a71a3d099591f677e43e39fcfe251f0.tar.bz2
samba-fe70e8aa7a71a3d099591f677e43e39fcfe251f0.zip
r2346: fix some minor stuff
metze (This used to be commit 56e21d0ce29b13808bbbd2a6c0464948886d317d)
Diffstat (limited to 'source4')
-rw-r--r--source4/libnet/libnet_passwd.c2
-rw-r--r--source4/libnet/libnet_rpc.c2
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: