summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorSteve French <sfrench@samba.org>2001-11-03 21:13:42 +0000
committerSteve French <sfrench@samba.org>2001-11-03 21:13:42 +0000
commit69a59c5bbceb4ea5a766cf8e9a42392369142e91 (patch)
treed8963353b001ea4f3ea80ef71d08e69c168d039c /source3/include
parent22926c814d238c462f9957f2753c7ce7dc7a6797 (diff)
downloadsamba-69a59c5bbceb4ea5a766cf8e9a42392369142e91.tar.gz
samba-69a59c5bbceb4ea5a766cf8e9a42392369142e91.tar.bz2
samba-69a59c5bbceb4ea5a766cf8e9a42392369142e91.zip
Added many more defines in service category, user category and others
(This used to be commit 3bfb828cf70489165b46281bf03ea7074d3ba07d)
Diffstat (limited to 'source3/include')
-rwxr-xr-xsource3/include/rap.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/source3/include/rap.h b/source3/include/rap.h
index 41204173ed..24b70251b7 100755
--- a/source3/include/rap.h
+++ b/source3/include/rap.h
@@ -366,9 +366,16 @@
#define RAP_NetUserAdd2_REQ "WsTWW"
#define RAP_NetUserEnum_REQ "WrLeh"
#define RAP_NetUserEnum2_REQ "WrLDieh"
+#define RAP_NetUserGetGroups_REQ "zWrLeh"
+#define RAP_NetUserSetGroups_REQ "zWsTW"
+#define RAP_NetUserPasswordSet_REQ "zb16b16w"
+#define RAP_NetUserPasswordSet2_REQ "zb16b16WW"
+#define RAP_SAMOEMChgPasswordUser2_REQ "B516B16"
+#define RAP_NetUserValidate2_REQ "Wb62WWrLhWW"
#define RAP_NetServerEnum2_REQ "WrLehDz"
#define RAP_WserverGetInfo_REQ "WrLh"
+#define RAP_NetWkstatGetInfo "WrLh"
#define RAP_WShareAdd_REQ "WsT"
#define RAP_WShareEnum_REQ "WrLeh"
@@ -378,6 +385,11 @@
#define RAP_NetPrintQEnum_REQ "WrLeh"
#define RAP_NetPrintQGetInfo_REQ "zWrLh"
+#define RAP_NetServerAdminCommand_REQ "zhrLeh"
+#define RAP_NetServiceEnum_REQ "WrLeh"
+#define RAP_NetServiceControl_REQ "zWWrL"
+#define RAP_NetServiceInstall_REQ "zF88sg88T"
+#define RAP_NetServiceGetInfo_REQ "zWrLh"
#define RAP_NetSessionEnum_REQ "WrLeh"
#define RAP_NetSessionGetInfo_REQ "zWrLh"
#define RAP_NetSessionDel_REQ "zW"
@@ -405,6 +417,8 @@
#define RAP_SERVER_INFO_L1 "B16BBDz"
#define RAP_SERVER_INFO_L2 "B16BBDzDDDWWzWWWWWWWB21BzWWWWWWWWWWWWWWWWWWWWWWz"
#define RAP_SERVER_INFO_L3 "B16BBDzDDDWWzWWWWWWWB21BzWWWWWWWWWWWWWWWWWWWWWWzDWz"
+#define RAP_SERVICE_INFO_L0 "B16"
+#define RAP_SERVICE_INFO_L2 "B16WDWB64"
#define RAP_SHARE_INFO_L0 "B13"
#define RAP_SHARE_INFO_L1 "B13BWz"
#define RAP_SHARE_INFO_L2 "B13BWzWWWzB9B"
@@ -429,6 +443,8 @@
#define RAP_UPASSWD_LEN 16 /* user password */
#define RAP_SPASSWD_LEN 9 /* share password */
#define RAP_MACHNAME_LEN 16
+#define RAP_SRVCNAME_LEN 16
+#define RAP_SRVCCMNT_LEN 64
#define RAP_DATATYPE_LEN 10
@@ -452,6 +468,16 @@ typedef struct rap_user_info_1
char * logon_script;
} RAP_USER_INFO_1;
+typedef struct rap_service_info_2
+{
+ char service_name[RAP_SRVCNAME_LEN];
+ uint16 status;
+ uint32 installcode;
+ uint16 process_num;
+ char * comment;
+} RAP_SERVICE_INFO_2;
+
+
typedef struct rap_share_info_0
{
char share_name[RAP_SHARENAME_LEN];