svn commit: samba r4310 - in branches/SAMBA_4_0/source: librpc/idl torture/rpc

tridge at samba.org tridge at samba.org
Tue Dec 21 10:05:03 GMT 2004


Author: tridge
Date: 2004-12-21 10:05:02 +0000 (Tue, 21 Dec 2004)
New Revision: 4310

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=4310

Log:
fixed the authority_name field in lsa_GetUserName()

Modified:
   branches/SAMBA_4_0/source/librpc/idl/lsa.idl
   branches/SAMBA_4_0/source/torture/rpc/lsa.c


Changeset:
Modified: branches/SAMBA_4_0/source/librpc/idl/lsa.idl
===================================================================
--- branches/SAMBA_4_0/source/librpc/idl/lsa.idl	2004-12-21 09:41:21 UTC (rev 4309)
+++ branches/SAMBA_4_0/source/librpc/idl/lsa.idl	2004-12-21 10:05:02 UTC (rev 4310)
@@ -658,7 +658,7 @@
 	NTSTATUS lsa_GetUserName(
 		[in] unistr *system_name,
 		[in,out] lsa_String *account_name,
-		[in,out] lsa_StringPointer *unknown_name
+		[in,out] lsa_StringPointer *authority_name
 		);
 
 	/**********************/

Modified: branches/SAMBA_4_0/source/torture/rpc/lsa.c
===================================================================
--- branches/SAMBA_4_0/source/torture/rpc/lsa.c	2004-12-21 09:41:21 UTC (rev 4309)
+++ branches/SAMBA_4_0/source/torture/rpc/lsa.c	2004-12-21 10:05:02 UTC (rev 4310)
@@ -1145,11 +1145,14 @@
 	struct lsa_GetUserName r;
 	NTSTATUS status;
 	BOOL ret = True;
+	struct lsa_StringPointer lsap;
+
 	printf("\nTesting GetUserName\n");
 
 	r.in.system_name = "\\";	
 	r.in.account_name = NULL;	
-	r.in.unknown_name = NULL;
+	r.in.authority_name = &lsap;
+	lsap.string = NULL;
 
 	status = dcerpc_lsa_GetUserName(p, mem_ctx, &r);
 



More information about the samba-cvs mailing list