summaryrefslogtreecommitdiff
path: root/source3/rpcclient
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-02-12 22:05:39 +0100
committerGünther Deschner <gd@samba.org>2008-02-12 22:05:39 +0100
commite2b3aad8174daede0248ce96df624e575867cfd8 (patch)
tree071c9c3f8ce3caddb6160d229f788a8f13bee4e5 /source3/rpcclient
parentbefc71c942c044c9edc31d166f7b2ad6630fdb7c (diff)
downloadsamba-e2b3aad8174daede0248ce96df624e575867cfd8.tar.gz
samba-e2b3aad8174daede0248ce96df624e575867cfd8.tar.bz2
samba-e2b3aad8174daede0248ce96df624e575867cfd8.zip
Collect all init_lsa_string varients in one place.
Guenther (This used to be commit f4581e9f4482566fba9436d5ae058b8d840fa394)
Diffstat (limited to 'source3/rpcclient')
-rw-r--r--source3/rpcclient/cmd_lsarpc.c5
-rw-r--r--source3/rpcclient/cmd_samr.c5
2 files changed, 0 insertions, 10 deletions
diff --git a/source3/rpcclient/cmd_lsarpc.c b/source3/rpcclient/cmd_lsarpc.c
index 2fe06831f3..4751adfa52 100644
--- a/source3/rpcclient/cmd_lsarpc.c
+++ b/source3/rpcclient/cmd_lsarpc.c
@@ -22,11 +22,6 @@
#include "includes.h"
#include "rpcclient.h"
-static void init_lsa_String(struct lsa_String *name, const char *s)
-{
- name->string = s;
-}
-
/* useful function to allow entering a name instead of a SID and
* looking it up automatically */
static NTSTATUS name_to_sid(struct rpc_pipe_client *cli,
diff --git a/source3/rpcclient/cmd_samr.c b/source3/rpcclient/cmd_samr.c
index 4fa5387d61..f8b8ba893c 100644
--- a/source3/rpcclient/cmd_samr.c
+++ b/source3/rpcclient/cmd_samr.c
@@ -26,11 +26,6 @@
extern DOM_SID domain_sid;
-static void init_lsa_String(struct lsa_String *name, const char *s)
-{
- name->string = s;
-}
-
/****************************************************************************
display samr_user_info_7 structure
****************************************************************************/