summaryrefslogtreecommitdiff
path: root/source3/utils/net.h
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-06-24 10:34:16 +0200
committerGünther Deschner <gd@samba.org>2008-06-24 23:45:09 +0200
commita8332b91ef461309121a909a59b1c1b46d8065c9 (patch)
tree961ec92d4fd4c6b199ceec265a530458d1e12826 /source3/utils/net.h
parent9a5fc5b5d3d9ec334a35cadb49bf69c36076dcea (diff)
downloadsamba-a8332b91ef461309121a909a59b1c1b46d8065c9.tar.gz
samba-a8332b91ef461309121a909a59b1c1b46d8065c9.tar.bz2
samba-a8332b91ef461309121a909a59b1c1b46d8065c9.zip
net: add basic support for sealed RPC connections (using NET_FLAGS_SEAL).
Guenther (This used to be commit 7541a0103ad22000e94ffc6d057ffd5d33d1a930)
Diffstat (limited to 'source3/utils/net.h')
-rw-r--r--source3/utils/net.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/utils/net.h b/source3/utils/net.h
index aa4f3dbb6d..941172a8c1 100644
--- a/source3/utils/net.h
+++ b/source3/utils/net.h
@@ -141,6 +141,8 @@ enum netdom_domain_t { ND_TYPE_NT4, ND_TYPE_AD };
#define NET_FLAGS_PDC 0x00000008 /* PDC only */
#define NET_FLAGS_ANONYMOUS 0x00000010 /* use an anonymous connection */
#define NET_FLAGS_NO_PIPE 0x00000020 /* don't open an RPC pipe */
+#define NET_FLAGS_SIGN 0x00000040 /* sign RPC connection */
+#define NET_FLAGS_SEAL 0x00000080 /* seal RPC connection */
/* net share operation modes */
#define NET_MODE_SHARE_MIGRATE 1