summaryrefslogtreecommitdiffstats
path: root/source/include
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1997-10-30 01:05:13 +0000
committerLuke Leighton <lkcl@samba.org>1997-10-30 01:05:13 +0000
commit33cce5fac0e2f818a19a6c4e6a797ef44f3b5c75 (patch)
treeda6d2567ffea6f21a92570de0a9b23d290d228df /source/include
parent9dd2fcae78042a2777f068d4a574605397402aad (diff)
downloadsamba-33cce5fac0e2f818a19a6c4e6a797ef44f3b5c75.tar.gz
samba-33cce5fac0e2f818a19a6c4e6a797ef44f3b5c75.tar.xz
samba-33cce5fac0e2f818a19a6c4e6a797ef44f3b5c75.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.
Diffstat (limited to 'source/include')
-rw-r--r--source/include/proto.h2
-rw-r--r--source/include/smb.h3
2 files changed, 4 insertions, 1 deletions
diff --git a/source/include/proto.h b/source/include/proto.h
index ee7bd41dbdc..00c95587ba5 100644
--- a/source/include/proto.h
+++ b/source/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/source/include/smb.h b/source/include/smb.h
index 9b54385eeee..8f0bd31bf4d 100644
--- a/source/include/smb.h
+++ b/source/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 */