/*
SSSD
ID-mapping plugin for winbind
Authors:
Sumit Bose <sbose@redhat.com>
Copyright (C) 2016 Red Hat
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef _WINBIND_SSS_IDMAP_H_
#define _WINBIND_SSS_IDMAP_H_
#include <stdint.h>
#include <stdbool.h>
#include <core/ntstatus.h>
#include <ndr.h>
#include <gen_ndr/security.h>
/* The following definitions are taken from the Samba header files
* - idmap.d
* and can be removed if the related Samba header files become public headers
* or if this plugin is build inside the Samba source tree. */
enum id_type {
};
struct unixid {
};
enum id_mapping {
};
struct id_map {
};
struct idmap_domain {
const char *name;
bool read_only;
void *private_data;
};
/* Filled out by IDMAP backends */
struct idmap_methods {
/* Called when backend is first loaded */
and type and gets back a uid or gid. */
/* Allocate a Unix-ID. */
};
struct idmap_methods *methods);
#endif /* _WINBIND_SSS_IDMAP_H_ */