summaryrefslogtreecommitdiff
path: root/source3/include/smb.h
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1997-10-27 15:09:23 +0000
committerLuke Leighton <lkcl@samba.org>1997-10-27 15:09:23 +0000
commit8586dda29b79f041cac2879ecff0afa3283dfca1 (patch)
treefc937d1c8f7a6fa4b1d4fdf127e51560a3ae7ec5 /source3/include/smb.h
parent71d648cdb431ecf984196a7e480208a94fcdf390 (diff)
downloadsamba-8586dda29b79f041cac2879ecff0afa3283dfca1.tar.gz
samba-8586dda29b79f041cac2879ecff0afa3283dfca1.tar.bz2
samba-8586dda29b79f041cac2879ecff0afa3283dfca1.zip
added LSA Open Policy query and response processing to smbclient
(This used to be commit 16cc27852bf54999db4b0a3665b0743d9fe0e74a)
Diffstat (limited to 'source3/include/smb.h')
-rw-r--r--source3/include/smb.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 7019d41de0..e9734f379d 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -265,6 +265,7 @@ typedef fstring string;
#define PIPE_SRVSVC "\\PIPE\\srvsvc"
#define PIPE_NETLOGON "\\PIPE\\NETLOGON"
#define PIPE_NTLSA "\\PIPE\\ntlsa"
+#define PIPE_LSARPC "\\PIPE\\lsarpc"
/* NETLOGON opcodes and data structures */
@@ -579,6 +580,27 @@ typedef struct lsa_policy_info
} LSA_POL_HND;
+/* OBJ_ATTR (object attributes) */
+typedef struct object_attributes_info
+{
+ uint32 len; /* 0x18 - length (in bytes) inc. the length field. */
+ uint32 ptr_root_dir; /* 0 - root directory (pointer) */
+ uint32 ptr_obj_name; /* 0 - object name (pointer) */
+ uint32 attributes; /* 0 - attributes (undocumented) */
+ uint32 ptr_sec_desc; /* 0 - security descriptior (pointer) */
+ uint32 sec_qos; /* 0 - security quality of service */
+
+} LSA_OBJ_ATTR;
+
+/* LSA_Q_OPEN_POL - LSA Query Open Policy */
+typedef struct lsa_q_open_pol_info
+{
+ UNISTR2 uni_server_name; /* server name, starting with two '\'s */
+ LSA_OBJ_ATTR attr ; /* object attributes */
+
+ uint32 des_access; /* desired access attributes */
+
+} LSA_Q_OPEN_POL;
/* LSA_R_OPEN_POL - response to LSA Open Policy */
typedef struct lsa_r_open_pol_info