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

s3-passdb: split out passdb/pdb_ipa.h.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Oct 11 12:15:36 CEST 2011 on sn-devel-104
This commit is contained in:
Günther Deschner 2011-10-10 21:53:15 +02:00
parent 6cc2843dc6
commit e5682847fa
4 changed files with 30 additions and 4 deletions

View File

@ -27,6 +27,7 @@
#include "smbldap.h"
#include "passdb/pdb_ldap.h"
#include "passdb/pdb_ipa.h"
#define IPA_KEYTAB_SET_OID "2.16.840.1.113730.3.8.3.1"
#define IPA_MAGIC_ID_STR "999"

28
source3/passdb/pdb_ipa.h Normal file
View File

@ -0,0 +1,28 @@
/*
Unix SMB/CIFS implementation.
IPA helper functions for SAMBA
Copyright (C) Sumit Bose <sbose@redhat.com> 2010
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 _PASSDB_PDB_IPA_H_
#define _PASSDB_PDB_IPA_H_
/* The following definitions come from passdb/pdb_ipa.c */
NTSTATUS pdb_ipa_init(void);
#endif /* _PASSDB_PDB_IPA_H_ */

View File

@ -62,6 +62,7 @@
#include "smbldap.h"
#include "passdb/pdb_ldap.h"
#include "passdb/pdb_nds.h"
#include "passdb/pdb_ipa.h"
/**********************************************************************
Simple helper function to make stuff better readable

View File

@ -314,10 +314,6 @@ NTSTATUS pdb_set_secret(const char *secret_name,
struct security_descriptor *sd);
NTSTATUS pdb_delete_secret(const char *secret_name);
/* The following definitions come from passdb/pdb_nds.c */
NTSTATUS pdb_ipa_init(void);
/* The following definitions come from passdb/pdb_util.c */
NTSTATUS create_builtin_users(const struct dom_sid *sid);