diff options
author | Luke Leighton <lkcl@samba.org> | 1997-10-30 01:05:13 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1997-10-30 01:05:13 +0000 |
commit | a275e5d4e16142a9924f8b97980f364a80df3b64 (patch) | |
tree | 037c7e130d66a1c9b34593b6aa2ad51294e02dad /source3/include | |
parent | cbafcc4d03d960749fdeed111d0f78dadc399095 (diff) | |
download | samba-a275e5d4e16142a9924f8b97980f364a80df3b64.tar.gz samba-a275e5d4e16142a9924f8b97980f364a80df3b64.tar.bz2 samba-a275e5d4e16142a9924f8b97980f364a80df3b64.zip |
removed mechanism that created actual files NETLOGON, lsarpc and the like,
which are pipes on the IPC$ connection.
created mechanism to record pipe names in a separate pipes_struct. it
is planned to expand this, to return sensible things like interface
structures, and policy handles (RPC_IFACE and LSA_POL_HND). and the like.
(This used to be commit 33cce5fac0e2f818a19a6c4e6a797ef44f3b5c75)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 2 | ||||
-rw-r--r-- | source3/include/smb.h | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index ee7bd41dbd..00c95587ba 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -746,7 +746,9 @@ BOOL api_ntLsarpcTNP(int cnum,int uid, char *param,char *data, /*The following definitions come from pipes.c */ +char *get_pipe_name(int pnum); int reply_open_pipe_and_X(char *inbuf,char *outbuf,int length,int bufsize); +int reply_pipe_close(char *inbuf,char *outbuf); BOOL api_LsarpcSNPHS(int cnum,int uid, char *param,char *data, int mdrcnt,int mprcnt, char **rdata,char **rparam, diff --git a/source3/include/smb.h b/source3/include/smb.h index 9b54385eee..8f0bd31bf4 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -297,6 +297,7 @@ enum RPC_PKT_TYPE #define LSA_REQCHAL 0x04 #define LSA_SRVPWSET 0x06 #define LSA_SAMLOGON 0x02 +#define LSA_SAMLOGOFF 0x03 #define LSA_AUTH2 0x0f #define LSA_CLOSE 0x00 @@ -304,7 +305,6 @@ enum RPC_PKT_TYPE #define LSA_OPENSECRET 0xFF #define LSA_LOOKUPSIDS 0xFE #define LSA_LOOKUPNAMES 0xFD -#define LSA_SAMLOGOFF 0xFC /* srvsvc pipe */ #define NETSERVERGETINFO 0x15 @@ -678,6 +678,7 @@ typedef struct object_attributes_info /* LSA_Q_OPEN_POL - LSA Query Open Policy */ typedef struct lsa_q_open_pol_info { + uint32 ptr; /* undocumented buffer pointer */ UNISTR2 uni_server_name; /* server name, starting with two '\'s */ LSA_OBJ_ATTR attr ; /* object attributes */ |