diff options
author | Günther Deschner <gd@samba.org> | 2008-10-21 01:19:49 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-10-21 11:39:45 +0200 |
commit | b11f3a60fd8a06870ec12f8d153fd9a60ae820c5 (patch) | |
tree | 4f8937ed2c655ad5ae63adfea34ddb266c154578 /source3/rpcclient | |
parent | f0b1a1bc9b74372e2af2a48ce9b06802b2198eb4 (diff) | |
download | samba-b11f3a60fd8a06870ec12f8d153fd9a60ae820c5.tar.gz samba-b11f3a60fd8a06870ec12f8d153fd9a60ae820c5.tar.bz2 samba-b11f3a60fd8a06870ec12f8d153fd9a60ae820c5.zip |
s3-lsa-server: fix _lsa_GetUserName.
Guenther
Diffstat (limited to 'source3/rpcclient')
-rw-r--r-- | source3/rpcclient/cmd_lsarpc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/rpcclient/cmd_lsarpc.c b/source3/rpcclient/cmd_lsarpc.c index 3f79310c36..aa8662ce9d 100644 --- a/source3/rpcclient/cmd_lsarpc.c +++ b/source3/rpcclient/cmd_lsarpc.c @@ -1182,7 +1182,8 @@ static NTSTATUS cmd_lsa_get_username(struct rpc_pipe_client *cli, /* Print results */ printf("Account Name: %s, Authority Name: %s\n", - account_name->string, authority_name->string); + account_name->string, authority_name ? authority_name->string : + ""); rpccli_lsa_Close(cli, mem_ctx, &pol); done: |