[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-test-2296-gb419e7f

Günther Deschner gd at samba.org
Fri Feb 15 22:27:11 GMT 2008


The branch, v3-2-test has been updated
       via  b419e7fa32ce34ee1ddde562223fe08f5d07a012 (commit)
      from  a9683cbf4352ce331156f40b24a481fc87854b50 (commit)

http://gitweb.samba.org/?samba.git;a=shortlog;h=v3-2-test


- Log -----------------------------------------------------------------
commit b419e7fa32ce34ee1ddde562223fe08f5d07a012
Author: Günther Deschner <gd at samba.org>
Date:   Fri Feb 15 22:38:29 2008 +0100

    Remove unused marshalling for NET_SAM_LOGOFF.
    
    Guenther

-----------------------------------------------------------------------

Summary of changes:
 source/include/rpc_netlogon.h |   13 -----------
 source/rpc_parse/parse_net.c  |   48 -----------------------------------------
 2 files changed, 0 insertions(+), 61 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/include/rpc_netlogon.h b/source/include/rpc_netlogon.h
index 4105b34..3d7e11d 100644
--- a/source/include/rpc_netlogon.h
+++ b/source/include/rpc_netlogon.h
@@ -454,19 +454,6 @@ typedef struct net_r_sam_logon_info_ex {
 	NTSTATUS status; /* return code */
 } NET_R_SAM_LOGON_EX;
 
-
-/* NET_Q_SAM_LOGOFF */
-typedef struct net_q_sam_logoff_info {
-	DOM_SAM_INFO sam_id;
-} NET_Q_SAM_LOGOFF;
-
-/* NET_R_SAM_LOGOFF */
-typedef struct net_r_sam_logoff_info {
-	uint32 buffer_creds; /* undocumented buffer pointer */
-	DOM_CRED srv_creds; /* server credentials.  server time stamp appears to be ignored. */
-	NTSTATUS status; /* return code */
-} NET_R_SAM_LOGOFF;
-
 /* LOCKOUT_STRING */
 typedef struct account_lockout_string {
 	uint32 array_size;
diff --git a/source/rpc_parse/parse_net.c b/source/rpc_parse/parse_net.c
index 8677924..b3a0997 100644
--- a/source/rpc_parse/parse_net.c
+++ b/source/rpc_parse/parse_net.c
@@ -1358,51 +1358,3 @@ bool net_io_r_sam_logon_ex(const char *desc, NET_R_SAM_LOGON_EX *r_l, prs_struct
 
 	return True;
 }
-
-
-/*******************************************************************
- Reads or writes a structure.
-********************************************************************/
-
-bool net_io_q_sam_logoff(const char *desc,  NET_Q_SAM_LOGOFF *q_l, prs_struct *ps, int depth)
-{
-	if (q_l == NULL)
-		return False;
-
-	prs_debug(ps, depth, desc, "net_io_q_sam_logoff");
-	depth++;
-
-	if(!prs_align(ps))
-		return False;
-	
-	if(!smb_io_sam_info("", &q_l->sam_id, ps, depth))           /* domain SID */
-		return False;
-
-	return True;
-}
-
-/*******************************************************************
- Reads or writes a structure.
-********************************************************************/
-
-bool net_io_r_sam_logoff(const char *desc, NET_R_SAM_LOGOFF *r_l, prs_struct *ps, int depth)
-{
-	if (r_l == NULL)
-		return False;
-
-	prs_debug(ps, depth, desc, "net_io_r_sam_logoff");
-	depth++;
-
-	if(!prs_align(ps))
-		return False;
-	
-	if(!prs_uint32("buffer_creds", ps, depth, &r_l->buffer_creds)) /* undocumented buffer pointer */
-		return False;
-	if(!smb_io_cred("", &r_l->srv_creds, ps, depth)) /* server credentials.  server time stamp appears to be ignored. */
-		return False;
-
-	if(!prs_ntstatus("status      ", ps, depth, &r_l->status))
-		return False;
-
-	return True;
-}


-- 
Samba Shared Repository


More information about the samba-cvs mailing list