svn commit: samba r2346 - in branches/SAMBA_4_0/source/libnet: .

metze at samba.org metze at samba.org
Wed Sep 15 13:02:16 GMT 2004


Author: metze
Date: 2004-09-15 13:02:16 +0000 (Wed, 15 Sep 2004)
New Revision: 2346

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/libnet&rev=2346&nolog=1

Log:
fix some minor stuff

metze

Modified:
   branches/SAMBA_4_0/source/libnet/libnet_passwd.c
   branches/SAMBA_4_0/source/libnet/libnet_rpc.c


Changeset:
Modified: branches/SAMBA_4_0/source/libnet/libnet_passwd.c
===================================================================
--- branches/SAMBA_4_0/source/libnet/libnet_passwd.c	2004-09-15 12:25:51 UTC (rev 2345)
+++ branches/SAMBA_4_0/source/libnet/libnet_passwd.c	2004-09-15 13:02:16 UTC (rev 2346)
@@ -336,7 +336,7 @@
 
 	/* 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;
 

Modified: branches/SAMBA_4_0/source/libnet/libnet_rpc.c
===================================================================
--- branches/SAMBA_4_0/source/libnet/libnet_rpc.c	2004-09-15 12:25:51 UTC (rev 2345)
+++ branches/SAMBA_4_0/source/libnet/libnet_rpc.c	2004-09-15 13:02:16 UTC (rev 2346)
@@ -116,7 +116,7 @@
 /* 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:



More information about the samba-cvs mailing list