summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-08-27 23:40:44 +0200
committerGünther Deschner <gd@samba.org>2008-08-29 13:58:01 +0200
commit592f3a120153c24cf53bc8535a3b4611dbfe5f1d (patch)
tree56e481b7e4d8f7ef636773ff3b5d2ce7e96052e0
parent0faaff160813f8659ec16c708fb71c9e4a39fdf7 (diff)
downloadsamba-592f3a120153c24cf53bc8535a3b4611dbfe5f1d.tar.gz
samba-592f3a120153c24cf53bc8535a3b4611dbfe5f1d.tar.bz2
samba-592f3a120153c24cf53bc8535a3b4611dbfe5f1d.zip
netapi: add AF_OP constants to IDL.
Guenther (This used to be commit 2bd24258782811a014a191650883d50d4bf7d0b0)
-rw-r--r--source3/librpc/idl/libnetapi.idl8
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/librpc/idl/libnetapi.idl b/source3/librpc/idl/libnetapi.idl
index 6853cee439..b80c6fe2b9 100644
--- a/source3/librpc/idl/libnetapi.idl
+++ b/source3/librpc/idl/libnetapi.idl
@@ -166,6 +166,14 @@ interface libnetapi
string usri1_script_path;
} USER_INFO_1;
+ /* auth_flags in USER_INFO_2 */
+
+ const int AF_OP_PRINT = 0x1;
+ const int AF_OP_COMM = 0x2;
+ const int AF_OP_SERVER = 0x4;
+ const int AF_OP_ACCOUNTS = 0x8;
+ const int AF_SETTABLE_BITS = (AF_OP_PRINT | AF_OP_COMM | AF_OP_SERVER | AF_OP_ACCOUNTS);
+
[public] typedef struct {
string usri2_name;
string usri2_password;