summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-06-29 23:12:55 +0000
committerJeremy Allison <jra@samba.org>2001-06-29 23:12:55 +0000
commit8d0b9cf534bc2a219ff4fc47ab139efa994cd7d6 (patch)
tree23326cee371a5012a46ce51e6700228a9c5248a5 /source3/include
parente2ced932dbd34384f1e3752cc073b2fb66467b46 (diff)
downloadsamba-8d0b9cf534bc2a219ff4fc47ab139efa994cd7d6.tar.gz
samba-8d0b9cf534bc2a219ff4fc47ab139efa994cd7d6.tar.bz2
samba-8d0b9cf534bc2a219ff4fc47ab139efa994cd7d6.zip
Added LsaGetConnectedCredentials patch from Manoj Naik <manoj@almaden.ibm.com>.
Jeremy. (This used to be commit 7079300da6dbd950e55dc5871851250d5a3717ff)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/rpc_lsa.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/source3/include/rpc_lsa.h b/source3/include/rpc_lsa.h
index ad7fa31365..1a6e178068 100644
--- a/source3/include/rpc_lsa.h
+++ b/source3/include/rpc_lsa.h
@@ -48,6 +48,7 @@ enum SID_NAME_USE
#define LSA_OPENPOLICY 0x06
#define LSA_OPENPOLICY2 0x2c
#define LSA_OPENSECRET 0x1C
+#define LSA_UNK_GET_CONNUSER 0x2d /* LsaGetConnectedCredentials ? */
/* XXXX these are here to get a compile! */
#define LSA_LOOKUPRIDS 0xFD
@@ -380,4 +381,31 @@ typedef struct lsa_r_open_secret
uint32 status;
} LSA_R_OPEN_SECRET;
+/* LSA_Q_UNK_GET_CONNUSER - gets username\domain of connected user
+ called when "Take Ownership" is clicked -SK */
+typedef struct lsa_q_unk_get_connuser
+{
+ uint32 ptr_srvname;
+ UNISTR2 uni2_srvname;
+ uint32 unk1; /* 3 unknown uint32's are seen right after uni2_srvname */
+ uint32 unk2; /* unk2 appears to be a ptr, unk1 = unk3 = 0 usually */
+ uint32 unk3;
+} LSA_Q_UNK_GET_CONNUSER;
+
+/* LSA_R_UNK_GET_CONNUSER */
+typedef struct lsa_r_unk_get_connuser
+{
+ uint32 ptr_user_name;
+ UNIHDR hdr_user_name;
+ UNISTR2 uni2_user_name;
+
+ uint32 unk1;
+
+ uint32 ptr_dom_name;
+ UNIHDR hdr_dom_name;
+ UNISTR2 uni2_dom_name;
+
+ uint32 status;
+} LSA_R_UNK_GET_CONNUSER;
+
#endif /* _RPC_LSA_H */