summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h8
-rw-r--r--source3/include/rpc_samr.h16
2 files changed, 16 insertions, 8 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index ce064a307c..19aa51a1b7 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -1864,6 +1864,14 @@ void cmd_sam_query_user(struct client_info *info);
void cmd_sam_query_groups(struct client_info *info);
void cmd_sam_enum_aliases(struct client_info *info);
+/*The following definitions come from rpcclient/cmd_srvsvc.c */
+
+void cmd_srv_query_info(struct client_info *info);
+void cmd_srv_enum_conn(struct client_info *info);
+void cmd_srv_enum_shares(struct client_info *info);
+void cmd_srv_enum_sess(struct client_info *info);
+void cmd_srv_enum_files(struct client_info *info);
+
/*The following definitions come from rpcclient/cmd_wkssvc.c */
void cmd_wks_query_info(struct client_info *info);
diff --git a/source3/include/rpc_samr.h b/source3/include/rpc_samr.h
index 2e569396b9..a314015591 100644
--- a/source3/include/rpc_samr.h
+++ b/source3/include/rpc_samr.h
@@ -334,13 +334,13 @@ typedef struct sam_unkown_info_2_info
pointer is referring to
*/
- uint32 unknown_4; /* 0x0000 0099, 0x0000 0045 */
+ uint32 unknown_4; /* 0x0000 0099 */
uint32 unknown_5; /* 0x0000 0000 */
uint32 unknown_6 ; /* 0x0000 0001 */
uint32 unknown_7 ; /* 0x0000 0003 */
uint32 unknown_8 ; /* 0x0000 0001 */
- uint32 unknown_9 ; /* 0x0000 0008, 0x0000 0006 */
+ uint32 unknown_9 ; /* 0x0000 0008 */
uint32 unknown_10; /* 0x0000 0003 */
uint8 padding[16]; /* 16 bytes zeros */
@@ -385,7 +385,7 @@ SAMR_Q_OPEN_DOMAIN - unknown_0 values seen associated with SIDs:
/* SAMR_Q_OPEN_DOMAIN */
typedef struct q_samr_open_domain_info
{
- POLICY_HND connect_pol; /* policy handle */
+ POLICY_HND connect_pol; /* policy handle */
uint32 rid; /* 0x2000 0000; 0x0000 0211; 0x0000 0280; 0x0000 0200 - a RID? */
DOM_SID2 dom_sid; /* domain SID */
@@ -395,7 +395,7 @@ typedef struct q_samr_open_domain_info
/* SAMR_R_OPEN_DOMAIN - probably an open */
typedef struct r_samr_open_domain_info
{
- POLICY_HND domain_pol; /* policy handle associated with the SID */
+ POLICY_HND domain_pol; /* policy handle associated with the SID */
uint32 status; /* return status */
} SAMR_R_OPEN_DOMAIN;
@@ -668,10 +668,10 @@ typedef struct r_samr_query_aliasinfo_info
/* uint8[2] padding */
union
- {
+ {
ALIAS_INFO3 info3;
- } alias;
+ } alias;
uint32 status;
@@ -681,7 +681,7 @@ typedef struct r_samr_query_aliasinfo_info
/* SAMR_Q_QUERY_USERGROUPS - */
typedef struct q_samr_query_usergroup_info
{
- POLICY_HND pol; /* policy handle associated with unknown id */
+ POLICY_HND pol; /* policy handle associated with unknown id */
} SAMR_Q_QUERY_USERGROUPS;
@@ -703,7 +703,7 @@ typedef struct r_samr_query_usergroup_info
/* SAMR_Q_QUERY_USERINFO - probably a get sam info */
typedef struct q_samr_query_user_info
{
- POLICY_HND pol; /* policy handle associated with unknown id */
+ POLICY_HND pol; /* policy handle associated with unknown id */
uint16 switch_value; /* 0x0015, 0x0011 or 0x0010 - 16 bit unknown */
} SAMR_Q_QUERY_USERINFO;