summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-08-18 20:33:49 +0000
committerLuke Leighton <lkcl@samba.org>1999-08-18 20:33:49 +0000
commitd2d6144253da533fb2f47cae9e0ed008a167585b (patch)
tree7ba09d85597f2b46ae560390608f052eff7c311a /source3/include
parent3d4b2c8b5e258ffba5a5c9bf49796e9750013020 (diff)
downloadsamba-d2d6144253da533fb2f47cae9e0ed008a167585b.tar.gz
samba-d2d6144253da533fb2f47cae9e0ed008a167585b.tar.bz2
samba-d2d6144253da533fb2f47cae9e0ed008a167585b.zip
event log update, netsessenum, netconnenum update.
(This used to be commit 819af560745b0bec7bfb9067dd9d9d6cfabb1555)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h9
-rw-r--r--source3/include/rpc_eventlog.h14
-rw-r--r--source3/include/rpc_srvsvc.h5
3 files changed, 17 insertions, 11 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 5b52e5aa61..98cb20b12a 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -1968,7 +1968,7 @@ BOOL do_srv_net_srv_conn_enum(struct cli_state *cli, uint16 fnum,
uint32 preferred_len,
ENUM_HND *hnd);
BOOL do_srv_net_srv_sess_enum(struct cli_state *cli, uint16 fnum,
- char *server_name, char *qual_name,
+ char *server_name, char *qual_name, char *user_name,
uint32 switch_value, SRV_SESS_INFO_CTR *ctr,
uint32 preferred_len,
ENUM_HND *hnd);
@@ -1978,7 +1978,7 @@ BOOL do_srv_net_srv_share_enum(struct cli_state *cli, uint16 fnum,
uint32 preferred_len,
ENUM_HND *hnd);
BOOL do_srv_net_srv_file_enum(struct cli_state *cli, uint16 fnum,
- char *server_name, char *qual_name,
+ char *server_name, char *qual_name, uint32 file_id,
uint32 switch_value, SRV_FILE_INFO_CTR *ctr,
uint32 preferred_len,
ENUM_HND *hnd);
@@ -2036,7 +2036,7 @@ void at_io_r_query_job(char *desc, AT_R_QUERY_JOB *r_q, prs_struct *ps, int dept
/*The following definitions come from rpc_parse/parse_eventlog.c */
-void make_eventlog_q_open(EVENTLOG_Q_OPEN *q_u, char *journal);
+void make_eventlog_q_open(EVENTLOG_Q_OPEN *q_u, char *journal, char *unk);
void eventlog_io_q_open(char *desc, EVENTLOG_Q_OPEN *q_u, prs_struct *ps, int depth);
void eventlog_io_r_open(char *desc, EVENTLOG_R_OPEN *r_u, prs_struct *ps, int depth);
void make_eventlog_q_close(EVENTLOG_Q_CLOSE *q_u, POLICY_HND *pol);
@@ -2909,6 +2909,7 @@ void make_srv_sess_info1(SESS_INFO_1 *ss1,
uint32 user_flags);
void make_srv_q_net_sess_enum(SRV_Q_NET_SESS_ENUM *q_n,
char *srv_name, char *qual_name,
+ char *user_name,
uint32 sess_level, SRV_SESS_INFO_CTR *ctr,
uint32 preferred_len,
ENUM_HND *hnd);
@@ -2932,7 +2933,7 @@ void make_srv_file_info3(FILE_INFO_3 *fl3,
uint32 id, uint32 perms, uint32 num_locks,
char *path_name, char *user_name);
void make_srv_q_net_file_enum(SRV_Q_NET_FILE_ENUM *q_n,
- char *srv_name, char *qual_name,
+ char *srv_name, char *qual_name, uint32 file_id,
uint32 file_level, SRV_FILE_INFO_CTR *ctr,
uint32 preferred_len,
ENUM_HND *hnd);
diff --git a/source3/include/rpc_eventlog.h b/source3/include/rpc_eventlog.h
index cc4d9fc62d..14e5570c9b 100644
--- a/source3/include/rpc_eventlog.h
+++ b/source3/include/rpc_eventlog.h
@@ -72,23 +72,23 @@ typedef struct eventlog_q_open
uint16 unk0;
uint16 unk1;
- uint16 unk2;
- uint16 unk3;
- uint32 ptr_source;
-
- UNISTR2 source;
+ UNIHDR hdr_source;
+ UNISTR2 uni_source;
+
+ UNIHDR hdr_unk;
+ UNISTR2 uni_unk;
- uint32 unk4;
- uint32 unk5;
uint32 unk6;
uint32 unk7;
+
} EVENTLOG_Q_OPEN;
typedef struct eventlog_r_open
{
POLICY_HND pol;
uint32 status;
+
} EVENTLOG_R_OPEN;
typedef struct eventlog_q_close
diff --git a/source3/include/rpc_srvsvc.h b/source3/include/rpc_srvsvc.h
index afcef4e168..4ed7761fb2 100644
--- a/source3/include/rpc_srvsvc.h
+++ b/source3/include/rpc_srvsvc.h
@@ -121,6 +121,9 @@ typedef struct q_net_sess_enum_info
uint32 ptr_qual_name; /* pointer (to qualifier name) */
UNISTR2 uni_qual_name; /* qualifier name "\\qualifier" */
+ uint32 ptr_user_name; /* pointer (to user name) */
+ UNISTR2 uni_user_name; /* user name */
+
uint32 sess_level; /* session level */
SRV_SESS_INFO_CTR *ctr;
@@ -419,6 +422,8 @@ typedef struct q_net_file_enum_info
uint32 ptr_qual_name; /* pointer (to qualifier name) */
UNISTR2 uni_qual_name; /* qualifier name "\\qualifier" */
+ uint32 file_id; /* file id */
+
uint32 file_level; /* file level */
SRV_FILE_INFO_CTR *ctr;