1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-27 22:50:26 +03:00

s3-groupdb: split out groupdb/mapping_tdb.h.

Guenther
This commit is contained in:
Günther Deschner 2011-10-12 11:17:57 +02:00
parent 031519cec9
commit a0cbe469bc
4 changed files with 32 additions and 4 deletions

View File

@ -27,6 +27,7 @@
#include "../libcli/security/security.h"
#include "lib/winbind_util.h"
#include "tdb_compat.h"
#include "groupdb/mapping_tdb.h"
static const struct mapping_backend *backend;

View File

@ -28,6 +28,7 @@
#include "dbwrap/dbwrap_open.h"
#include "util_tdb.h"
#include "../libcli/security/security.h"
#include "groupdb/mapping_tdb.h"
static struct db_context *db; /* used for driver files */

View File

@ -0,0 +1,30 @@
/*
* Unix SMB/CIFS implementation.
* RPC Pipe client / server routines
* Copyright (C) Andrew Tridgell 1992-2006,
* Copyright (C) Jean François Micouleau 1998-2001.
* Copyright (C) Volker Lendecke 2006.
* Copyright (C) Gerald Carter 2006.
*
* This program is free software; you can redistribute it and/or modify
* 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 _GROUPDB_MAPPING_TDB_H_
#define _GROUPDB_MAPPING_TDB_H_
/* The following definitions come from groupdb/mapping_tdb.c */
const struct mapping_backend *groupdb_tdb_init(void);
#endif /* _GROUPDB_MAPPING_TDB_H_ */

View File

@ -93,8 +93,4 @@ NTSTATUS pdb_nop_enum_group_mapping(struct pdb_methods *methods,
bool unix_only);
NTSTATUS pdb_create_builtin_alias(uint32 rid);
/* The following definitions come from groupdb/mapping_tdb.c */
const struct mapping_backend *groupdb_tdb_init(void);
#endif /* _GROUPDB_PROTO_H_ */