summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/passdb/pdb_wbc_sam.c1
-rw-r--r--source3/passdb/pdb_wbc_sam.h33
-rw-r--r--source3/passdb/proto.h4
3 files changed, 34 insertions, 4 deletions
diff --git a/source3/passdb/pdb_wbc_sam.c b/source3/passdb/pdb_wbc_sam.c
index 91adc8108b..399d7580fa 100644
--- a/source3/passdb/pdb_wbc_sam.c
+++ b/source3/passdb/pdb_wbc_sam.c
@@ -39,6 +39,7 @@
#include "includes.h"
#include "passdb.h"
#include "lib/winbind_util.h"
+#include "passdb/pdb_wbc_sam.h"
/***************************************************************************
Default implementations of some functions.
diff --git a/source3/passdb/pdb_wbc_sam.h b/source3/passdb/pdb_wbc_sam.h
new file mode 100644
index 0000000000..02473c9b6e
--- /dev/null
+++ b/source3/passdb/pdb_wbc_sam.h
@@ -0,0 +1,33 @@
+/*
+ Unix SMB/CIFS implementation.
+
+ Password and authentication handling by wbclient
+
+ Copyright (C) Andrew Bartlett 2002
+ Copyright (C) Jelmer Vernooij 2002
+ Copyright (C) Simo Sorce 2003
+ Copyright (C) Volker Lendecke 2006
+ Copyright (C) Dan Sledz 2009
+
+ 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_WBC_SAM_H_
+#define _PASSDB_PDB_WBC_SAM_H_
+
+/* The following definitions come from passdb/pdb_wbc_sam.c */
+
+NTSTATUS pdb_wbc_sam_init(void);
+
+#endif /* _PASSDB_PDB_WBC_SAM_H_ */
diff --git a/source3/passdb/proto.h b/source3/passdb/proto.h
index fc66c2fb18..486dc3709c 100644
--- a/source3/passdb/proto.h
+++ b/source3/passdb/proto.h
@@ -344,10 +344,6 @@ NTSTATUS pdb_ipa_init(void);
NTSTATUS pdb_smbpasswd_init(void) ;
-/* The following definitions come from passdb/pdb_wbc_sam.c */
-
-NTSTATUS pdb_wbc_sam_init(void);
-
/* The following definitions come from passdb/pdb_util.c */
NTSTATUS create_builtin_users(const struct dom_sid *sid);