s3-passdb: split out passdb/pdb_smbpasswd.h.
authorGünther Deschner <gd@samba.org>
Tue, 4 Oct 2011 15:35:31 +0000 (17:35 +0200)
committerGünther Deschner <gd@samba.org>
Mon, 10 Oct 2011 18:14:46 +0000 (20:14 +0200)
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Oct 10 20:14:46 CEST 2011 on sn-devel-104

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

index 2cfacd3a13628d7f81268fef80f9ca3b26481243..6dbb72a577db62e8f9c32754db9815d8c524eab3 100644 (file)
@@ -26,6 +26,7 @@
 #include "system/filesys.h"
 #include "../librpc/gen_ndr/samr.h"
 #include "../libcli/security/security.h"
+#include "passdb/pdb_smbpasswd.h"
 
 #undef DBGC_CLASS
 #define DBGC_CLASS DBGC_PASSDB
diff --git a/source3/passdb/pdb_smbpasswd.h b/source3/passdb/pdb_smbpasswd.h
new file mode 100644 (file)
index 0000000..ccabd38
--- /dev/null
@@ -0,0 +1,30 @@
+/*
+ * Unix SMB/CIFS implementation.
+ * SMB parameters and setup
+ * Copyright (C) Andrew Tridgell       1992-1998
+ * Modified by Jeremy Allison          1995.
+ * Modified by Gerald (Jerry) Carter   2000-2001,2003
+ * Modified by Andrew Bartlett         2002.
+ *
+ * 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_SMBPASSWD_H_
+#define _PASSDB_PDB_SMBPASSWD_H_
+
+/* The following definitions come from passdb/pdb_smbpasswd.c  */
+
+NTSTATUS pdb_smbpasswd_init(void) ;
+
+#endif /* _PASSDB_PDB_SMBPASSWD_H_ */
index 486dc3709c8725f2e35c1bbfd79e5d7b94167f78..6a95454a0b6e1fe21e14d28eb995657830476332 100644 (file)
@@ -340,10 +340,6 @@ NTSTATUS pdb_nds_init(void);
 
 NTSTATUS pdb_ipa_init(void);
 
-/* The following definitions come from passdb/pdb_smbpasswd.c  */
-
-NTSTATUS pdb_smbpasswd_init(void) ;
-
 /* The following definitions come from passdb/pdb_util.c  */
 
 NTSTATUS create_builtin_users(const struct dom_sid *sid);