summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1997-10-06 14:52:26 +0000
committerLuke Leighton <lkcl@samba.org>1997-10-06 14:52:26 +0000
commit8429cec72ff15efdd5ab742ba71ede36db43ef14 (patch)
tree9ea2104fdd4b3542577f8cb044bb2f667a1f3d34 /source3/include
parent0e151792c3289ce2253d1940d07f6caa12774118 (diff)
downloadsamba-8429cec72ff15efdd5ab742ba71ede36db43ef14.tar.gz
samba-8429cec72ff15efdd5ab742ba71ede36db43ef14.tar.bz2
samba-8429cec72ff15efdd5ab742ba71ede36db43ef14.zip
lsaparse.c smb.h: added 32 bit "return status" to the response structures.
(This used to be commit 5bc75c6c626251dc8ba04ff4a83e81b92d93d2d6)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h4
-rw-r--r--source3/include/smb.h16
2 files changed, 20 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index a6250ca56c..9faecd3a00 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -325,6 +325,10 @@ char* lsa_io_r_auth_2(BOOL io, LSA_R_AUTH_2 *r_a, char *q, char *base, int align
char* lsa_io_q_srv_pwset(BOOL io, LSA_Q_SRV_PWSET *q_s, char *q, char *base, int align);
char* lsa_io_r_srv_pwset(BOOL io, LSA_R_SRV_PWSET *r_s, char *q, char *base, int align);
char* lsa_io_user_info(BOOL io, LSA_USER_INFO *usr, char *q, char *base, int align);
+char* lsa_io_q_sam_logon(BOOL io, LSA_Q_SAM_LOGON *q_l, char *q, char *base, int align);
+char* lsa_io_r_sam_logon(BOOL io, LSA_R_SAM_LOGON *r_l, char *q, char *base, int align);
+char* lsa_io_q_sam_logoff(BOOL io, LSA_Q_SAM_LOGOFF *q_l, char *q, char *base, int align);
+char* lsa_io_r_sam_logoff(BOOL io, LSA_R_SAM_LOGOFF *r_l, char *q, char *base, int align);
/*The following definitions come from mangle.c */
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 280147b41f..1b8f04f02e 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -502,6 +502,8 @@ typedef struct lsa_r_query_info
DOM_QUERY_5 id5;
} dom;
+ uint32 status; /* return code */
+
} LSA_R_QUERY_INFO;
#define MAX_REF_DOMAINS 10
@@ -552,6 +554,8 @@ typedef struct lsa_r_lookup_sids
uint32 num_entries3;
+ uint32 status; /* return code */
+
} LSA_R_LOOKUP_SIDS;
/* DOM_NAME - XXXX not sure about this structure */
@@ -596,6 +600,8 @@ typedef struct lsa_r_lookup_rids
uint32 num_entries3;
+ uint32 status; /* return code */
+
} LSA_R_LOOKUP_RIDS;
@@ -624,6 +630,8 @@ typedef struct lsa_r_req_chal_info
{
DOM_CHAL srv_chal; /* server challenge */
+ uint32 status; /* return code */
+
} LSA_R_REQ_CHAL;
@@ -645,6 +653,8 @@ typedef struct lsa_r_auth2_info
DOM_CHAL srv_chal; /* server-calculated credentials */
NEG_FLAGS srv_flgs; /* usually 0x0000 01ff */
+ uint32 status; /* return code */
+
} LSA_R_AUTH_2;
@@ -661,6 +671,8 @@ typedef struct lsa_r_srv_pwset_info
{
DOM_CHAL srv_chal; /* server-calculated credentials */
+ uint32 status; /* return code */
+
} LSA_R_SRV_PWSET;
#define LSA_MAX_GROUPS 32
@@ -741,6 +753,8 @@ typedef struct lsa_r_sam_logon_info
uint32 auth_resp; /* 1 - Authoritative response; 0 - Non-Auth? */
+ uint32 status; /* return code */
+
} LSA_R_SAM_LOGON;
@@ -757,6 +771,8 @@ typedef struct lsa_r_sam_logoff_info
uint32 buffer_creds; /* undocumented buffer pointer */
DOM_CRED srv_creds; /* server credentials. server time stamp appears to be ignored. */
+ uint32 status; /* return code */
+
} LSA_R_SAM_LOGOFF;
/*