summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-10-04 17:35:31 +0200
committerGünther Deschner <gd@samba.org>2011-10-10 20:14:46 +0200
commit795aefec0c77da0ab49d89ef9c31862e822b68e5 (patch)
treebd1b7f766538ff0eedcf4aeb4dc0ad473cb4f32c
parent8c2f72d6b86a7607e2563bb8149bb338575be2ee (diff)
downloadsamba-795aefec0c77da0ab49d89ef9c31862e822b68e5.tar.gz
samba-795aefec0c77da0ab49d89ef9c31862e822b68e5.tar.bz2
samba-795aefec0c77da0ab49d89ef9c31862e822b68e5.zip
s3-passdb: split out passdb/pdb_smbpasswd.h.
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Oct 10 20:14:46 CEST 2011 on sn-devel-104
-rw-r--r--source3/passdb/pdb_smbpasswd.c1
-rw-r--r--source3/passdb/pdb_smbpasswd.h30
-rw-r--r--source3/passdb/proto.h4
3 files changed, 31 insertions, 4 deletions
diff --git a/source3/passdb/pdb_smbpasswd.c b/source3/passdb/pdb_smbpasswd.c
index 2cfacd3a13..6dbb72a577 100644
--- a/source3/passdb/pdb_smbpasswd.c
+++ b/source3/passdb/pdb_smbpasswd.c
@@ -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
index 0000000000..ccabd38eda
--- /dev/null
+++ b/source3/passdb/pdb_smbpasswd.h
@@ -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_ */
diff --git a/source3/passdb/proto.h b/source3/passdb/proto.h
index 486dc3709c..6a95454a0b 100644
--- a/source3/passdb/proto.h
+++ b/source3/passdb/proto.h
@@ -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);