summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/passdb/pdb_ipa.c1
-rw-r--r--source3/passdb/pdb_ipa.h28
-rw-r--r--source3/passdb/pdb_ldap.c1
-rw-r--r--source3/passdb/proto.h4
4 files changed, 30 insertions, 4 deletions
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 <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_ */
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);