summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-02-08 18:33:41 +0100
committerGünther Deschner <gd@samba.org>2008-02-08 22:51:58 +0100
commit5120373cc8d22a26502d0d74cea9f9b473080129 (patch)
treeec7ebd9435b800f56b16df7f8018c2fc292b777d
parent9049db8ffb88508e73849d3c40ac93907c58fb80 (diff)
downloadsamba-5120373cc8d22a26502d0d74cea9f9b473080129.tar.gz
samba-5120373cc8d22a26502d0d74cea9f9b473080129.tar.bz2
samba-5120373cc8d22a26502d0d74cea9f9b473080129.zip
Remove unused marshalling for LSA_SETSYSTEMACCOUNT.
Guenther (This used to be commit ddefdc5bd70620dcb94660ba5d55520e136d8d0f)
-rw-r--r--source3/include/rpc_lsa.h11
-rw-r--r--source3/rpc_parse/parse_lsa.c40
2 files changed, 0 insertions, 51 deletions
diff --git a/source3/include/rpc_lsa.h b/source3/include/rpc_lsa.h
index ba1e5a3d57..a4c855a11f 100644
--- a/source3/include/rpc_lsa.h
+++ b/source3/include/rpc_lsa.h
@@ -714,17 +714,6 @@ typedef struct lsa_r_getsystemaccount
} LSA_R_GETSYSTEMACCOUNT;
-typedef struct lsa_q_setsystemaccount
-{
- POLICY_HND pol; /* policy handle */
- uint32 access;
-} LSA_Q_SETSYSTEMACCOUNT;
-
-typedef struct lsa_r_setsystemaccount
-{
- NTSTATUS status;
-} LSA_R_SETSYSTEMACCOUNT;
-
typedef struct {
UNIHDR hdr;
UNISTR2 unistring;
diff --git a/source3/rpc_parse/parse_lsa.c b/source3/rpc_parse/parse_lsa.c
index 4c13c58125..0e4cc9fb2e 100644
--- a/source3/rpc_parse/parse_lsa.c
+++ b/source3/rpc_parse/parse_lsa.c
@@ -2180,46 +2180,6 @@ bool lsa_io_r_getsystemaccount(const char *desc, LSA_R_GETSYSTEMACCOUNT *out, p
}
-/*******************************************************************
- Reads or writes an LSA_Q_SETSYSTEMACCOUNT structure.
-********************************************************************/
-
-bool lsa_io_q_setsystemaccount(const char *desc, LSA_Q_SETSYSTEMACCOUNT *out, prs_struct *ps, int depth)
-{
- prs_debug(ps, depth, desc, "lsa_io_q_setsystemaccount");
- depth++;
-
- if(!prs_align(ps))
- return False;
-
- if(!smb_io_pol_hnd("pol", &out->pol, ps, depth))
- return False;
-
- if(!prs_uint32("access", ps, depth, &out->access))
- return False;
-
- return True;
-}
-
-/*******************************************************************
- Reads or writes an LSA_R_SETSYSTEMACCOUNT structure.
-********************************************************************/
-
-bool lsa_io_r_setsystemaccount(const char *desc, LSA_R_SETSYSTEMACCOUNT *out, prs_struct *ps, int depth)
-{
- prs_debug(ps, depth, desc, "lsa_io_r_setsystemaccount");
- depth++;
-
- if(!prs_align(ps))
- return False;
-
- if(!prs_ntstatus("status", ps, depth, &out->status))
- return False;
-
- return True;
-}
-
-
void init_lsa_string( LSA_STRING *uni, const char *string )
{
init_unistr2(&uni->unistring, string, UNI_FLAGS_NONE);