summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-02-04 16:20:25 +0100
committerGünther Deschner <gd@samba.org>2008-02-04 17:53:51 +0100
commitc132cbbd357dc2e5241b96dd9705e078fcb95d7d (patch)
tree429ee33b0c1a3b9bd79dcf5b7f4d1cfef08cb90f /source3
parent2730ce999707be0e2308c07568fe38e3a07df41f (diff)
downloadsamba-c132cbbd357dc2e5241b96dd9705e078fcb95d7d.tar.gz
samba-c132cbbd357dc2e5241b96dd9705e078fcb95d7d.tar.bz2
samba-c132cbbd357dc2e5241b96dd9705e078fcb95d7d.zip
Remove unused marshalling for SAMR_CONNECT_ANON.
Guenther (This used to be commit e1cae5517f3a9a8fb8a79c440363243592565363)
Diffstat (limited to 'source3')
-rw-r--r--source3/include/rpc_samr.h15
-rw-r--r--source3/rpc_parse/parse_samr.c68
2 files changed, 0 insertions, 83 deletions
diff --git a/source3/include/rpc_samr.h b/source3/include/rpc_samr.h
index 4ebee5ed1d..65e38c3e8b 100644
--- a/source3/include/rpc_samr.h
+++ b/source3/include/rpc_samr.h
@@ -1505,21 +1505,6 @@ typedef struct r_samr_del_alias_mem_info
} SAMR_R_DEL_ALIASMEM;
-/* SAMR_Q_CONNECT_ANON - probably an open */
-typedef struct q_samr_connect_anon_info {
- uint32 ptr; /* ptr? */
- uint16 unknown_0; /* Only pushed if ptr is non-zero. */
- uint32 access_mask;
-} SAMR_Q_CONNECT_ANON;
-
-/* SAMR_R_CONNECT_ANON - probably an open */
-typedef struct r_samr_connect_anon_info
-{
- POLICY_HND connect_pol; /* policy handle */
- NTSTATUS status; /* return status */
-
-} SAMR_R_CONNECT_ANON;
-
/* SAMR_Q_CONNECT - probably an open */
typedef struct q_samr_connect_info
{
diff --git a/source3/rpc_parse/parse_samr.c b/source3/rpc_parse/parse_samr.c
index 56a97b187a..e51bae3b6d 100644
--- a/source3/rpc_parse/parse_samr.c
+++ b/source3/rpc_parse/parse_samr.c
@@ -6328,74 +6328,6 @@ bool samr_io_r_connect5(const char *desc, SAMR_R_CONNECT5 * r_u,
}
/*******************************************************************
-inits a SAMR_Q_CONNECT_ANON structure.
-********************************************************************/
-
-void init_samr_q_connect_anon(SAMR_Q_CONNECT_ANON * q_u)
-{
- DEBUG(5, ("init_samr_q_connect_anon\n"));
-
- q_u->ptr = 1;
- q_u->unknown_0 = 0x5c; /* server name (?!!) */
- q_u->access_mask = MAXIMUM_ALLOWED_ACCESS;
-}
-
-/*******************************************************************
-reads or writes a structure.
-********************************************************************/
-
-bool samr_io_q_connect_anon(const char *desc, SAMR_Q_CONNECT_ANON * q_u,
- prs_struct *ps, int depth)
-{
- if (q_u == NULL)
- return False;
-
- prs_debug(ps, depth, desc, "samr_io_q_connect_anon");
- depth++;
-
- if(!prs_align(ps))
- return False;
-
- if(!prs_uint32("ptr ", ps, depth, &q_u->ptr))
- return False;
- if (q_u->ptr) {
- if(!prs_uint16("unknown_0", ps, depth, &q_u->unknown_0))
- return False;
- }
- if(!prs_align(ps))
- return False;
- if(!prs_uint32("access_mask", ps, depth, &q_u->access_mask))
- return False;
-
- return True;
-}
-
-/*******************************************************************
-reads or writes a structure.
-********************************************************************/
-
-bool samr_io_r_connect_anon(const char *desc, SAMR_R_CONNECT_ANON * r_u,
- prs_struct *ps, int depth)
-{
- if (r_u == NULL)
- return False;
-
- prs_debug(ps, depth, desc, "samr_io_r_connect_anon");
- depth++;
-
- if(!prs_align(ps))
- return False;
-
- if(!smb_io_pol_hnd("connect_pol", &r_u->connect_pol, ps, depth))
- return False;
-
- if(!prs_ntstatus("status", ps, depth, &r_u->status))
- return False;
-
- return True;
-}
-
-/*******************************************************************
make a SAMR_ENC_PASSWD structure.
********************************************************************/