r4310: fixed the authority_name field in lsa_GetUserName()
authorAndrew Tridgell <tridge@samba.org>
Tue, 21 Dec 2004 10:05:02 +0000 (10:05 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:07:33 +0000 (13:07 -0500)
source/librpc/idl/lsa.idl
source/torture/rpc/lsa.c

index ec694df1bf772a437f363c4f1a873e19e27659b4..c36fce9daee898b7d64c037e60e500b82f12bc96 100644 (file)
        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
                );
 
        /**********************/
index 39d433a791e1d5c45b316538361b3aa05dd4d958..77e7827cf9e0c5d03ac3c43570911c46c311b68d 100644 (file)
@@ -1145,11 +1145,14 @@ static BOOL test_GetUserName(struct dcerpc_pipe *p,
        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);