s3-passdb: split out passdb/pdb_ipa.h.
authorGünther Deschner <gd@samba.org>
Mon, 10 Oct 2011 19:53:15 +0000 (21:53 +0200)
committerGünther Deschner <gd@samba.org>
Tue, 11 Oct 2011 10:15:36 +0000 (12:15 +0200)
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Oct 11 12:15:36 CEST 2011 on sn-devel-104

source3/passdb/pdb_ipa.c
source3/passdb/pdb_ipa.h [new file with mode: 0644]
source3/passdb/pdb_ldap.c
source3/passdb/proto.h

index 619cac18f57720fbfb4e8025deefeef0e012854a..f177a226e2e5a1baf3af6f8b9de5dd46b9133124 100644 (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"
diff --git a/source3/passdb/pdb_ipa.h b/source3/passdb/pdb_ipa.h
new file mode 100644 (file)
index 0000000..46e6ffe
--- /dev/null
@@ -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_ */
index 9d6eb451cd2b6172fd9d07c049abbb497521871a..3d3d16c7899cd7c6227c6820086e541593670cae 100644 (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
index 714c1d8b23c3241d8c2db262f4d51ed3575f61f4..36acc313f635ff93ddddce783b090cbfe0148a06 100644 (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);