summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-10-05 15:41:41 +0000
committerLuke Leighton <lkcl@samba.org>1998-10-05 15:41:41 +0000
commitb4fb4caf9032875fe50725c9b71b6411538ba85f (patch)
treeee2d34d8319466bbab0b18ada450c4840c32d057 /source3/include
parent36ee52334ba79f059043989a1f1c73b71a48a8c1 (diff)
downloadsamba-b4fb4caf9032875fe50725c9b71b6411538ba85f.tar.gz
samba-b4fb4caf9032875fe50725c9b71b6411538ba85f.tar.bz2
samba-b4fb4caf9032875fe50725c9b71b6411538ba85f.zip
rpcclient srvsvc commands.
(This used to be commit 1a9a22c657c46648adaa98ac1fe394ce4bce11f0)
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;