trying to get HEAD building again. If you want the code
[kai/samba.git] / source3 / include / mapping.h
index d4f2d28e6a11396bee624bfb2ac0dddf6e76a2ab..fdaa2b04532148af7e5139b0515321a8d268a0e4 100644 (file)
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
-#define PRIV_ALL_INDEX         5
-
-#define SE_PRIV_NONE           0x0000
-#define SE_PRIV_ADD_MACHINES   0x0006
-#define SE_PRIV_SEC_PRIV       0x0008
-#define SE_PRIV_TAKE_OWNER     0x0009
-#define SE_PRIV_ADD_USERS      0xff01
-#define SE_PRIV_PRINT_OPERATOR 0xff03
-#define SE_PRIV_ALL            0xffff
-
 #define ENUM_ONLY_MAPPED True
 #define ENUM_ALL_MAPPED False
 
-#define MAPPING_WITH_PRIV True
-#define MAPPING_WITHOUT_PRIV False
-
-#define PR_NONE                0x0000
-#define PR_LOG_ON_LOCALLY      0x0001
-#define PR_ACCESS_FROM_NETWORK 0x0002
-#define PR_LOG_ON_BATCH_JOB    0x0004
-#define PR_LOG_ON_SERVICE      0x0010
-
-
 typedef struct _GROUP_MAP {
        struct pdb_methods *methods;
        gid_t gid;
@@ -49,13 +29,5 @@ typedef struct _GROUP_MAP {
        enum SID_NAME_USE sid_name_use;
        fstring nt_name;
        fstring comment;
-       uint32 systemaccount;
-       PRIVILEGE_SET priv_set;
 } GROUP_MAP;
 
-typedef struct _PRIVS {
-       uint32 se_priv;
-       const char *priv;
-       const char *description;
-} PRIVS;
-