diff options
author | Luke Leighton <lkcl@samba.org> | 1997-10-15 16:51:03 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1997-10-15 16:51:03 +0000 |
commit | df4afea583a8b53aca46e15dcc75bba1af731f9f (patch) | |
tree | b87924a58fae9b8263d861caaf2032a750bdf77b /source3/include | |
parent | 1860d62d0d6be42c7770e010ea2066db312c874b (diff) | |
download | samba-df4afea583a8b53aca46e15dcc75bba1af731f9f.tar.gz samba-df4afea583a8b53aca46e15dcc75bba1af731f9f.tar.bz2 samba-df4afea583a8b53aca46e15dcc75bba1af731f9f.zip |
added srvsvc basic pipe, straight from paul's code. does NETSHAREENUM
and NETSERVERGETINFO.
(This used to be commit 96b17b829fc787c15cd366eca604c09d68b5b900)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 4 | ||||
-rw-r--r-- | source3/include/smb.h | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 1ed8539ab5..6baa945e8b 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -654,6 +654,10 @@ BOOL api_LsarpcTNP(int cnum,int uid, char *param,char *data, int mdrcnt,int mprcnt, char **rdata,char **rparam, int *rdata_len,int *rparam_len); +BOOL api_srvsvcTNP(int cnum,int uid, char *param,char *data, + int mdrcnt,int mprcnt, + char **rdata,char **rparam, + int *rdata_len,int *rparam_len); /*The following definitions come from pipeutil.c */ diff --git a/source3/include/smb.h b/source3/include/smb.h index 8e34b06359..c733f29521 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -293,6 +293,9 @@ typedef fstring string; #define LSA_LOOKUPNAMES 0xFD #define LSA_SAMLOGOFF 0xFC +/* srvsvc pipe */ +#define NETSERVERGETINFO 0x15 +#define NETSHAREENUM 0x0f /* 32 bit time (sec) since 01jan1970 - cifs6.txt, section 3.5, page 30 */ typedef struct time_info |