1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-03 04:22:09 +03:00

build: moved libds/common/flag_mapping.c into a common subsystem

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Andrew Tridgell
2011-02-24 11:23:53 +11:00
parent 8dbe665a0c
commit 94c04b10db
12 changed files with 30 additions and 4 deletions

View File

@ -23,6 +23,7 @@
#include "includes.h"
#include "librpc/gen_ndr/samr.h"
#include "../libds/common/flags.h"
#include "flag_mapping.h"
/*
translated the ACB_CTRL Flags to UserFlags (userAccountControl)

View File

@ -0,0 +1,13 @@
#ifndef __LIBDS_COMMON_FLAG_MAPPING_H__
#define __LIBDS_COMMON_FLAG_MAPPING_H__
/* The following definitions come from flag_mapping.c */
uint32_t ds_acb2uf(uint32_t acb);
uint32_t ds_uf2acb(uint32_t uf);
uint32_t ds_uf2atype(uint32_t uf);
uint32_t ds_gtype2atype(uint32_t gtype);
enum lsa_SidType ds_atype_map(uint32_t atype);
uint32_t ds_uf2prim_group_rid(uint32_t uf);
#endif /* __LIBDS_COMMON_FLAG_MAPPING_H__ */

View File

@ -0,0 +1,3 @@
bld.SAMBA_SUBSYSTEM('flag_mapping',
source='flag_mapping.c')