Remove unused marshalling for NET_AUTH. This must have been forgotten.
authorGünther Deschner <gd@samba.org>
Sun, 17 Feb 2008 01:39:36 +0000 (02:39 +0100)
committerGünther Deschner <gd@samba.org>
Sun, 17 Feb 2008 01:39:36 +0000 (02:39 +0100)
Guenther
(This used to be commit 7bbd64c16f8dda85275ddca0fd00849f890c6e4f)

source3/include/rpc_netlogon.h
source3/rpc_parse/parse_net.c

index ed69cf77227b13ff71a9f2aad6e7ae648cddaba2..c6d5651a9cad4b8dd968ebff3d380d6782f96277 100644 (file)
@@ -263,18 +263,6 @@ typedef struct neg_flags_info {
        uint32 neg_flags; /* negotiated flags */
 } NEG_FLAGS;
 
-/* NET_Q_AUTH */
-typedef struct net_q_auth_info {
-       DOM_LOG_INFO clnt_id; /* client identification info */
-       DOM_CHAL clnt_chal;     /* client-calculated credentials */
-} NET_Q_AUTH;
-
-/* NET_R_AUTH */
-typedef struct net_r_auth_info {
-       DOM_CHAL srv_chal;     /* server-calculated credentials */
-       NTSTATUS status; /* return code */
-} NET_R_AUTH;
-
 /* NET_Q_AUTH_3 */
 typedef struct net_q_auth3_info {
        DOM_LOG_INFO clnt_id;   /* client identification info */
index 70dc505c7823d1dbd87aab8f6f8407cfd1a22e1e..38ea7846b78c75387cba904f63ddf5b057c1d955 100644 (file)
@@ -46,53 +46,6 @@ static bool net_io_neg_flags(const char *desc, NEG_FLAGS *neg, prs_struct *ps, i
        return True;
 }
 
-/*******************************************************************
- Reads or writes a structure.
-********************************************************************/
-
-bool net_io_q_auth(const char *desc, NET_Q_AUTH *q_a, prs_struct *ps, int depth)
-{
-       if (q_a == NULL)
-               return False;
-
-       prs_debug(ps, depth, desc, "net_io_q_auth");
-       depth++;
-
-       if(!prs_align(ps))
-               return False;
-    
-       if(!smb_io_log_info ("", &q_a->clnt_id, ps, depth)) /* client identification info */
-               return False;
-       if(!smb_io_chal("", &q_a->clnt_chal, ps, depth))
-               return False;
-
-       return True;
-}
-
-/*******************************************************************
- Reads or writes a structure.
-********************************************************************/
-
-bool net_io_r_auth(const char *desc, NET_R_AUTH *r_a, prs_struct *ps, int depth)
-{
-       if (r_a == NULL)
-               return False;
-
-       prs_debug(ps, depth, desc, "net_io_r_auth");
-       depth++;
-
-       if(!prs_align(ps))
-               return False;
-    
-       if(!smb_io_chal("", &r_a->srv_chal, ps, depth)) /* server challenge */
-               return False;
-
-       if(!prs_ntstatus("status", ps, depth, &r_a->status))
-               return False;
-
-       return True;
-}
-
 /*******************************************************************
  Inits a NET_Q_AUTH_3 struct.
 ********************************************************************/