netapi: add AF_OP constants to IDL.
authorGünther Deschner <gd@samba.org>
Wed, 27 Aug 2008 21:40:44 +0000 (23:40 +0200)
committerGünther Deschner <gd@samba.org>
Fri, 29 Aug 2008 11:58:01 +0000 (13:58 +0200)
Guenther
(This used to be commit 2bd24258782811a014a191650883d50d4bf7d0b0)

source3/librpc/idl/libnetapi.idl

index 6853cee439147d22edbabaab15c22cbb853dcbeb..b80c6fe2b95c8c90558c68177a78c6321787b5e4 100644 (file)
@@ -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;