From e5682847fa04f96f5a8546c47727d06218fc3a6c Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Mon, 10 Oct 2011 21:53:15 +0200 Subject: s3-passdb: split out passdb/pdb_ipa.h. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Guenther Autobuild-User: Günther Deschner Autobuild-Date: Tue Oct 11 12:15:36 CEST 2011 on sn-devel-104 --- source3/passdb/pdb_ipa.c | 1 + source3/passdb/pdb_ipa.h | 28 ++++++++++++++++++++++++++++ source3/passdb/pdb_ldap.c | 1 + source3/passdb/proto.h | 4 ---- 4 files changed, 30 insertions(+), 4 deletions(-) create mode 100644 source3/passdb/pdb_ipa.h diff --git a/source3/passdb/pdb_ipa.c b/source3/passdb/pdb_ipa.c index 619cac18f5..f177a226e2 100644 --- a/source3/passdb/pdb_ipa.c +++ b/source3/passdb/pdb_ipa.c @@ -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" diff --git a/source3/passdb/pdb_ipa.h b/source3/passdb/pdb_ipa.h new file mode 100644 index 0000000000..46e6ffe1a8 --- /dev/null +++ b/source3/passdb/pdb_ipa.h @@ -0,0 +1,28 @@ +/* + Unix SMB/CIFS implementation. + IPA helper functions for SAMBA + Copyright (C) Sumit Bose 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 . + +*/ + +#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_ */ diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c index 9d6eb451cd..3d3d16c789 100644 --- a/source3/passdb/pdb_ldap.c +++ b/source3/passdb/pdb_ldap.c @@ -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 diff --git a/source3/passdb/proto.h b/source3/passdb/proto.h index 714c1d8b23..36acc313f6 100644 --- a/source3/passdb/proto.h +++ b/source3/passdb/proto.h @@ -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); -- cgit